Skip to main content
Associate II
July 1, 2026
Question

TouchGFX Project - Folder Structure Understanding

  • July 1, 2026
  • 1 reply
  • 21 views

Hello,

When I right-click - create a new .c source file in a new STM32CubeIDE TouchGFX project, the file gets created in the STM32CubeIDE/Appli/Application/User/Core directory.  However, all the project source files are under Appli/Core/Src and headers in Appli/Core/Inc.  

Is this normal and ok?  Why have the separate source file locations?

Thank you

 

1 reply

Osman SOYKURT
ST Technical Moderator
July 2, 2026

Hello ​@Cococarbine ,

I don’t really understand the issue, or how to replicate the issue.
On my side, when I right click on any folder of my project in my tree view in STM32CubeIDE, I can indeed create a source file, and it ends up in the correct place in my project when checking the system explorer.*

 

 


 

 


 

 

 

 

ST Software Developer | TouchGFX
Associate II
July 2, 2026

Hi Osman,

No issue, I was just not sure the difference between the source files in the project’s TouchGFXProject/Appli/Core/Src folder containing main.c




versus the TouchGFXProject/STM32CubeIDE/Appli/Application/User/Core folder where all my new .c source files get created.