Linker Script

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linker Script

Jump to solution
653 Views
Guy_mego
Contributor II

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. 

0 Kudos
Reply
1 Solution
646 Views
ErichStyger
Specialist I

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:

ErichStyger_0-1687187086141.png

Additionally there is a setting to print the memory usage here:

ErichStyger_1-1687187149210.png

I hope this helps,

Erich

 

View solution in original post

2 Replies
644 Views
_angelo_
Contributor III

the size in your flash would be the size of the binary you're flashing in, not the elf.

0 Kudos
Reply
647 Views
ErichStyger
Specialist I

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:

ErichStyger_0-1687187086141.png

Additionally there is a setting to print the memory usage here:

ErichStyger_1-1687187149210.png

I hope this helps,

Erich