cancel
Showing results for 
Search instead for 
Did you mean: 

Do I have to use CMSIS-RTOS

Sid Price
Senior

I have used FreeRTOS on other projects and I don't understand why I need to have CubeMX include CMSIS-RTOS in order for me to use FreeRTOS.

Is there a way to stop CubeMX including it?

6 REPLIES 6
KnarfB
Principal III

Yes, would be nice to have that option. Some generated code uses CMSIS wrappers though, like FATFS or MX_USB_HOST_Init in StartDefaultTask().

Piranha
Chief II

If not for CMSIS-RTOS wrapper, then what exactly do you need from ST at all? Their added improvements bugs and stagnating with old versions because of ridiculously slow development cycle?

https://github.com/FreeRTOS/FreeRTOS-Kernel

What stops you from just downloading and using the latest FreeRTOS?

Pavel A.
Evangelist III

Because not everyone likes FreeRTOS? RTX is a fine RTOS too. And there are others.

-- pa

Because I "inherited" this project and it is a CubeMX/CubeIDE project, so, simply using CubeMX to add FreeRTOS would be the easiest path forward.

Sometimes we have to work with what we are given!

Having said that, manually adding FreeRTOS is of course an option.

Other RTOS is fine, but the question here is how to use FreeRTOS.

The easiest path is the one with the least amount of problems. CubeMX generated bloatware is the exact opposite to it...