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

Multiple definition error

  • January 10, 2023
  • 11 replies
  • 5833 views

Hi, how can i solve the multiple definition error? what i do is just disable the freertos function and get this error

0693W00000Y7mfCQAR.png

This topic has been closed for replies.

11 replies

Romain DIELEMAN
ST Employee
January 10, 2023

Hello,

As you can see in the error log the project is looking for files in the Middlewares/Third_Party/FreeRTOS folder. I believe those files are removed from the project folder itself but not in the link path in STM32CubeIDE.

Try to remove them in the tree view on STM32CubeIDE and clean the Path settings as well in the properties settings.

0693W00000Y7oEDQAZ.png 

/Romain

Angle
AngleAuthor
Associate III
January 10, 2023

the freertos folder in link path also has been remove itself but i don't why it still state the error.

0693W00000Y7oGnQAJ.pngso try to create a new project and disable the freertos. I get these error, could you please advice me how to disable the freertos. what file and folder need to remove ?

im using stm32h750-dk eval board

0693W00000Y7oHgQAJ.png

Romain DIELEMAN
ST Employee
January 10, 2023

In the error log you can see that it complains about the " #include ... "

Go to TouchGFXConfiguration.cpp and remove it.

Same for the error in TouchGFXGeneratedHAL.cpp

Have a look at this article in the online documentation.

/Romain