Skip to main content
Associate
November 27, 2025
Question

I cannot generate code using FreeRTOS on STM32 Cube IDE

  • November 27, 2025
  • 2 replies
  • 215 views

 please give me some advice to fix it. Thank you.

huuduc2203_1-1764223363994.png

 

2 replies

Associate II
November 27, 2025

Hi,

 

how did you start your project? Where does your IOC file come from?

If you have no idea how to start from scratch maybe a tutorial could help, e.g. from Shawn Hymel: https://www.youtube.com/watch?v=OPrcpbKNSjU

 

Associate
November 27, 2025
Hi,
I have started new STM32 Project and try to use FreeRTOS but don't know how
to setup to generate code HAl .
But I have figure it out , thank you for the advice.
[image: image.png]
Ghofrane GSOURI
Technical Moderator
November 27, 2025

Hello @huuduc2203 

I recommend you to use the latest version of STM32CubeMX 6.16.0 and STM32CubeIDE 2.0.0 to create your project.

Please use this LINK to download it.

Also could you please provide more details about the MCU you use , or it would be helpful if you could share your IOC to check your configuration ?

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Associate
November 27, 2025
Thank you for your suggestion.