Skip to main content
This topic has been closed for replies.

11 replies

Imen GH
ST Employee
May 31, 2021

Hello,

Welcome to STM32 Community!

Please check the include Paths

 ==> Go to Project options ->C/C++ tab->Include paths and add new paths to your include directories

 Imen 

Imen GH
ST Employee
May 31, 2021

You can also refer to the FreeRTOS example under STM32Cube directory:

Repository\STM32Cube_FW_F4_V1.26.1\Projects\STM32F412G-Discovery\Applications\FreeRTOS

You can check this example and get inspired from them to configure your files 

Imen

IDemi.1
IDemi.1Author
Associate
June 4, 2021

hello, thanks for your reply, sorry for the late reply, as you said, I checked the included paths from the project options and as you can see in the picture, I added three new paths and the errors I got were resolved, but this time other errors appeared.

this is the file config i made

0693W00000BaA6UQAV.png 

these are the new errors i got

0693W00000BaA7IQAV.png

IDemi.1
IDemi.1Author
Associate
June 4, 2021

I checked the undefined reference errors about stm32 on the internet but I couldn't find anything useful

and sorry for my bad english

Piranha
Principal III
June 5, 2021

Well, then learn using the Internet first... The "undefined reference" error means that there are no actual function implementation, which typically means that the corresponding *.c files are missing or not compiled.

IDemi.1
IDemi.1Author
Associate
June 6, 2021

I know how to use the internet before I opened this topic, I looked at dozens of websites and i couldn't find a useful answer and I hope I'll write it here, by the way, thanks for your help, I tried to implement what you said, but it didn't work and I sorry for my bad English.

IDemi.1
IDemi.1Author
Associate
June 6, 2021

I think I should improve myself a little more on cube ide and c programming instead of dealing with the rtos issue for the moment.

IDemi.1
IDemi.1Author
Associate
June 6, 2021

see you

PVOKH.1
Visitor II
November 30, 2021

Hello! we have found a solution to this problem, it is a little unusual.

Try installing CubeIde on another computer, then create a project there and add FreeRTOS. Then move this project to CubeIDE with the malfunction and build. In our case, the problem was solved

SArbo.1
Visitor II
September 8, 2022

See the FreeRTOS demo for the STM32F429I-DISC1 discovery board... It works. So far I haven't been able to get it to work on the Nucleo STM32F411re.... Maybe some changes to the drivers specific to the boards......

ASchu.6
Visitor II
March 8, 2023

I had the exact same issue, and it was caused by a special character in my username, hence reflecting in the include paths used by the IDE I guess. I solved the issue by moving my workspace to another place in my disk, outside my user directory (next to Cube IDE installation files for example).\

The wd path went from: C:\Users\User_with_special_char_(\STM32CubeIDE\workspace_1.11.2

To: C:\ST\workspace_1.11.2

Hope this helps anyone having the same problem!