2020-04-29 05:50 AM
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):
The Core and TouchGFX directories are there. Basically, the Project Explorer view is the similar what Windows Explorer shows:
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:
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:
The previous thread this question was asked (which I hi-jacked):
2020-08-17 05:47 AM
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