How to change target/code generator command from IAR to Keil in Touch GFX 4.10?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-17 5:46 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-17 11:22 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-18 1:54 AM
- 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.
- 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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-18 3:02 AM
​Edit the .touchgfx file (For 4.10 projects).
"PostGenerateCommand": "touchgfx update_project --project-file=..<some_path>/project.uvprojx",
