You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
56: Use critical-section for heap locking, rename to `embedded-alloc`. r=adamgreig a=Dirbaio
This uses `critical_section::with` instead of `cortex_m::interrupt::free` to acquire a critical section. This allows customizing the critical section implementation, to make it sound for multicore chips for example.
This is a breaking change, so it'll require a 0.5 release.
Interestingly this makes the crate not cortex-m specific anymore. Perhaps it could be renamed to something more general?
TODO
- [x] Wait for cortex-m 0.7.6 release rust-embedded/cortex-m#449
Co-authored-by: Dario Nieuwenhuis <[email protected]>
0 commit comments