TouchGFX Issues generating code for Cube IDE: GFX create Cube Proj or Cube Proj make GFX?
Hello,
I am having an issue with the relationship between TouchGFX(4.23.0) and STM32CubeIDE(1.14.0). Creating a TouchGFX project through a CubeIDE project and creating CubeIDE project through TouchGFX, seem to give differing results and challenges.
Parameters:
TouchGFX(4.23.0)
STM32CubeIDE(1.14.0)
STM32CubeMX(6.10)
STM32F429I-DISC1 (MB1075-F429I-E01)
STM32H7B3I Evaluation
CubeIDE project through TouchGFX
When creating a TouchGFX project with the STM32F429I-DISC1 board, I get the following:

Adding a button and generating the code yields the following project docs:

Opening the generated cproject file imports the following project:

Notice that the IOC(MX) file has a different naming convention. The project seems to be the a older board revision.
Note: I have seen and tried some online tutorials for adding the IOC file into the project, but this leaves the user needing to set up the .IOC file and I get the following message:

Not to mention several build errors.
TouchGFX project through a CubeIDE project
Next I tried the other route: Generating GFX files via cubeIDE like so:

Generating the project and selecting no for default pin values, I find myself at the IOC file where I need to select the TouchGFX middleware layer manually.


I would expect the IOC to know the dev kits screen size and configurations for buffers, ext RAM, etc. Nevertheless, after fixing the CRC enable issue, and screen size, and generating code, I get the following project:

I select the "ApplicationTemplate.touchgfx.part" to open the TouchGFX app, select a blankUI canvas, add a button and click generate code withini TouchGFX.

Refreshing the code in the CubeIDE and building project yields errors right out of the gate:

Both options have not been very intuitive. I have seen tutorials online where people are able to generate code from TouchGFX and simply open the cproject in STM. Their .IOC file is preset for TouchGFX and the specific dev board. I have tried the similar approaches using also the STM32H7B3I Evaluation board using GFX to generate my code. After having to manually setup touchGFX in the .IOC file I quickly ran out of RAM. My project is much smaller than even the demos, so I believe I do not have it configured correctly to use external RAM on the dev board.
In conclusion I am looking for guidance on best practices for generating a user interface file and editing project for customization in the Cube IDE. What am I do wrong?
Thanks for stopping by!
Isaac.

