2026-05-22 10:19 AM
I was running a project in STM32CubeIDE (1.19.0) with 4 Tasks and it ran fine. Now I wanted to add a fifth task and after adding it and the oly thing I had changed was the Name (Task05 instead of myTask05) I got an alert box when saving the .ioc file:
I went with this into the FreeRTOS forum, but they say it's an STMicro issue. So I'm coming up with it here now.
2026-05-22 3:50 PM - edited 2026-05-22 3:50 PM
Changes in generated code should be done with caution (in the "USER CODE" sections, etc.)
Better move as much as possible of the custom code out to your own files. For example, let the generated code create only the main task, and create all other tasks and other objects in your own file.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.