Skip to main content
Associate II
March 24, 2026
Solved

Unable to generate FreeRTOS code after migration

  • March 24, 2026
  • 1 reply
  • 194 views

Hi ST,

I have a STM32H7 project with FW_H7_v1.12.1 and MX v6.16.1, everything is good so far.

But after migration to FW_H7_v1.13.0, I can't generate FreeRTOS code any longer.

All FreeRTOS-related code are deleted and MX stay loading icon when I click FREERTOS component.

I tried uninstall MX and then install latest MX v6.17, but the same.

I also tried install X-CUBE-FREERTOS component, but still the same.

Please find my ioc file as attachment.

Is there anything I can do?

Thank you very much.

BRs,

-Engin

Best answer by Ghofrane GSOURI

Hello @Engin Lee 


After checking internally (Ticket ID #34891), we confirm that FreeRTOS has been updated from version v10.3.1 (used in STM32CubeMX 6.16.1) to v10.6.2 (used in STM32CubeMX 6.17.0).

In this new version, CMSIS-RTOS v1 (cmsis_os.h, CMSIS-RTOS API v1) is no longer supported.
You therefore need to migrate your application to CMSIS-RTOS v2 (cmsis_os2.h, CMSIS-RTOS API v2).

(cmsis_RTOS1 is no more supported)..png

 

THX

Ghofrane

1 reply

Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
March 24, 2026

Hello @Engin Lee 


After checking internally (Ticket ID #34891), we confirm that FreeRTOS has been updated from version v10.3.1 (used in STM32CubeMX 6.16.1) to v10.6.2 (used in STM32CubeMX 6.17.0).

In this new version, CMSIS-RTOS v1 (cmsis_os.h, CMSIS-RTOS API v1) is no longer supported.
You therefore need to migrate your application to CMSIS-RTOS v2 (cmsis_os2.h, CMSIS-RTOS API v2).

(cmsis_RTOS1 is no more supported)..png

 

THX

Ghofrane

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.