File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 9
9
//!
10
10
//! # Optional features
11
11
//!
12
+ //! ## `critical-section-single-core`
13
+ //!
14
+ //! This feature enables a [`critical-section`](https://github.com/rust-embedded/critical-section)
15
+ //! implementation suitable for single-core targets, based on disabling interrupts globally.
16
+ //!
17
+ //! It is **unsound** to enable it on multi-core targets or for code running in unprivileged mode,
18
+ //! and may cause functional problems in systems where some interrupts must be not be disabled
19
+ //! or critical sections are managed as part of an RTOS. In these cases, you should use
20
+ //! a target-specific implementation instead, typically provided by a HAL or RTOS crate.
21
+ //!
12
22
//! ## `cm7-r0p1`
13
23
//!
14
24
//! This feature enables workarounds for errata found on Cortex-M7 chips with revision r0p1. Some
You can’t perform that action at this time.
0 commit comments