Skip to main content
paolog
Associate III
May 20, 2025
Solved

Issue when upgrading FreeRTOS plugin

  • May 20, 2025
  • 6 replies
  • 535 views

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:

  • STM32CubeIDE 1.18.1
  • STM32CubeMX 6.14.1
  • X-CUBE-FREERTOS 1.3.1
Best answer by Mahmoud Ben Romdhane

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

6 replies

Technical Moderator
May 20, 2025

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.
paolog
paologAuthor
Associate III
May 20, 2025

Hi Mahmoud.

IOC attached, it's the result from several upgrades of CubeMX.

Thank you,

Paolo

Technical Moderator
May 20, 2025

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.
paolog
paologAuthor
Associate III
May 20, 2025

Thank you, @Mahmoud Ben Romdhane .

 

Paolo

Technical Moderator
May 21, 2025

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.
paolog
paologAuthor
Associate III
November 21, 2025

Hi @Mahmoud Ben Romdhane .

I just confirm that upgrading to FreeRTOS 1.4 the issue is still there.

Best regards,

Paolo

Technical Moderator
November 21, 2025

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.
paolog
paologAuthor
Associate III
November 21, 2025

Hi @Mahmoud Ben Romdhane .

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

paolog
paologAuthor
Associate III
November 21, 2025

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