diff options
author | 2018-01-15 18:22:33 +0000 | |
---|---|---|
committer | 2018-01-15 18:22:33 +0000 | |
commit | d52b84c6e7f942814b270db5606c7e5a94fbc99a (patch) | |
tree | bf76dbf189aec84e4c532ed6ed751693b272124d /src/lib.rs | |
parent | bc31511494082273b90def2c3348f591ecb5b103 (diff) | |
parent | a8962d44d46ef3c16b3e5fb645fead4731cd2b24 (diff) | |
download | cortex-m-d52b84c6e7f942814b270db5606c7e5a94fbc99a.tar.gz cortex-m-d52b84c6e7f942814b270db5606c7e5a94fbc99a.tar.zst cortex-m-d52b84c6e7f942814b270db5606c7e5a94fbc99a.zip |
Auto merge of #76 - japaric:thumbv6m, r=japaric
hide ARMv7-M only peripherals on thumbv6m-none-eabi
None
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,6 +24,8 @@ mod macros; pub mod asm; pub mod exception; pub mod interrupt; +// NOTE(target_arch) is for documentation purposes +#[cfg(any(armv7m, target_arch = "x86_64"))] pub mod itm; pub mod peripheral; pub mod register; |