Cargo Features
cortex-ar has no features set by default.
[dependencies]
cortex-ar = { version = "0.1.0", features = ["critical-section-single-core", "defmt"] }
- critical-section-single-core = critical-section
-
Adds a critical-section implementation that only disables interrupts.
This is not sound on multi-core systems because interrupts are per-core. - defmt
-
Adds defmt::Format implementation for the register types
Enables defmt
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.