diff options
author | 2020-04-15 10:08:25 +0000 | |
---|---|---|
committer | 2020-04-15 10:08:25 +0000 | |
commit | e41b27331c70865b89b5584b13c0b469de30daff (patch) | |
tree | e796f24370f3ab75fcd542500e095a9501dff85d /src/lib.rs | |
parent | f2a56ec9022ccf88186e125234e4e21fc585b8a8 (diff) | |
parent | 9c1a46749c4a2f7b88581a69cd405b712d227343 (diff) | |
download | cortex-m-e41b27331c70865b89b5584b13c0b469de30daff.tar.gz cortex-m-e41b27331c70865b89b5584b13c0b469de30daff.tar.zst cortex-m-e41b27331c70865b89b5584b13c0b469de30daff.zip |
Merge #181
181: Add cfg to Peripheral fields r=thejpster a=hug-dev
The cfg conditional compilation attribute was only set on impl blocks of peripherals. This commit also sets it on the fields themselves to be more consistent.
Also adds Armv8-M Baseline to the blacklist of the ITM peripheral (cf rule `FMQF` of the Armv8-M ARM).
Co-authored-by: Hugues de Valon <hugues.devalon@arm.com>
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ 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; |