2026-02-05 12:18 AM
Hi, I've installed TouchGFX designer 4.26.0 on my laptop and i see a difference in behaviour to the previous versions.
The problem is that we want to update our IAR project ewp file as we change or add new items in our designer.
However we have issues when we do.
At the moment our designer makes the following change
<option>
<name>IlinkAdditionalLibs</name>
<state>$PROJ_DIR$\psi_board_lib.a</state>
<state>$PROJ_DIR$/../../lib/touchGFX/touchgfx/lib/core/cortex_m7/IAR9.x/touchgfx_core.a</state>
</option>changes to
<option>
<name>IlinkAdditionalLibs</name>
<state>$PROJ_DIR$\psi_board_lib.a</state>
<state>$PROJ_DIR$/../../touchgfx/touchgfx/lib/core/cortex_m7/IAR9.x/touchgfx_core.a</state>
</option>That would not be a problem if the new folder "$PROJ_DIR$/../../touchgfx/touchgfx/lib/core/" was not empty after every build.
I've tried to set the files back into that folder but every touchgfx build the folder is empty again. I've also tried to change my "touchgfx_path := ../lib/touchGFX/touchgfx" in the "touchgfx/config/gcc/app.mk" file but even that gets set back to default.
Also updating the config in "\touchgfx\config\msvs\Application.props" gets reverted back to standard.
Now i can't seem to run the following command
touchgfx update_project --project-file=../target/iar/project.ewpAs this command makes my IAR config invalid. I get errors like:
Fatal Error[Li001]: could not open file "C:\..\..\touchgfx\touchgfx\lib\core\cortex_m7\IAR9.x\touchgfx_core.a" (failed opening file: The system cannot find the path specified.because the lib\core folder is empty.
How can i make sure that we do not change this folder or if I place the correct files into that folder we do not end up with an empty folder again after each 'generate code' command in touchgfx designer?
Thanks