Cargo Features
[dependencies]
stm32g4 = { version = "0.16.0", default-features = false, features = ["rt", "atomics", "stm32g431", "stm32g441", "stm32g471", "stm32g473", "stm32g474", "stm32g483", "stm32g484", "stm32g491", "stm32g4a1", "critical-section", "defmt"] }
- default = critical-section, rt
-
These default features are set whenever
stm32g4is added withoutsomewhere in the dependency tree.default-features = false - rt default
-
Enables device of cortex-m-rt
- atomics
-
Enables portable-atomic
- stm32g431
-
Affects
stm32g4::stm32g431… - stm32g441
-
Affects
stm32g4::stm32g441… - stm32g471
-
Affects
stm32g4::stm32g471… - stm32g473
-
Affects
stm32g4::stm32g473… - stm32g474
-
Affects
stm32g4::stm32g474… - stm32g483
-
Affects
stm32g4::stm32g483… - stm32g484
-
Affects
stm32g4::stm32g484… - stm32g491
-
Affects
stm32g4::stm32g491… - stm32g4a1
-
Affects
stm32g4::stm32g4a1…
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