Cargo Features

[dependencies]
stm32g4-staging = { version = "0.19.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 stm32g4-staging is added without default-features = false somewhere in the dependency tree.

rt default

Enables device of cortex-m-rt

atomics

Enables portable-atomic

stm32g431

Affects stm32g4-staging::stm32g431

stm32g441

Affects stm32g4-staging::stm32g441

stm32g471

Affects stm32g4-staging::stm32g471

stm32g473

Affects stm32g4-staging::stm32g473

stm32g474

Affects stm32g4-staging::stm32g474

stm32g483

Affects stm32g4-staging::stm32g483

stm32g484

Affects stm32g4-staging::stm32g484

stm32g491

Affects stm32g4-staging::stm32g491

stm32g4a1

Affects stm32g4-staging::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