cancel
Showing results for 
Search instead for 
Did you mean: 

Can't include new folders in STM23CubeIDE project?

JWood
Associate II

I've created a new folder inside the User directory where main.c is, but when adding the path in the includes list it still can't find it?

I've done it exactly the same way as the other two but for some reason it's just not working now.

If I move the files into another folder that's been included earlier it works just fine.

3 REPLIES 3
Cartu38 OpenDev
Lead II

Your directory has to be set as source entry.

Rely on project context menu then Properties > C/C++ General > Paths and Symbols.

Or on your folder context menu rely on resources in order to include it to the build.

By the end a small green C overlay icon has to be added to your folder.​

0693W000003PIRvQAO.jpg

dbgarasiya
Senior II

Follow this instructions , you will able to do this

dbgarasiya
Senior II

have you tried ?