diff options
author | 2020-01-14 11:38:34 +0000 | |
---|---|---|
committer | 2020-03-02 09:06:34 +0000 | |
commit | 2bbfd8c976fed21e24865618b0a9975d9ab542c4 (patch) | |
tree | 453957fade88692549fbbc40ffb1639ae2036398 /src/lib.rs | |
parent | 72befe4c163e59393789d3043afe1e67a7fc0044 (diff) | |
download | cortex-m-2bbfd8c976fed21e24865618b0a9975d9ab542c4.tar.gz cortex-m-2bbfd8c976fed21e24865618b0a9975d9ab542c4.tar.zst cortex-m-2bbfd8c976fed21e24865618b0a9975d9ab542c4.zip |
Initial Rust CMSE support
Armv8-M and Armv8.1-M architecture profiles have an optional Security
Extension which provides a set of Security features.
This patch adds initial support of the Cortex-M Security Extensions but
providing support for the TT intrinsics and helper functions on top of
it in the newly added cmse module of this crate.
The code is a Rust idiomatic implementation of the C
requirements described in this document:
https://developer.arm.com/docs/ecm0359818/latest
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -57,6 +57,8 @@ extern crate volatile_register; mod macros; pub mod asm; +#[cfg(armv8m)] +pub mod cmse; pub mod interrupt; #[cfg(not(armv6m))] pub mod itm; |