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.

Compiler/TMS320F28379D: Unexpected CODE, CONST, and DATA sizes

Part Number: TMS320F28379D

Tool/software: TI C/C++ Compiler

Greetings,

I commented out a section specifier in my command file for a field which consumes a total of 16 words and uses no data, and received the expected warning. However, the sizes are all much larger than expected. Are these the sizes for the section into which it was placed?

warning #10247-D: creating output section "<My_Section>"

FILE: <MyProject>.out

   without a SECTIONS specification

CODE size (bytes): 6957

CONST size (bytes): 287

DATA size (bytes): 3360

 Thank you,

 Ed

  • Please build your project two times.  Once with this in place ...

    Ed Sanders said:
    I commented out a section specifier in my command file

    and once without it.  Collect the linker map file from each build.  Give them descriptive names like section_commented_out.map and section_included.map.  Put them in a zip file, then attach that zip file to your next post.  In the comparison between these two map files, please describe what is present that you do not expect, and what is missing that you do expect.

    Thanks and regards,

    -George