Reputation: 357
I would like to know how much data memory and how much program memory i've used on my microcontroller (a cortex M4)?
I am using code composer studio from texas instruments.
Upvotes: 1
Views: 1269
Reputation: 1
The linker command file (.cmd) tells you to which blocks of memory the different sections (.text, .ebss etc) are linked. Also the type (program or data) of the section is defined in the linker command file.
From the .map file you can then see how much memory is used from these blocks.
Upvotes: 0