Tool/software: Code Composer Studio
Hello all
I had a working GEL script in CCS5.4 that uses the GEL_file_dir macro to load sections in the following way:
#define SYMBOL_FILE_PATH "$(GEL_file_dir)\\..\\Development\\Development.out"
Into the OnHalt() function I called:
GEL_SymbolHideSection(SYMBOL_FILE_PATH, SECTION_NAME_1);
After migrating to CCS6.1.1, the GEL script reports the following error:
"GEL: Error while executing OnHalt(): D:\CCSWOR~1\MyProject\..\Development\Development.out is not a loaded symbol file.
at GEL_SymbolHideSection("$(GEL_file_dir)\..\Development\Development.out", ".asmFunctions") [runtime_relocation.gel:49]
at OnHalt()"
The path in the error message is the correct one. When I set the path as absolute path, then it works as expected.
Any idea?
Thanks
Aedu
Edit: Just find out that the line
GEL_TextOut("$(GEL_file_dir);
does not produce the same output in CCS5.4 and CCS6.
CCS5.4 writes the correct path to the console, while CCS6 trims long folder names (e.g. "CCSWORKSPACE" becomes to "CCSWOR~1" ) . Does this cause my problems?