cancel
Showing results for 
Search instead for 
Did you mean: 

Why isn't project structure started from a TouchGFX Application Template the same as one started from Stm32CubeIDE?

scottSD
Lead

I am asking this question in a new thread as I was hi-jacking another thread

The project structure displayed in Stm32CubeIDE's Project Explorer is quite different depending on where the project originated.

When a project is created in Stm32CubeIDE (from an IOC file, for example):

0693W000000WelaQAC.png

The Core and TouchGFX directories are there. Basically, the Project Explorer view is the similar what Windows Explorer shows:

0693W000000Weo5QAC.png

When a project is created using an Application Template and then opened in Stm32CubeiDE

Following this video: https://www.youtube.com/watch?v=eiPtQp4chG0

The Core directory and the TouchGFX directory are NOT included in the Project Explorer of Stm32CubeIDE. I do see that the TouchGFX gui files are located in Application / User / gui:

0693W000000WepNQAS.png

However, where are the hpp files (which are in the "include" directory in the file system)? The only way to view it is to manually open it or "drag and drop" Screen1View.hpp into CubeIDE.

And....when I attempt to open the declaration of a variable in Screen1View.cpp, CubeIDE does not take me there:

0693W000000Weq1QAC.png

The previous thread this question was asked (which I hi-jacked):

https://community.st.com/s/question/0D53W000004nHEXSA2/how-to-definitely-integrate-a-touchgfx-application-to-stm32cubeide-

1 REPLY 1
Alexandre RENOUX
Principal

Hello,

I highly recommend to start a project from a TouchGFX Application Template or at least from CubeMX if you want similar project structure.

All the Application Templates are made with CubeMX outside CubeIDE. We never use CubeIDE to create projects.

/Alexandre