Cargo Features

stm32l4-hal has no features set by default.

[dependencies]
stm32l4-hal = { version = "0.3.0", features = ["rt", "stm32l4x1", "stm32l4x2", "stm32l4x3", "stm32l4x5", "stm32l4x6"] }
rt

Enables rt of stm32l4 ^0.4.0

stm32l4x1

Enables stm32l4x1 of stm32l4 ^0.4.0

Affects stm32l4-hal::dma, stm32l4-hal::prelude, stm32l4-hal::serial, stm32l4-hal::time, stm32l4-hal::rcc, stm32l4-hal::flash, stm32l4-hal::gpio, stm32l4-hal::delay, stm32l4-hal::timer, stm32l4-hal::spi, stm32l4-hal::rtc, stm32l4-hal::pwr, stm32l4-hal::tsc

stm32l4x2

Enables stm32l4x2 of stm32l4 ^0.4.0

Affects stm32l4-hal::dma, stm32l4-hal::prelude, stm32l4-hal::serial, stm32l4-hal::time, stm32l4-hal::rcc, stm32l4-hal::flash, stm32l4-hal::gpio, stm32l4-hal::delay, stm32l4-hal::timer, stm32l4-hal::spi, stm32l4-hal::rtc, stm32l4-hal::pwr, stm32l4-hal::tsc

stm32l4x3

Enables stm32l4x3 of stm32l4 ^0.4.0

Affects stm32l4-hal::dma, stm32l4-hal::prelude, stm32l4-hal::serial, stm32l4-hal::time, stm32l4-hal::rcc, stm32l4-hal::flash, stm32l4-hal::gpio, stm32l4-hal::delay, stm32l4-hal::timer, stm32l4-hal::spi, stm32l4-hal::rtc, stm32l4-hal::pwr, stm32l4-hal::tsc

stm32l4x5

Enables stm32l4x5 of stm32l4 ^0.4.0

Affects stm32l4-hal::dma, stm32l4-hal::prelude, stm32l4-hal::serial, stm32l4-hal::time, stm32l4-hal::rcc, stm32l4-hal::flash, stm32l4-hal::gpio, stm32l4-hal::delay, stm32l4-hal::timer, stm32l4-hal::spi, stm32l4-hal::rtc, stm32l4-hal::pwr, stm32l4-hal::tsc

stm32l4x6

Enables stm32l4x6 of stm32l4 ^0.4.0

Affects stm32l4-hal::dma, stm32l4-hal::prelude, stm32l4-hal::serial, stm32l4-hal::time, stm32l4-hal::rcc, stm32l4-hal::flash, stm32l4-hal::gpio, stm32l4-hal::delay, stm32l4-hal::timer, stm32l4-hal::spi, stm32l4-hal::rtc, stm32l4-hal::pwr, stm32l4-hal::tsc