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.
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.
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.