Skip to main content
Senior
March 24, 2026
Question

STM32Cube FW_H7 and CMSIS RTOS2 V2.3.1?

  • March 24, 2026
  • 1 reply
  • 246 views

Hello,

just updated to STM32Cube FW_H7 V 1.13.0 but it seems it still contains CMSIS RTOS2 V2.1.3.

I'm develop with Keil and STM32 IDE but Keil is using V2.3.1 while Cube comes with V2.1.3.

In STM32 IDE I got a compile error when I imported source code developed on Keil.

E.g. the thread attribute osThreadUnprivileged, introduced in V2.2.0, is missing in V2.1.3.

https://arm-software.github.io/CMSIS_6/main/RTOS2/rtos_revisionHistory.html 

Any progress here? If no, why?

Thanks,

Jochen

 

 

  

1 reply

Pavel A.
Super User
March 25, 2026

Keil MDK contains the genuine RTX RTOS. Would you like to use it instead?

The "CMSIS RTOS" in STM32 firmware packages is just a wrapper around FreeRTOS or ThreadX. For this option you can bring your own FreeRTOS version. You can also stay with CMSIS RTOS v1 wrapper, around exactly same FreeRTOS, if the provided API is suitable for your project.

regjoeAuthor
Senior
March 25, 2026

I'm already using RTX5 in Keil MDK and I don't want to use FreeRTOS nor ThreadX in Keil.
I just want to have CMSIS-RTOS2 V2.3.1 installed in ST IDE in order to have portable code between Keil and ST IDE.

Pavel A.
Super User
March 27, 2026

"RTX is the CMSIS‑RTOS API implementation. Modern Keil RTX5 does not sit behind a separate CMSIS‑RTOS “wrapper”—it natively implements the CMSIS‑RTOS2 API. Older RTX versions (pre‑RTX5) required a CMSIS‑RTOS v1 wrapper layer, but that architecture is obsolete." 

(Answer of my favorite AI)