Cargo Features

stm32wlxx-hal has no features set by default.

stm32wlxx-hal = { version = "0.6.1", features = ["stm32wl5x_cm0p", "stm32wl5x_cm4", "stm32wle5", "rt", "chrono", "defmt", "embedded-time"] }

Enables stm32wl5x_cm0p of stm32wl

Affects rcc::hclk2_hz, rcc::cpu2_systick_hz


Enables stm32wl5x_cm4 of stm32wl

Affects rcc::hclk2_hz, rcc::cpu2_systick_hz


Enables stm32wle5 of stm32wl

rt = cortex-m-rt

Enables rt of stm32wl

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.

chrono implicit feature

Enables chrono


Date and time library for Rust

Affects stm32wlxx-hal::rtc

cortex-m-rt rt?
defmt implicit feature
embedded-time implicit feature