Cargo Features

stm32f0xx-hal has no features set by default.

[dependencies]
stm32f0xx-hal = { version = "0.18.0", features = ["device-selected", "rt", "stm32f030", "stm32f030x8", "stm32f030xc", "stm32f031", "stm32f038", "stm32f042", "stm32f048", "stm32f051", "stm32f058", "stm32f070", "stm32f070xb", "stm32f071", "stm32f072", "stm32f078", "stm32f091", "stm32f098", "stm32-usbd"] }
device-selected stm32f030? stm32f031? stm32f038? stm32f042? stm32f048? stm32f051? stm32f058? stm32f070? stm32f071? stm32f072? stm32f078? stm32f091? stm32f098?

Affects stm32f0xx-hal::adc, stm32f0xx-hal::delay, stm32f0xx-hal::gpio, stm32f0xx-hal::i2c, stm32f0xx-hal::prelude, stm32f0xx-hal::pwm, stm32f0xx-hal::rcc, stm32f0xx-hal::serial, stm32f0xx-hal::spi, stm32f0xx-hal::time, stm32f0xx-hal::timers, stm32f0xx-hal::watchdog

rt

Enables rt of stm32f0 ^0.14

stm32f030 stm32f030x4? stm32f030x6? stm32f030x8? stm32f030xc? = device-selected

Enables stm32f0x0 of stm32f0 ^0.14

stm32f030x4 stm32f030x6 stm32f030x8 = stm32f030
stm32f030xc = stm32f030
stm32f031 = device-selected

Enables stm32f0x1 of stm32f0 ^0.14

stm32f038 = device-selected

Enables stm32f0x8 of stm32f0 ^0.14

stm32f042 = device-selected

Enables stm32f0x2 of stm32f0 ^0.14

stm32f048 = device-selected

Enables stm32f0x8 of stm32f0 ^0.14

stm32f051 = device-selected

Enables stm32f0x1 of stm32f0 ^0.14

stm32f058 = device-selected

Enables stm32f0x8 of stm32f0 ^0.14

stm32f070 stm32f070x6? stm32f070xb? = device-selected

Enables stm32f0x0 of stm32f0 ^0.14

stm32f070x6 stm32f070xb = stm32f070
stm32f071 = device-selected

Enables stm32f0x1 of stm32f0 ^0.14

stm32f072 = device-selected

Enables stm32f0x2 of stm32f0 ^0.14

stm32f078 = device-selected

Enables stm32f0x8 of stm32f0 ^0.14

stm32f091 = device-selected

Enables stm32f0x1 of stm32f0 ^0.14

stm32f098 = device-selected

Enables stm32f0x8 of stm32f0 ^0.14

Features from optional dependencies

stm32-usbd implicit feature

Enables stm32-usbd ^0.6

stm32-usbd:

'usb-device' implementation for STM32 microcontrollers