This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
// Wierd? // the text "bar" does not appear in the .map, although storage seems to be allocated in TI.persistent segment anonymously at 0xC400 #pragma PERSISTENT static int bar=1; // Normal // text "zed" appears in .map, and storage seems to be in TI.persistent segment at 0xC402 #pragma PERSISTENT int zed=2;
It is not a big problem. Just something I noticed while chasing another issue. Is there a reason that the symbol bar is not in the .map file?
By default, static variables do not appear in the map file. To see them, add the option --mapfile_contents=sym_defs to the link command.
Thanks and regards,
-George