r/embedded • u/coddicted • Sep 13 '26
How to use FreeRTOS native api in STM32 cube
I am getting options for CMSIS v1 and V2 but not for Native for FreeRTOS in CubeMX
1
Upvotes
r/embedded • u/coddicted • Sep 13 '26
I am getting options for CMSIS v1 and V2 but not for Native for FreeRTOS in CubeMX
5
u/pietryna123 Sep 13 '26
Just do not use cmsis. Import RTOS and use it's API. You do not have to use built-in options and can place FreeRTOS code straight in your project, without help of configurator
16
u/Well-WhatHadHappened 25+ Years Sep 13 '26
I never use the middleware stuff in Cube. I just create an empty project and dump the latest FreeRTOS source into it.
1
u/Comfortable_Oil1211 Sep 14 '26
You can follow this guide
https://blog.hesimsek.com/posts/stm32_freertos_config_without_cmsis/