[Top][All Lists]

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

Re: [avr-gcc-list] file length problem with atmega128

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] file length problem with atmega128
Date: Mon, 10 Feb 2003 10:12:07 +0100 (MET)

Brian Dean <address@hidden> wrote:

> Try using 'avr-size' on your ELF output file.  For example, on one of
> my programs it produces:
>       % avr-size m128diag.elf
>          text    data     bss     dec     hex filename
>         16884     218     957   18059    468b m128diag.elf
> This program uses 16884 bytes of flash, and 218+957=1175 bytes of RAM.

No, it uses 16884+218=17102 bytes of flash. :-)

Somehow, the initialization values for "data" need to transfered,

Btw., the plain avr-size command without options is not very
meaningful.  The SysV compatible output (avr-size -A) tells a bit
more.  In particular, it tells the .eeprom section apart from .data
which the default (BSD-like) output doesn't; it simply adds .eeprom to

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

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