Skip to main content
HPate.12
Associate II
February 22, 2023
Question

Adding folders to Include Directories are showing up empty. How do I fix this?

  • February 22, 2023
  • 5 replies
  • 4224 views

Trying to get started with a Nucleo board and STM32CubeIDE. I added directories via Paths and Symbols under Includes, however, the folders/directories (STM32C0xx Include, CMSIS Include, HAL Driver Inc) show as empty in the IDE. How can I fix this?

0693W00000aHRdIQAW.png

This topic has been closed for replies.

5 replies

KnarfB
Super User
February 22, 2023

With Paths you can add any folder(s), those are not neccessarily project folders. Just info for the compiler/linker command line.

Where is the project/folder structure from?

If you start with a new STM32 project using STM32CubeMX, you should get a clean project and folder tree.

hth

KnarfB

HPate.12
HPate.12Author
Associate II
February 22, 2023

I would like to see the .h files that are in the STM32C0xx/Include folder listed in the IDE. Currently, it is showing as an empty folder.

Pavel A.
February 22, 2023

If you mean the item "Test/Inc" under Includes - it doesn't expand likely because of Eclipse bug. I've tried several variants but could not make it expand. Just another bug, not a big deal.

The files should be visible under the 3rd folder, "Inc".

Of course you can fix this if you are motivated enough. Eclipse is open source.