Skip to main content
Caan
Associate III
February 22, 2026
Solved

STM32CUBEMX 6.16.0/6.16.1 Not generating full code for Touchgfx

  • February 22, 2026
  • 2 replies
  • 144 views

I am trying to build a project using STM32CUBEMX 6.16.0 and 6.16.1 but the ioc file doesn't export the full supporting header file for the touchgfx.

Best answer by MHoll.2

You have to run (at least once) the code generation in TouchGFX 4.26.0 Designer (the Windows PC application is normaly where You have the STM32Cube repository: 

C:\Users\<YourUsername>\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-TOUCHGFX\4.26.0\Utilities\

Open the (generated) ApplicationTemplate.touchgfx.part file in TouchGFX designer and click the "Generate Code" Button.

2 replies

MHoll.2
MHoll.2Best answer
Senior III
February 22, 2026

You have to run (at least once) the code generation in TouchGFX 4.26.0 Designer (the Windows PC application is normaly where You have the STM32Cube repository: 

C:\Users\<YourUsername>\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-TOUCHGFX\4.26.0\Utilities\

Open the (generated) ApplicationTemplate.touchgfx.part file in TouchGFX designer and click the "Generate Code" Button.

Caan
CaanAuthor
Associate III
February 23, 2026

Thank You, Your solution worked.