diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -34,9 +34,16 @@ #![deny(rust_2018_idioms)] #![deny(warnings)] #![no_std] +// async currently requires nightly +#![cfg_attr(feature = "async", feature(const_fn))] +#![cfg_attr(feature = "async", feature(type_alias_impl_trait))] use core::ops::Sub; +// currently requires nightly +#[cfg(feature = "async")] +pub mod async_util; + use cortex_m::{ interrupt::Nr, peripheral::{CBP, CPUID, DCB, DWT, FPB, FPU, ITM, MPU, NVIC, SCB, TPIU}, |