Cargo Features

[dependencies]
stm32g473-hal_oppe = { version = "0.1.0", default-features = false, features = ["rt", "stm32g473", "log-itm", "log-rtt", "log-semihost", "unstable-defmt"] }

TODO: Separate feature sets

default = rt, stm32g473

These default features are set whenever stm32g473-hal_oppe is added without default-features = false somewhere in the dependency tree.

rt default

Enables rt of stm32g4 ^0.14.0

stm32g473 default

Enables stm32g473 of stm32g4 ^0.14.0

log-itm dev

Enables itm of cortex-m-log ^0.7

log-rtt
log-semihost dev

Enables semihosting of cortex-m-log ^0.7

unstable-defmt = 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.

defmt unstable-defmt?