File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ links = "cortex-m" # prevent multiple versions of this crate to be linked toget
1313rust-version = " 1.85"
1414
1515[dependencies ]
16- bare-metal = { version = " 0.2.4" , features = [" const-fn" ] }
1716critical-section = " 1.0.0"
1817volatile-register = " 0.2.2"
1918bitfield = " 0.13.2"
Original file line number Diff line number Diff line change 11//! Interrupts
22
3- pub use bare_metal:: { CriticalSection , Mutex , Nr } ;
43#[ cfg( cortex_m) ]
54use core:: arch:: asm;
65#[ cfg( cortex_m) ]
76use core:: sync:: atomic:: { Ordering , compiler_fence} ;
87use cortex_m_macros:: asm_cfg;
8+ use critical_section:: CriticalSection ;
99
1010/// Trait for enums of external interrupt numbers.
1111///
Original file line number Diff line number Diff line change 9797#[ cfg( all( feature = "cm7-r0p1" , not( armv7em) ) ) ]
9898compile_error ! ( "The feature \" cm7-r0p1\" is only compatible with the armv7em target" ) ;
9999
100- extern crate bare_metal;
101100extern crate volatile_register;
102101
103102#[ macro_use]
You can’t perform that action at this time.
0 commit comments