cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE files tree

PSpee.2
Associate II

I followed and reproduced the video https://youtu.be/NFljjd_vQGA.
I reproduced it using an STM32F429I-DISC1 module, and it works.
In Windows Explorer, among the files created by the TouchGFX generator, you can see the file tree of a CubeIDE project: /core, /drivers, /middleware, etc.
However, the IOC file does not have the same name as the project.
When you double-click on the .project file (as shown in the video, in the STM32CubeIDE folder),
inside the CubeIDE environment you see a different file tree compared to Windows Explorer:

The project name has become: STM32F429I_DISCO_REV_D01
No /core/src and /core/inc folders
main.c is located in /application/user
No main.h
No link to open TouchGFX Designer
etc.

What should be done to get back to a “standard” CubeIDE project?

2 REPLIES 2
mƎALLEm
ST Employee

Hello,

Sorry for my curiosity, why you need the CubeIDE tree view needs to reflect the windows explorer view? even in the video if the speaker expanded the project explorer in CubeIDE the content will be as you described.

For STM32F429I_DISCO_REV_D01, if you created the project from TouchGFX designer based on TBS board, the generated project will be named to the board name by default .

TouchGFX designer file needs to be opened from the local folder \TouchGFX

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Hi,

and thank you for your answer.

I don’t want the tree structure to be identical to Windows Explorer,
but I was hoping that an application developed with TouchGFX, once integrated into CubeIDE,
would have a tree structure identical to a project created directly in CubeIDE (/include, /core, /drivers, /middleware, /debug and the .ioc file).
For example, in the tree structure, the /core folder no longer exists, and main.h can’t be found (except in Windows Explorer).
I asked an ''AI'' about the correct way to develop a TouchGFX project and here is the answer:
You need to separate the IDE/MX project from the TouchGFX project.
So I created an IDE application based on the F429I-DISC1 module and saved it in /My_F429I/IDE_MX,
and created a TouchGFX application using the same board template and saved it in /My_F429I/IHM.
I therefore have the two applications in two different folders.
This allows me to modify IDE/MX without affecting IHM and vice versa.
Because in the first approach (TouchGFX Application, then launching the project via /CubeIDE/.project),
at the slightest code generation in CubeMX, nothing worked anymore (white screen).
So, with my two folders IDE_MX and IHM, I copied the TouchGFX folder from IHM to the root of the CubeIDE project.
In Properties → C/C++ → Path and Symbols → Include, I added the folders App, Assets, Config, generated, gui, target.
After compilation, I have no errors.
I would like help to integrate the TouchGFX application into my CubeIDE environment,
to be able to upload it to the F429I-DISC1 board and get a working result such as a red background with a button.
Thank you for your help.