diff options
author | 2020-04-21 21:58:44 +0200 | |
---|---|---|
committer | 2020-04-21 21:58:44 +0200 | |
commit | 03a788a4e234ddc6a38c5545417928b8cbe62a05 (patch) | |
tree | b17e8b72b8792a4c3cb5ba4a1b56cf7b5fbc35a4 /src/lib.rs | |
parent | b4635839218108d4c68158ad38ca26e063137f79 (diff) | |
parent | e41b27331c70865b89b5584b13c0b469de30daff (diff) | |
download | cortex-m-03a788a4e234ddc6a38c5545417928b8cbe62a05.tar.gz cortex-m-03a788a4e234ddc6a38c5545417928b8cbe62a05.tar.zst cortex-m-03a788a4e234ddc6a38c5545417928b8cbe62a05.zip |
Merge branch 'master' into mutex_add
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -34,6 +34,8 @@ #![no_std] #![allow(clippy::identity_op)] #![allow(clippy::missing_safety_doc)] +// Prevent clippy from complaining about empty match expression that are used for cfg gating. +#![allow(clippy::match_single_binding)] // This makes clippy warn about public functions which are not #[inline]. // @@ -57,8 +59,10 @@ extern crate volatile_register; mod macros; pub mod asm; +#[cfg(armv8m)] +pub mod cmse; pub mod interrupt; -#[cfg(not(armv6m))] +#[cfg(all(not(armv6m), not(armv8m_base)))] pub mod itm; pub mod peripheral; pub mod register; |