Cargo Features
[dependencies]
stm32l4 = { version = "0.16.0", default-features = false, features = ["rt", "atomics", "stm32l412", "stm32l4p5", "stm32l4r5", "stm32l4r9", "stm32l4x1", "stm32l4x2", "stm32l4x3", "stm32l4x5", "stm32l4x6", "critical-section", "defmt"] }
- default = critical-section, rt
-
These default features are set whenever
stm32l4
is added without
somewhere in the dependency tree.default-features = false - rt default
-
Enables device of cortex-m-rt
- atomics
-
Enables portable-atomic
- stm32l412
-
Affects
stm32l4::stm32l412
… - stm32l4p5
-
Affects
stm32l4::stm32l4p5
… - stm32l4r5
-
Affects
stm32l4::stm32l4r5
… - stm32l4r9
-
Affects
stm32l4::stm32l4r9
… - stm32l4x1
-
Affects
stm32l4::stm32l4x1
… - stm32l4x2
-
Affects
stm32l4::stm32l4x2
… - stm32l4x3
-
Affects
stm32l4::stm32l4x3
… - stm32l4x5
-
Affects
stm32l4::stm32l4x5
… - stm32l4x6
-
Affects
stm32l4::stm32l4x6
…
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 default
- cortex-m-rt rt
- defmt implicit feature