Associate
January 6, 2026
Question
CubeMX + TouchGFX: problem generating .c and .h initialisation file pairs
- January 6, 2026
- 3 replies
- 409 views
Hi there,
I found an issue with the CubeMX 6.16.1 during the TouchGFX usage.
I generated the files by TouchGFX 4.26 (selected the Stm32h7s7 development board with 24bpp project) and opened the cubemx to generate the code (I've been using vscode so I changed only the toolchain/IDE to Cmake and and with these settings the project was flashed and worked everything correctly.
However, when I wanted to use the generate perpheral initialization as par of 'c/h' files and screen was struggled and couldn't read it's content. Nothing else was changed. In the visual studio I cleaned and rebuild the project but it did not work at all.
Would it be possible to solve this?
Thank you in advance!
