diff options
author | 2020-06-10 13:33:47 +0000 | |
---|---|---|
committer | 2020-06-10 13:33:47 +0000 | |
commit | 1c9d36ebe682d79f35ef2b1f34e611cfbf8ee81e (patch) | |
tree | 5de12aeaba5f014509851bf810e9a92c78638c65 /src/peripheral/scb.rs | |
parent | b725dfb43e3597a260cff5761da049782cab4d27 (diff) | |
parent | 1c198a1f53b0fdef53c723843331a059da6cb6a3 (diff) | |
parent | a06010ed54190ccb575e5917b1c3290df2ed29ff (diff) | |
download | cortex-m-1c9d36ebe682d79f35ef2b1f34e611cfbf8ee81e.tar.gz cortex-m-1c9d36ebe682d79f35ef2b1f34e611cfbf8ee81e.tar.zst cortex-m-1c9d36ebe682d79f35ef2b1f34e611cfbf8ee81e.zip |
Merge #225 #226
225: Initial ARMv8-M MPU support. r=adamgreig a=cbiffle
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.
226: Expose the orphaned ICTR/ACTLR registers. r=adamgreig a=cbiffle
In ARMv7-M these were floating alone in system control space, without a
unifying name. As a result, they weren't exposed in earlier versions of
this crate.
In ARMv8-M they have been given a name, the Implementation Control
Block, and more registers have been added. I've used that name for all
architecture revisions.
Co-authored-by: Cliff L. Biffle <cliff@oxide.computer>