Drivers and Middleware for STM32 ARM Cortex-M MCUs
OverviewSTM32Cube is free embedded software from ST that provides all the drivers and middleware components necessary to get up and running quickly on STM32 ARM Cortex-M microcontrollers. STM32Cube includes FreeRTOS.
- Comprehensive driver support
- Graphics, USB, TCP/IP and FAT middleware
- Buildable example projects to demonstrate use
- Full eval board demo projects that use FreeRTOS
- STM32CubeMX graphical configuration tool
- Portability between STM32 ARM Cortex-M families
- Per device family downloads
- Quality checked with Grammatech’s Code Sonar static analysis tool
A common abstraction layer is used to ensure maximum portability between STM32 families.
STM32Cube Building BlocksAs would be expected, the STM32Cube embedded software is structured into a set of layers of increasing abstraction: Start up code and low level hardware interfaces are found in the bottom layer, and pre-configured examples are found in the top layer – with peripheral drivers, component drivers and middleware found in the layers in between. Each layer uses the interfaces provided by the layer below it – with the abstraction layer ensuring portability across STM32 ARM Cortex-M device families.
Examples are provided at the peripheral driver level. They are simple projects that demonstrate how to use a driver.
Applications are provided at the middleware level. They are larger than the projects provided at the driver level, and demonstrate how to use middleware components simultaneously with multiple different peripheral drivers.
Demonstrations are provided at the eval and Discovery board level. They are very comprehensive projects that make use of all the facilities available on their target hardware platform. That means they make use of multiple different middleware components and drivers in a single project. Demonstration projects run under the control of FreeRTOS.
Example, application and demonstration project files are provided for the IAR, Atollic (which uses the ARM GCC compiler) and Keil development tools, and target a range of off-the-shelf STM32 Evaluation, Discovery, STM32 Nucleo and dedicated boards.