Skip to main content
Southbranch
Senior
May 17, 2024 9:14 AM UTC
Solved

Code for TouchGFX demo STM32U5G9?

Hi!

Is there download link for the code in this demo. ?

More specifically, I am interested in the code that generates the FPS and MCU load.

Thanks in advance

This topic has been closed for replies.
GaetanGodart
GaetanGodartBest answer
ST Employee
May 17, 2024 2:01 PM UTC

Hello @Southbranch ,

 

At the moment the only way you can get the source code of this demo is by creating a project in TouchGFX Designer.

First, if it is not done yet, download TouchGFX.

Open TouchGFX Designer, click on Demos, then select "Demo 7".

Finally, "Select board setup" at the top and select a board with 800x480 resolution such as the STM32U5G9 and then you can create the project.

GaetanGodart_1-1715954353942.png

You can now click on "Generate code" a the bottom right, then open the file location and here you can find all the c++ and c files.

 

If this answers your question, I invite you to select this comment as "best answer".

 

Regards,

Gaetan GodartSoftware engineer at ST (TouchGFX)

9 replies

GaetanGodart
GaetanGodartBest answer
ST Employee
May 17, 2024 2:01 PM UTC

Hello @Southbranch ,

 

At the moment the only way you can get the source code of this demo is by creating a project in TouchGFX Designer.

First, if it is not done yet, download TouchGFX.

Open TouchGFX Designer, click on Demos, then select "Demo 7".

Finally, "Select board setup" at the top and select a board with 800x480 resolution such as the STM32U5G9 and then you can create the project.

GaetanGodart_1-1715954353942.png

You can now click on "Generate code" a the bottom right, then open the file location and here you can find all the c++ and c files.

 

If this answers your question, I invite you to select this comment as "best answer".

 

Regards,

Gaetan GodartSoftware engineer at ST (TouchGFX)
ferro
Lead
Apr 14, 2025 1:47 PM UTC

Hi @GaetanGodart 

The YT video below shows Demo 7 with 'Font' example at 2m27s.

https://www.youtube.com/watch?v=MqBqnPLM-wM&t=147s

 

ferro_0-1744644931641.png

 

 

However the Font example is missing in  Demo 7 in  GfxDesigner 4.25.

Where can I find Font example please ?

Thank you

 

GaetanGodart
ST Employee
Apr 14, 2025 4:08 PM UTC

Hello @ferro ,

 

It is likely that we shared an alpha version for the video but ultimately decided to remove the text example from that demo, perhaps it wasn't displaying all the capabilities of the board.

There are a few text examples available on TouchGFX Designer 4.25.0 :

GaetanGodart_0-1744646862715.png

 

Regards,

Gaetan GodartSoftware engineer at ST (TouchGFX)