Skip to main content
Visitor II
November 25, 2020
Question

Do I have to use CMSIS-RTOS

  • November 25, 2020
  • 3 replies
  • 1829 views

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?

    This topic has been closed for replies.

    3 replies

    Super User
    November 26, 2020

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

    Graduate II
    November 26, 2020

    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?

    Sid PriceAuthor
    Visitor II
    November 27, 2020

    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.

    Graduate II
    November 28, 2020

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

    Super User
    November 27, 2020

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

    -- pa

    Graduate II
    November 28, 2020

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