From 2bbfd8c976fed21e24865618b0a9975d9ab542c4 Mon Sep 17 00:00:00 2001 From: Hugues de Valon Date: Tue, 14 Jan 2020 11:38:34 +0000 Subject: 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 --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index f8b5606..beaecd2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; -- cgit v1.2.3