cancel
Showing results for 
Search instead for 
Did you mean: 

How to add FlashTargetCommand entry to TouchGFX project created in CubeMX - IDE.

MM..1
Chief II

Generator create this part not exist in touchgfx project file. But is fine have it here for direct compile and flash. Why this isnt used? Howto add make ... flash here manualy?

11 REPLIES 11

Ok unzip on pc with installed TouchGFX 4.15 open directly .touchgfx file from my example project.

Click Run Target ... result is green compiled code without errors

Add for example button

Click Run Target and you see error = my gui designer cant work on real hw.

Click Run simulator and this work...

MM..1
Chief II

@Alexandre RENOUX​ i save your time, solution for my problem is change Compile Target command to :

cd c:\ST\STM32CubeIDE_1.1.0\STM32CubeIDE\ && headless-build.bat -project Ex_ST_DSI/Debug -workspace C:\Users\Public\CubeWorkspace -build -console

++folders need be changed to user installed places,

but installed CubeIDE is required. I still see idea to TouchGFX implement functional compile and flash, hope developers do it.