Skip to main content
andy2399
Senior
July 25, 2023
Solved

Why does TouchGFX rebuild all when not required to do so?

  • July 25, 2023
  • 1 reply
  • 1051 views

I built a project from within TouchGFX and clicked the Run on Target button. Unfortunately, I forgot to plug STLink into my target board so programming failed. I connected STLink and clicked the Run on Target button again and it went and compiled ALL source code again before downloading it to my board - why does it do this ???

Andy

This topic has been closed for replies.
Best answer by Mohammad MORADI ESFAHANIASL

Hello @andy2399 ,

Pressing either "Run Simulator" or "Run Target" will start the process of compiling and starting/flashing from the beginning. In order to run a specific instruction, you can use TouchGFX Environment, which is an CLI tool. You can start TouchGFX Environment by searching for it in your windows search, or going to the TouchGFX installation folder/env/MinGW/msys/1.0 and running msys.bat 

You can also see the instructions used by the TouchGFX Designer in the Log View section.

Hope this has answered your question. 

1 reply

ST Employee
July 25, 2023

Hello @andy2399 ,

Pressing either "Run Simulator" or "Run Target" will start the process of compiling and starting/flashing from the beginning. In order to run a specific instruction, you can use TouchGFX Environment, which is an CLI tool. You can start TouchGFX Environment by searching for it in your windows search, or going to the TouchGFX installation folder/env/MinGW/msys/1.0 and running msys.bat 

You can also see the instructions used by the TouchGFX Designer in the Log View section.

Hope this has answered your question. 

Mohammad MORADIST Software Developer | TouchGFX