Linker Script

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
388件の閲覧回数
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 件の賞賛
1 解決策
381件の閲覧回数
ErichStyger
Senior Contributor V

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

 

元の投稿で解決策を見る

2 返答(返信)
379件の閲覧回数
_angelo_
Contributor III

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

0 件の賞賛
382件の閲覧回数
ErichStyger
Senior Contributor V

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