Skip to main content
Mujtaba
Associate III
June 12, 2018
Question

FreeRTOS or CMSIS RTOS in CubeMX???

  • June 12, 2018
  • 2 replies
  • 1662 views
Posted on June 12, 2018 at 09:14

Dear friends,

in CubeMX, when it is required to use an RTOS in the project, in the configuration tab there are options for both FreeRTOS and CMSIS  RTOS and you have to config both of them but there are no options to choose just one.

If we want to create tasks and queues and we config them in Tasks and Queues tab in CubeMX, the CubeMX automatically creates them using CMSIS RTOS APIs not FreeRTOS APIs but Memory management resources are based on FreeRTOS.

My question is, does CubeMX use a mixture of FreeRTOS and CMSIS RTOS and if there is a way to use just one of them in our projects?

And why there is no options to create memory pools in CubeMX?

    This topic has been closed for replies.

    2 replies

    Khouloud GARSI
    Technical Moderator
    June 12, 2018
    Posted on June 12, 2018 at 09:56

    Hi

    Hossaini.Mujtaba

    ‌,

    Could you please precise which version of STM32CubeMX tool you're using.

    Khouloud.

    Mujtaba
    MujtabaAuthor
    Associate III
    June 12, 2018
    Posted on June 12, 2018 at 10:37

    Dear Khouloud G,

    I am using CubeMX version 4.25.

    Khouloud GARSI
    Technical Moderator
    June 12, 2018
    Posted on June 12, 2018 at 10:48

    Dear

    Hossaini.Mujtaba

    ‌,

    I advise you to use the last version of

    http://www.st.com/en/development-tools/stm32cubemx.html

    tool. It contains some enhancements and bug fixes.

    Meanwhile, your question is highlighted to our CubeMX team. One of our experts will answer you ASAP.

    Khouloud.

    Nawres GHARBI
    Technical Moderator
    August 1, 2018

    Hi Nickname8864,

    STM32CubeMX generates code for RTOS using CMSIS RTOS APIs and FreeRTOS APIs.

    It differs depending on the availability of interface APIs in the CMSIS interface file embedded in Cube FW which will make the APIs configuration easier to do.

    Regards,

    Nawres.