Skip to main content
JWood
Associate II
Aug 11, 2020 6:59 PM UTC
Question

Can't include new folders in STM23CubeIDE project?

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.

This topic has been closed for replies.

3 replies

Cartu38 OpenDev
Graduate II
Aug 11, 2020 7:13 PM UTC

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
Aug 14, 2020 3:53 AM UTC

Follow this instructions , you will able to do this

dbgarasiya
Senior
Aug 19, 2020 3:32 AM UTC

have you tried ?