cancel
Showing results for 
Search instead for 
Did you mean: 

Error when disable the FreeRtos function

Angle
Associate II

Hi, may i know why i get this error when disable the FreeRtos function?

0693W00000Y7fEOQAZ.pngi did'nt include any of freertos library anymore but why it still state the error no librray

0693W00000Y7fGZQAZ.png 

3 REPLIES 3
Tilen MAJERLE
ST Employee

You have, somewhere, included cmsis_os.h file, that is not present anymore. From the error, you did it in TouchGFXConfiguration.cpp file.

oh why it not automatically uninclude all the library when i disable the freertos function? btw is it compulsory to use the Freertos if using the touchgfx?

Hello,

You can use whatever OS you wish with TouchGFX, for example the STM32U599dk TBS uses ThreadX and the STM32G0nucleo does not use any (bare metal).

There is an article on the online documentation on how to disable Freertos that might help you. The reason why it automatically does not unincluded all libraries is often done on purpose as we do not want to delete things that were not meant to (unclicked by accident for example) especially for sections with custom codes. Now in this case I am not sure exactly but like Tilen said just delete the lines, links and files yourself.

/Romain