Cargo Features

[dependencies]
stm32f3xx-hal-v2 = { version = "0.6.0", default-features = false, features = ["unproven", "device-selected", "direct-call-deprecated", "rt", "can", "gpio-f302", "gpio-f303", "gpio-f303e", "gpio-f333", "gpio-f373", "stm32f301", "stm32f318", "stm32f302", "stm32f302x8", "stm32f302xc", "stm32f302xe", "stm32f303", "stm32f303x8", "stm32f303xc", "stm32f303xe", "stm32f378", "stm32f334", "stm32f328", "stm32f358", "stm32f398", "defmt-debug", "defmt-error"] }
default = unproven

The unproven feature is set by default whenever stm32f3xx-hal-v2 is added without default-features = false somewhere in the dependency tree.

unproven default

Enables unproven of embedded-hal ^0.2

device-selected stm32f301? stm32f302x6? stm32f302x8? stm32f302xb? stm32f302xc? stm32f302xd? stm32f302xe? stm32f303x6? stm32f303x8? stm32f303xb? stm32f303xc? stm32f303xd? stm32f303xe? stm32f318? stm32f328? stm32f334? stm32f358? stm32f373? stm32f378? stm32f398?

Affects stm32f3xx-hal-v2::watchdog, stm32f3xx-hal-v2::can

direct-call-deprecated stm32f302? stm32f303?
rt

Enables rt of stm32f3 ^0.12

Affects stm32f3xx-hal-v2::exti

can = embedded-hal-can

Affects stm32f3xx-hal-v2::can

gpio-f302 stm32f301? stm32f302x6? stm32f302x8? stm32f318?
gpio-f303 stm32f302xb? stm32f302xc? stm32f303xb? stm32f303xc? stm32f358?
gpio-f303e stm32f302xd? stm32f302xe? stm32f303xd? stm32f303xe? stm32f398?
gpio-f333 stm32f303x6? stm32f303x8? stm32f328? stm32f334?
gpio-f373 stm32f373? stm32f378?
stm32f301 = device-selected, gpio-f302

Any changes here should be mirrored in README.md, src/lib.rs, and .github/workflows/ci.yml.

Enables stm32f301 of stm32f3 ^0.12

stm32f318 = device-selected, gpio-f302

Enables stm32f301 of stm32f3 ^0.12

stm32f302 stm32f302x6? stm32f302x8? stm32f302xb? stm32f302xc? stm32f302xd? stm32f302xe? = direct-call-deprecated

Enables stm32f302 of stm32f3 ^0.12

Affects stm32f3xx-hal-v2::dma

stm32f302x6 stm32f302x8 = device-selected, gpio-f302, stm32f302
stm32f302xb stm32f302xc = device-selected, gpio-f303, stm32f302
stm32f302xd stm32f302xe = device-selected, gpio-f303e, stm32f302
stm32f303 stm32f303x6? stm32f303x8? stm32f303xb? stm32f303xc? stm32f303xd? stm32f303xe? = direct-call-deprecated

Enables stm32f303 of stm32f3 ^0.12

Affects stm32f3xx-hal-v2::exti, stm32f3xx-hal-v2::dma

stm32f303x6 stm32f303x8 = device-selected, gpio-f333, stm32f303
stm32f303xb stm32f303xc = device-selected, gpio-f303, stm32f303

Enables ram_access_1x16 of stm32-usbd ^0.5

stm32f303xd stm32f303xe = device-selected, gpio-f303e, stm32f303

Enables ram_access_2x16 of stm32-usbd ^0.5

stm32f373 stm32f378 = device-selected, gpio-f373

Enables stm32f373 of stm32f3 ^0.12

stm32f334 = device-selected, gpio-f333

Enables stm32f3x4 of stm32f3 ^0.12

stm32f328 = device-selected, gpio-f333

Enables stm32f3x8 of stm32f3 ^0.12

stm32f358 = device-selected, gpio-f303

Enables stm32f3x8 of stm32f3 ^0.12

stm32f398 = device-selected, gpio-f303e

Enables stm32f3x8 of stm32f3 ^0.12

defmt-default defmt-trace defmt-debug = defmt
defmt-info defmt-warn defmt-error = 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.

embedded-hal-can can?
stm32-usbd stm32f303xb? stm32f303xc? stm32f303xd? stm32f303xe?

Enables stm32-usbd ^0.5

defmt defmt-debug? defmt-default? defmt-error? defmt-info? defmt-trace? defmt-warn?

Enables defmt ^0.1.2