// the find
stm32-rs/stm32l4xx-hal
A Hardware abstraction layer for the stm32l432xx series chips written in rust.
A Rust HAL for the STM32L4xx microcontroller family, implementing the embedded-hal traits for peripherals like SPI, I2C, UART, ADC, DMA, USB, and RTC. It's the go-to starting point if you're doing embedded Rust on an L4-series chip, particularly the L432KC. The peripheral coverage is decent but uneven across the L4 sub-variants.
Good peripheral breadth — DMA, QSPI, LPTIM, TSC, and OTG USB are all present, which are often missing from community HALs. The examples directory is genuinely useful: DMA serial, RTIC integration, SPI slave, hardware flow control, and USB serial are all represented with real working code. Lives under the stm32-rs organization, so it follows the same conventions as the other family HALs — if you know stm32f4xx-hal you're not starting from scratch. Dual Apache/MIT license with no friction.
Last commit was June 2023 — this is effectively unmaintained, and the README itself says it's a work in progress. The L4 family has many sub-variants (L4+, L43x, L47x, L49x) and coverage is uneven; issue #29 has been open for years tracking unsupported devices. README is nearly empty — no quick-start, no feature flags table, no indication of which chips are actually supported without reading the code or the issue tracker. Minimum rustc 1.51 is ancient but the codebase likely has bitrotted against newer embedded-hal versions regardless.