Skip to main content
ilyaz yilmaz
Associate II
April 17, 2019
Solved

How to generate FreeRTOS project without CMSIS RTOS API?

  • April 17, 2019
  • 3 replies
  • 2341 views

I have STM32H743ZI nucleo board. I want to generate code from CubeMx with FreeRTOS.

But CMSIS RTOS API is mandotary. I dont want to use CMSIS RTOS API as interface. is there any way to generate code with FreeRTOS without CMSIS RTOS API.

This topic has been closed for replies.
Best answer by alberto.spagnolo

Hi,

CMSIS-RTOS API is just wrapped around the FreeRTOS API.

Here is what I did: I enabled FreeRTOS in CubeMX, then I simply included the FreeRTOS header files and used its functions.

This has a bit of compilation overhead (useless source code gets compiled anyway), but it works.

3 replies

ilyaz yilmaz
Associate II
April 19, 2019

up

alberto.spagnolo
alberto.spagnoloBest answer
Associate
April 23, 2019

Hi,

CMSIS-RTOS API is just wrapped around the FreeRTOS API.

Here is what I did: I enabled FreeRTOS in CubeMX, then I simply included the FreeRTOS header files and used its functions.

This has a bit of compilation overhead (useless source code gets compiled anyway), but it works.

ilyaz yilmaz
Associate II
April 25, 2019

Thanks alberto,

I did like that and it worked.