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.

CCS: CCS 8.3 Determining code size of a library.

Other Parts Discussed in Thread: MSP430F2272

Hi,

I'm reading this http://www.ti.com/lit/an/slaa368a/slaa368a.pdf doucment and noticed that in section 4 Code Size TI has made a table with the code size in bytes.

I am wondering how I can measure this in CCS? I the have .c and .h files for different modules. I am using the MSP430F2272 microcontroller.

 

  • I don't know how code size was determined for that particular document.

    They may have used the linker map file.  This file is generated by the linker when you use the option --map_file=filename.  In CCS projects, this file is usually named name_of_project.map.  It is a text file viewed with the same editor you use on your C or C++ source files.

    They may have used the utility sectti from the cg_xml package.

    Thanks and regards,

    -George