Part Number: TMS320F28377S
Tool/software: TI C/C++ Compiler
Hello
I just seen this:
All variable declared in "static" at the top of a c file are not enumerated into the .map file.
Why?
Thank
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.
Part Number: TMS320F28377S
Tool/software: TI C/C++ Compiler
Hello
I just seen this:
All variable declared in "static" at the top of a c file are not enumerated into the .map file.
Why?
Thank
To see the static variables in the map file, add the option --mapfile_contents=sym_defs when linking. Please read more about that option in the C2000 assembly tools manual.
Thanks and regards,
-George
Unfortunately, TI has no solution which does precisely this ...
A GIR said:a global RAM mapping sorted by address.
But there are some partial solutions for you to consider. Use the names utility nm2000 with the option -n. Or, use the disassembler dis2000 with the option --all. Both of these utilities are documented in the C2000 assembly tools manual.
Thanks and regards,
-George