Skip to main content
SSamp.1
Associate
November 17, 2020
Question

How to change target/code generator command from IAR to Keil in Touch GFX 4.10?

  • November 17, 2020
  • 3 replies
  • 1495 views

I have a project old existing project developed using touch gfx 4.10 wih keil. When I compile this using Keil it's all working fine. Now, I'd like to make changes to the GUI so I tried opening the .touchgfx file using the 4.10 version and generate code is failing as I see in the detailed log it uses target as IAR. I'd like to change this to Keil

This topic has been closed for replies.

3 replies

Martin KJELDSEN
Principal III
November 18, 2020

Can you share the log? Most likely you just need to change the PostGenerateCmd in the .touchgfx file to point to the right project file to update (is .ewp, should be .uvprojx)

/Martin

SSamp.1
SSamp.1Author
Associate
November 18, 2020
  1. Thanks for getting back to me. Below is the config of touch gfx 4.15 where I can change the post generate command to .uvprojx and code generation is successful. But when I compile the code project using Keil, the generate files throws up errors. I've copied the log below.

  1. However this config option is missing in 4.10 so I'm not able to regenerate the code using 4.10. How do I change the post generate command in 4.10 which defaults to IAR in my Touch GFX?

0693W000005BmicQAC.png 

Martin KJELDSEN
Principal III
November 18, 2020

​Edit the .touchgfx file (For 4.10 projects).

"PostGenerateCommand": "touchgfx update_project --project-file=..<some_path>/project.uvprojx",