Cargo Features
stm32f1xx-hal has no features set by default.
[dependencies]
stm32f1xx-hal = { version = "0.11.0", features = ["stm32f100", "stm32f101", "stm32f103", "stm32f107", "defmt", "doc", "medium", "high", "xl", "connectivity", "has-can", "has-dac", "rtic"] }
- stm32f100
- stm32f101
- stm32f103 = has-can, stm32-usbd
-
Affects
rcc::UsbPre,stm32f1xx-hal::usb,rcc::RawConfig.usbpre,afio::uart4,afio::uart5… - stm32f105 stm32f107 = connectivity
- defmt
- doc
- medium connectivity? high?
-
Devices with 64 or 128 Kb ROM
- high xl? = has-dac, medium
-
Devices with 256 or 512 Kb ROM
Affects
afio::spi3,afio::uart4,afio::uart5… - xl = high
-
Devices with 768 Kb ROM or more
- connectivity stm32f105? stm32f107? = has-can, has-dac, medium
-
Connectivity line devices (
stm32f105xxandstm32f107xx)Affects
afio::can2,rcc::UsbPre,afio::spi3,rcc::RawConfig.usbpre,afio::uart4,afio::uart5… - has-can connectivity? stm32f103?
-
Devices with CAN interface
Affects
afio::can1,stm32f1xx-hal::can… - has-dac connectivity? high?
-
Devices with Dac
Affects
stm32f1xx-hal::dac… - rtic = rtic-monotonic
-
Affects
timer::monotonic…
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.
- rtic-monotonic rtic?
- stm32-usbd stm32f103?
-
Affects
stm32f1xx-hal::usb…