properly handle #[cfg] (conditional compilation) on resources

This commit is contained in:
Jorge Aparicio 2018-12-16 18:37:36 +01:00
parent 9757c33b00
commit 4345c10596
8 changed files with 362 additions and 77 deletions

View file

@ -10,7 +10,6 @@ pub use cortex_m::{
asm::wfi, interrupt, peripheral::scb::SystemHandler, peripheral::syst::SystClkSource,
peripheral::Peripherals,
};
pub use cortex_m_rt::{entry, exception};
pub use heapless::consts;
use heapless::spsc::{Queue, SingleCore};