/x-cube-freertos

X-CUBE-FREERTOS (FreeRTOS™ software expansion for STM32Cube) provides a full integration of the FreeRTOS™ kernel in the STM32Cube environment for a set of STM32 series of microcontrollers.

Primary LanguageCOtherNOASSERTION

X-CUBE-FREERTOS FreeRTOS Software Expansion for STM32Cube

latest tag

With FreeRTOS complementing the extensive STM32Cube ecosystem providing free development tools, software bricks, and software expansion packages, STM32 users can also leverage the rich services of FreeRTOS which meet the needs of tiny, smart, connected devices.

X-CUBE-FREERTOS (FreeRTOS RTOS Software Expansion for STM32Cube) provides a full integration of FreeRTOS in the STM32Cube environment for the STM32U5, STM32H5, STM32WBA and STM32C0 series of microcontrollers. Ready-to-run applicative examples are also provided for the NUCLEO-H563ZI, NUCLEO-U575ZI-Q, NUCLEO-WBA52CG and NUCLEO-C031C6, thus reducing the learning curve and ensuring a smooth application development experience with FreeRTOS RTOS and STM32U5, STM32H5, STM32WBA or STM32C0 MCUs.

Prerequisites

  • None

One of the following toolchains:

  • IAR Embedded Workbench for ARM (EWARM) toolchain 9.20.1 + ST-LINKV3
  • STM32CubeIDE V1.13.0 + ST-LINKV3
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.37 + ST-LINKV3

Supported Devices and Boards by applications

Repository structure

The STMicroelectronics GitHub X-CUBE-FREERTOS repository consists of the following repositories:

  • Drivers: contains STM32U5, STM32H5, STM32WBA and STM32C0 CMSIS and HAL drivers.
  • Middlewares: contains FreeRTOS Middleware files.
  • Projects: provides ready-to-run applicative examples for FreeRTOS RTOS on the supported boards. Projects are structured as follows:

Documentation

More comprehensive documentation is available on FreeRTOS FreeRTOS documentation.

License

None

Release note

Details about the content of this release are available in the release note here.

Applications

STM32H5 Applications Short Description
FreeRTOS_Mutex This application demonstrates the use of mutexes to serialize access to a shared resource. readme
FreeRTOS_MPU This application demonstrates the use of the MPU with FreeRTOS to control memory/peripheral access for tasks. readme
FreeRTOS_Queues_ThreadFlags_TrustZone This application demonstrates the use of message queues, thread flags with CMSIS_RTOS2 API along with the use of FreeRTOS when the TrustZone feature is enabled (TZEN=1) readme
FreeRTOS_Semaphore_LowPower This application demonstrates the use of FreeRTOS tickless low power mode and semaphoresreadme
STM32U5 Applications Short Description
FreeRTOS_Mutex This application demonstrates the use of mutexes to serialize access to a shared resource. readme
FreeRTOS_MPU This application demonstrates the use of the MPU with FreeRTOS to control memory/peripheral access for tasks. readme
FreeRTOS_Queues_ThreadFlags_TrustZone This application demonstrates the use of message queues, thread flags with CMSIS_RTOS2 API along with the use of FreeRTOS when the TrustZone feature is enabled (TZEN=1) readme
FreeRTOS_Semaphore_LowPower This application demonstrates the use of FreeRTOS tickless low power mode and semaphoresreadme
STM32WBA Applications Short Description
FreeRTOS_Mutex This application demonstrates the use of mutexes to serialize access to a shared resource. readme
FreeRTOS_MPU This application demonstrates the use of the MPU with FreeRTOS to control memory/peripheral access for tasks. readme
FreeRTOS_Queues_ThreadFlags_TrustZone This application demonstrates the use of message queues, thread flags with CMSIS_RTOS2 API along with the use of FreeRTOS when the TrustZone feature is enabled (TZEN=1) readme
FreeRTOS_Semaphore_LowPower This application demonstrates the use of FreeRTOS tickless low power mode and semaphoresreadme
STM32C0 Applications Short Description
FreeRTOS_Mutex This application demonstrates the use of mutexes to serialize access to a shared resource. readme
FreeRTOS_Queues_ThreadFlags This application demonstrates the use of message queues, thread flags with CMSIS_RTOS2 API readme
FreeRTOS_Semaphore_LowPower This application demonstrates the use of FreeRTOS tickless low power mode and semaphoresreadme

Troubleshooting

Caution : The issues are strictly limited to submit problems or suggestions related to the software delivered in this repository.

For any other question related to the product, the hardware performance or characteristics, the tools, the environment, you can submit it to the ST Community on the STM32 MCUs related page.