In CSS 5, is it possible to see what the text and data size of the program is without downloading the program into micro? The console shows it once you download the program, but is there a way to see it before downloading?
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.
In CSS 5, is it possible to see what the text and data size of the program is without downloading the program into micro? The console shows it once you download the program, but is there a way to see it before downloading?
Look at the linker map file. It is named something.map and is usually found right next to the something.out executable file. In a CCS project created with all the defaults, it will be in the Debug sub-directory. This is not the only way to go about it, but it is something you can use right away.
Thanks and regards,
-George
I could not figure out where it states the size of compiled text and data, any help wold be appreciated.
Thanks...
Well, it doesn't show the answer in a single tidy number. If you want that, try the script sectti in the cg_xml package.
Thanks and regards,
-George