cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate FreeRTOS project without CMSIS RTOS API?

ilyaz yilmaz
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
alberto.spagnolo
Associate III

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.

View solution in original post

3 REPLIES 3
ilyaz yilmaz
Associate III

up

alberto.spagnolo
Associate III

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 III

Thanks alberto,

I did like that and it worked.