I use the tool menu with the following command :
fromelf -s -o T:\TGIP\fichiers_uVision3\TGIP_BM.sym T:\TGIP\fichiers_uVision3\ObjectFiles\TGIP_BM.axf
But I want to change the output file name TGIP_BM.sym to GIP.D.1.56.sym
this name coming from a constant defined in my code
const CHAR cGIPVersion[] = "VER=GIP.D.1.56";
How can I write a macro called after compiling which could get the variable string ?
When I use eval cGIPVersion in the Command tab in replies with the address : cGIPVersion 0x000344CC
but not with the content....
make "VER=GIP.D.1.56" part of the build .bat and include it as an external value to the linker to get it inside the code. Then use it for the fromelf command string.
Erik
View all questions in Keil forum