Skip to main content
Graduate II
April 16, 2024
Solved

[Please ignore] STM32U5, ThreadX and CMSIS

  • April 16, 2024
  • 3 replies
  • 1751 views

[EDIT: S'OK, I need to think about this more, but I can't find a way to delete a message so am just marking this as one to ignore]

I am just moving from STM32F4 to STM32U5.  ThreadX seems to be the thing for STM32U5 (if one doesn't want to use Zephyr) but I need to be able to use FreeRTOS also, so I have moved all of my code to CMSIS (V2).  However, I am not able to find cmsis_os.h/cmsis_os2.h for ThreadX.  For instance, in the STM32F4 case the CMSIS API for FreeRTOS can be found under the Middlewares/Third_Party/FreeRTOS/Source directory.

The STM32CubeU5 only contains "template" cmsis_os.h/cmsis_os2.h files but I don't want a template of my RTOS interface, I want the actual RTOS interface that ThreadX will abide by.  The cmsis_rtos_threadx directory of STM32CubeU5 only contains the .c file, no headers. The ThreadX repo doesn't contain a CMSIS adaptation at all.

Where do I find the CMSIS adaptation API that ThreadX will abide by?

    This topic has been closed for replies.

    3 replies

    Pavel A.Answer
    Super User
    April 16, 2024
    ST Employee
    April 16, 2024

    Hello @Rob Meades ,

    Maybe think about and we will be happy to help. if you have any updates maybe comment on this thread.

    BR

     

    Graduate II
    April 16, 2024

    @Pavel A: ah, _that's_ where it is, I was going to steal the one from STM32F4 and hope for the best; that's much better.

    @STea: thanks, I will.