Skip to main content
Associate
Nov 27, 2025 6:04 AM UTC
Question

I cannot generate code using FreeRTOS on STM32 Cube IDE

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

huuduc2203_1-1764223363994.png

 

4 replies

Associate II
Nov 27, 2025 6:50 AM UTC

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
Nov 27, 2025 7:17 AM UTC
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
ST Technical Moderator
Nov 27, 2025 7:09 AM UTC

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
Nov 27, 2025 8:03 AM UTC
Thank you for your suggestion.