2025-05-20 3:31 AM
Hi!
I have an issue with the upgrade process of the X-CUBE-FREERTOS plugin. It happened upgrading to 1.3.0 and to 1.3.1 as well: the list of tasks defined in CubeMX seems to be retained in the CMSIS RTOS2 tab as well as the other settings, but when regenerating the code the definitions disappear, and they have to be entered again,
Is there anybody else with this issue? Could this be a bug?
Configuration:
Solved! Go to Solution.
2025-05-21 3:09 AM
Hello @paolog ,
Let me thank you for bringing this issue to our attention.
An internal ticket is submitted to the STM32CubeMX Development Team (Ticket Number: 210407)
Thanks.
Mahmoud
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.
2025-05-20 3:36 AM
Hello @paolog ,
First let me thank you for posting.
For more investigation, I suggest that you provide your Ioc.File.
Thanks.
Mahmoud
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.
2025-05-20 3:51 AM
2025-05-20 8:15 AM
Hello @paolog ,
Thank you for your interaction.
I am currently investigating this issue and I will get back to you ASAP.
Thanks.
Mahmoud
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.
2025-05-20 8:21 AM
2025-05-21 3:09 AM
Hello @paolog ,
Let me thank you for bringing this issue to our attention.
An internal ticket is submitted to the STM32CubeMX Development Team (Ticket Number: 210407)
Thanks.
Mahmoud
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.
2025-11-21 5:57 AM
I just confirm that upgrading to FreeRTOS 1.4 the issue is still there.
Best regards,
Paolo
2025-11-21 6:13 AM
Hello @paolog ,
Further to your comment, the issue is confirmed on the last STM32CubeMX Version.
How to get STM32CubeMX 6.16.0:
Under this link .
Or update your current installation of STM32CubeMX using: Help > Check for Updates
Thanks.
Mahmoud
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.
2025-11-21 6:26 AM
Yes, I noticed that: I upgraded to STM32CubeMX 6.16.0 before switching to FreeRTOS 1.4. I used the .ioc_bkp backup file to restore the missing definitions.
Paolo
2025-11-21 7:15 AM
Just found a turnaround, @Mahmoud Ben Romdhane .
After upgrading X-CUBE-FREERTOS the configuration doesn't show the CMSIS RTOS2 tab: by unticking and ticking again the CMSIS RTOS2 mode checkbox the tab reappears, together with the configured objects (tasks, queues, and so on). Without this the configuration is lost when saving the IOC.
I also found out that after the upgrade my IOC didn't include the configuration for configUSE_TICKLESS_IDLE: by selecting another option and reselecting the original option value made it reappear in the IOC.
Best regards,
Paolo