compiler plugin -> proc macro

This commit is contained in:
Jorge Aparicio 2017-07-11 23:44:54 -05:00
parent 8485a24d36
commit 59afbf02aa
5 changed files with 12 additions and 46 deletions

View file

@ -1,13 +1,16 @@
#![feature(asm)]
#![feature(const_fn)]
#![feature(optin_builtin_traits)]
#![feature(proc_macro)]
#![no_std]
extern crate cortex_m;
extern crate cortex_m_rtfm_macros;
extern crate static_ref;
use core::cell::UnsafeCell;
pub use cortex_m_rtfm_macros::rtfm;
pub use cortex_m::asm::{bkpt, wfi};
pub use cortex_m::interrupt::CriticalSection;
pub use cortex_m::interrupt::free as atomic;