Hi,
I'm using MCUxpresso IDE and I want to change the linker script so I'll be able to see the size of of my project in the my flash.
The issue is i can't edit the script no matter what I didn't succeed to delete it or change it.
Please anyone can advise what should I do.
Thanks in advance.
Solved! Go to Solution.
This is usually done with the GNU 'size' (https://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/ ) utility (see https://mcuoneclipse.com/2020/01/10/listing-code-and-data-size-for-all-files-with-the-gnu-size-utili... ) and the MCUXpresso IDE has all the support for it.
Check your build steps:
Additionally there is a setting to print the memory usage here:
I hope this helps,
Erich
the size in your flash would be the size of the binary you're flashing in, not the elf.
This is usually done with the GNU 'size' (https://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/ ) utility (see https://mcuoneclipse.com/2020/01/10/listing-code-and-data-size-for-all-files-with-the-gnu-size-utili... ) and the MCUXpresso IDE has all the support for it.
Check your build steps:
Additionally there is a setting to print the memory usage here:
I hope this helps,
Erich