Skip to main content
FJB2069
Senior
December 10, 2024
Solved

View Src and Inc files in Project explorer

  • December 10, 2024
  • 1 reply
  • 1139 views

I have read through a couple posts on this but did not get a clear answer.

I have two projects in a workspace.  One shows the tree as:  (This is how I want to see it!)

FJB2069_0-1733868134096.png

The other just shows Core with only .c files.

FJB2069_1-1733868290939.png

I can't see what is the difference as far as settings between the two projects that is causing this?

How do I show the Src and Inc as separate directories with all the .c and .h files listed?

 

 

 

Best answer by Karl Yamashita

In Windows Explorer, copy the Src and Inc folders (assuming those folders exist).

Then in STM32CubeIDE, paste them to the Core folder in the Project tree.

You'll see duplicate main.c and some other files with a link icon. You can delete those linked files. But quadspi.c and globe.c can't be deleted, but you should be able to drag them into the src folder. 

1 reply

Karl Yamashita
Karl YamashitaBest answer
Principal
December 10, 2024

In Windows Explorer, copy the Src and Inc folders (assuming those folders exist).

Then in STM32CubeIDE, paste them to the Core folder in the Project tree.

You'll see duplicate main.c and some other files with a link icon. You can delete those linked files. But quadspi.c and globe.c can't be deleted, but you should be able to drag them into the src folder. 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
FJB2069
FJB2069Author
Senior
December 10, 2024

Thanks, that worked!