mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 14:25:18 +01:00
compiler plugin -> proc macro
This commit is contained in:
parent
8485a24d36
commit
59afbf02aa
5 changed files with 12 additions and 46 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue