2025-06-01 11:53 AM
Hello everyone,
I'm completely stuck and could really use some help.
I’ve been trying to integrate TouchGFX into my project and wanted to set up this example: https://github.com/maudeve-it/ILI9XXX-XPT2046-STM32 which provides functions to handle SPI-based TFT LED touch displays (480x320 or 320x240) controlled by an ILI9488 or ILI9341 + XPT2046.
However, I'm facing issues getting it to work on my Nucleo H755ZIQ board. I’ve added TouchGFX to my project but can't seem to make any progress.
Any guidance would be greatly appreciated!
It looks like STM32CubeMX is creating the correct folder structure.
Now I'm getting 64 fatal errors.
I also tried generating a TouchGFX GUI code, and now I'm getting this error.
I tried solving it as described here: https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/cannot-build-project-with-cubeide-undefined-reference-to/td-p/699214
The project has already been converted to C++.
I have also added all the Folder
I keep getting the same errors. I would really appreciate any help. Thank you very much.
Solved! Go to Solution.
2025-06-02 6:36 AM
Hello @ThomasBader ,
You have to first generate code throught STM32CubeMX, then generate code through TouchGFX and then you can build in STM32CubeIDE.
When you generate code in STM32CubeMX, mak esure to UNcheck the "generated under root" checkmark :
Also, your fodler structure is not really identical to the dual cortex TBS available in TouchGFX Designer.
You can start a project with a dual core such as the STM32H745-dk to see how we implemented TouchGFX on this kind of device.
Regards,
2025-06-02 6:36 AM
Hello @ThomasBader ,
You have to first generate code throught STM32CubeMX, then generate code through TouchGFX and then you can build in STM32CubeIDE.
When you generate code in STM32CubeMX, mak esure to UNcheck the "generated under root" checkmark :
Also, your fodler structure is not really identical to the dual cortex TBS available in TouchGFX Designer.
You can start a project with a dual core such as the STM32H745-dk to see how we implemented TouchGFX on this kind of device.
Regards,
2025-06-02 11:25 AM
Thank you so much for your help! It has been incredibly valuable, and now I can finally move forward with my project.