Skip to main content
JWood
Associate II
August 11, 2020
Question

Can't include new folders in STM23CubeIDE project?

  • August 11, 2020
  • 3 replies
  • 1154 views

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
August 11, 2020

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
August 14, 2020

Follow this instructions , you will able to do this

dbgarasiya
Senior
August 19, 2020

have you tried ?