This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Latest Keil MDK PRO, STCubeMX (F7) don't play together for RTOS

I am targeting STM32F745 and STM32F105.
I am using MDK-PRO (5.23), STM32cubeMX(F7), all packs are up to date.

-> Has anyone been able to build a FreeRTOS project with STM32CubeMX? (launched from pack manager)

It appears that STM is using a newer version of CMSIS than what Keil supports.

Cube FreeRTOS middleware emits the following to declare a CMSIS-RTOS default thread: (5 arguments to macro)

  osThreadDef(defaultTask, StartDefaultTask, osPriorityNormal, 0, 128);


However, in all the Keil cmsis_os*.h (and online docs) there are only 4 arguments to the macro

  osThreadDef(name, priority, threadinstances, stacksz);

I know about the modifications to hal_it.c/h for systick overloading.
I can use Cube to config the device, and use just RTOS (API) Keil RTX and get a clean build.
I cannot use Keil RTX5 and get a clean build.
-> Does anyone use RTX5 or RTOS2?

I don't know if this is a ST or Keil issue, hence posting here in hopes of guidance before opening support tickets.