Cargo Features

Cortex-M has no features set by default.

[dependencies]
cortex-m = { version = "0.7.7", features = ["std", "cm7", "cm7-r0p1", "inline-asm", "linker-plugin-lto", "critical-section-single-core", "serde"] }
std
cm7 cm7-r0p1?
cm7-r0p1 = cm7
inline-asm

Affects register::apsr, register::lr, register::pc

linker-plugin-lto
critical-section-single-core

Enables restore-state-bool of critical-section

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.

critical-section critical-section-single-core?
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework