TouchGFX 4.20.0 working with CubeIDE 1.10.1, how do I open and work with the TouchGFX project in CubeIDE?
I'm using a STM32F429I-DISC1 board. I can create a display in TouchGFX and it creates the project in the default location "C:\TouchGFXProjects\Display". It makes an IOC file in the "Display" folder "STM32F429I_DISCO_REV_E01.IOC" It makes a "STM32CubeIDE" folder with a " dot project" file (no IOC file for the CubeIDE project).
When I try to open the "IOC" file I get an error "Invalid Input: Must be IFileEditorInput".
When I open the "dot project" file in the STM32CubeIDE folder, CubeIDE imports the project and I can load/debug the board. But I don't have the "IOC" file that matches the project to edit and configure the MCU.
If I import the "C:\TouchGFXProjects\Display" with the "IOC", CubeIDE seems to make a new copy of the project, and editing the imported "IOC" file doesn't update the correct project files.
I can copy the "IOC" file into the "CubeIDE" project, and rename the "IOC" so it matches the project name. Changing the copied "IOC" doesn't update the files in the Cube project, it seems to be linked to the TouchGFX files.
Reading and watching the Demo's from ST, it seems like the workflow is:
- create the TouchGFX project and display, generate the code.
- open the IOC file generated by TouchGFX, enable analogs/timers etc. save it.
- open the cube IDE "dot project" and write the "USER" code to go along with the changes made in the IOC.
The code generated by the IOC don't update the cubeIDE project that TouchGFX creates.
Is there thread that covers the "correct" way to get the TouchGFX IOC file to update the CubeIDE project that I'm missing? Or the the correct work flow to keep the project files in synch? It seems like the biggest issue is not being able to open the IOC file in CubeIDE, but maybe that's by design? The "getting started" info I've found so far suggest the 3 steps above are what I should be doing. Some instructions jump from TouchGFX to CubeIDE and don't cover which files are opened in CubeIDE (ie, the main.c in the TouchGFX folder or main.c in the CubeIDE folder)
Thanks for your help.