avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Hex or Rom File size


From: E. Weddington
Subject: Re: [avr-gcc-list] Hex or Rom File size
Date: Fri, 15 Nov 2002 11:33:10 -0700

On 15 Nov 2002 at 10:04, Theodore A. Roth wrote:

> 
> 
> On Fri, 15 Nov 2002, E. Weddington wrote:
> 
> :) This is what the size program does. size is part of the binutils :)
> collection of programs. For the AVR target, size is renamed as :)
> avr-size. :) :) Binutils manual, size program: :)
> http://www.gnu.org/manual/binutils-2.12/html_mono/binutils.html#SEC8
> 
> There's a caveat to using avr-size. See the note in "The .text
> Section" here:
> 
> http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user-manual/
> mem_sections.html
> 

And if you're only interested in how much flash memory you will use, 
you can use avr-size on the final hex file:

avr-size --target=ihex output.hex

The Flash size will be under the hex heading in hexadecimal units.

Eric


avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]