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.

Memory Allocation View Summation Discrepancy

I'm using CCS v6.1.1. After building my application I access the Memory Allocation view to see its memory footprint. However, there is a discrepancy between the stated total summation of sections in FRAM and the total I get by manually adding the sizes. 

In the image below, the stated total of FRAM is 2068 bytes; manually adding the subsections gives 1050 bytes. Anyone have an explanation?

  • Hi Chad,
    Can you attach the generated map file for the project?

    Thanks
    ki
  • Unfortunately I cannot due to project restrictions. I realize this limits the help others can provide. I suspect that this is related to compiling for C++. We converted a couple existing modules originally written in C++ to C and the discrepancy was reduced. Are there any general compiler options to reduce the overhead of C++?

    Here is a copy of our Language options. Everything seems to suggest we are compiling for a minimal implementation of C++.

  • Any chance it would be possible to give me just the map file via private conversation?