Skip to main content
Laurids_PETERSEN
Community Manager
June 6, 2025

FreeRTOS™ on STM32

  • June 6, 2025
  • 2 replies
  • 3615 views

This course offers a comprehensive, step-by-step guide to implementing FreeRTOS™ on STM32 microcontrollers. It begins with the fundamentals of the operating system, including the structure and core components. Progress through essential FreeRTOS™ concepts, starting with tasks, exploring various inter-task communication mechanisms, and advancing to more complex elements like software timers and low-power support.

The course continues with sections on troubleshooting and adapting FreeRTOS™ to different STM32 series and Arm Cortex®-M core versions. Most topics are illustrated with practical, hands-on exercises using the STM32L476 MCU, but can be easily ported for use with any STM32 device.

What you'll learn

  • Knowledge on FreeRTOS™ and its core features and components based on real examples
  • Configuration options of the API functions in CMSIS-OS API version 2
  • Implementation of FreeRTOS™ with ST's software ecosystem (HAL library, STM32CubeIDE)

Ready to get started?

The videos are available at our YouTube playlist embedded below, or at the url:
https://www.youtube.com/playlist?list=PLnMKNibPkDnExrAsDpjjF1PsvtoAIBquX 

Join the discussion

Share your thoughts, ask questions, and engage with fellow developers. Our experts are active in this post and are excited to hear your feedback. 

Additional resources

2 replies

Associate
December 15, 2025

Hi!
I am attempting to follow this course with the NUCLEO-H743ZI2 board. I followed the steps in the first lab to implement the code but ran into an error with the EXTI interrupt on the blue button on the board. The error is:

../Core/Src/stm32h7xx_it.c: In function 'EXTI15_10_IRQHandler':

../Core/Src/stm32h7xx_it.c:170:24: error: 'H_EXTI_13' undeclared (first use in this function)

170 | HAL_EXTI_IRQHandler(&H_EXTI_13);

If I disable the GPIO for the blue button the code operates as expected, namely, a blinking green LED. 

Thanks for the series! I hope it can be ported to this board.

--aa_hunter

Visitor II
December 16, 2025

TKS