2018-06-12 12:14 AM
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?
2018-06-12 12:56 AM
Hi
Hossaini.Mujtaba
,Could you please precise which version of STM32CubeMX tool you're using.
Khouloud.
2018-06-12 03:37 AM
Dear Khouloud G,
I am using CubeMX version 4.25.
2018-06-12 03:48 AM
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.
2018-06-12 04:26 AM
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
2018-08-01 05:45 AM
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.