Skip to content

Initial ARMv8-M MPU support. #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2020
Merged

Conversation

cbiffle
Copy link
Contributor

@cbiffle cbiffle commented Jun 9, 2020

The v8-M MPU is entirely different from, and incompatible with, the
earlier PMSA MPU. And so this commit does two things:

  1. Makes the old RegisterBlock depend on armv6m (for M0+) and armv7m.

  2. Defines a new RegisterBlock containing the right layout for v8m.

The hack for documenting fields by opting in x86-64 means the v8m
version won't appear in the docs.

The v8-M MPU is entirely different from, and incompatible with, the
earlier PMSA MPU. And so this commit does two things:

1. Makes the old RegisterBlock depend on armv6m (for M0+) and armv7m.

2. Defines a new RegisterBlock containing the right layout for v8m.

The hack for documenting fields by opting in x86-64 means the v8m
version won't appear in the docs.
@cbiffle cbiffle requested a review from a team as a code owner June 9, 2020 21:56
@rust-highfive
Copy link

r? @jonas-schievink

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m labels Jun 9, 2020
Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors merge

@bors
Copy link
Contributor

bors bot commented Jun 10, 2020

Build succeeded:

@bors bors bot merged commit 1c9d36e into rust-embedded:master Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants