Overview of stm32f4xx-hal
masterThe stm32f4xx-hal crate provides a multi-device hardware abstraction layer (HAL) for the STMicroelectronics STM32F4 series microcontrollers. It sits on top of the peripheral access API and implements a partial set of embedded-hal traits.
Device selection is managed via feature gates. Instead of using different crates for every model, you enable the feature corresponding to your specific MCU. Supported models include:
stm32f401,stm32f405,stm32f407,stm32f410,stm32f411,stm32f412stm32f413,stm32f415,stm32f417,stm32f423,stm32f427,stm32f429stm32f437,stm32f439,stm32f446,stm32f469,stm32f479
If a Board Support Crate (BSP) exists for your specific board in the stm32-rs organization, it will likely already include stm32f4xx-hal with the correct features pre-configured.