cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS or CMSIS RTOS in CubeMX???

Mujtaba
Senior
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?

5 REPLIES 5
Khouloud GARSI
Lead II
Posted on June 12, 2018 at 09:56

Hi

Hossaini.Mujtaba

‌,

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

Khouloud.

Posted on June 12, 2018 at 10:37

Dear Khouloud G,

I am using CubeMX version 4.25.

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.

Posted on June 12, 2018 at 11:26

Dear Khouloud G,

thanks for your quick reply. I will use the latest version and will be looking forward to your CubeMX team to answer my question.

Best regards,

Mujtaba

Nawres GHARBI
ST Employee

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.