Skip to main content
Angle
Associate III
January 9, 2023
Question

Error when disable the FreeRtos function

  • January 9, 2023
  • 3 replies
  • 2173 views

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 

This topic has been closed for replies.

3 replies

Tilen MAJERLE
ST Employee
January 9, 2023

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

Angle
AngleAuthor
Associate III
January 10, 2023

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?

Romain DIELEMAN
ST Employee
January 10, 2023

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