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

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

Re: [avr-gcc-list] Non initialized data in EEPROM


From: dimax un
Subject: Re: [avr-gcc-list] Non initialized data in EEPROM
Date: Thu, 7 Dec 2006 15:50:48 +0200

I do not want to strip the whole eeprom section but some array in it.
BTW what if I will initialize array in eeprom with 0xFF. Can it make
avrdude to skip pages that are totally FF'ed ?


On 12/7/06, Erik Christiansen <address@hidden> wrote:
On Thu, Dec 07, 2006 at 10:41:26AM +0200, dimax un wrote:
>
> As far as I can see I will have to declare special section without
> "loadable" flag so that it will not be taken to produce image. This
> may require to access linker scripts and I do not want to do it very
> much. Probably there is any other option?

You could add  --remove-section=.eeprom to the avr-objcopy command
producing the hex file.

Erik


_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list



--
;-------------------------------------------------------
; Micro connection to the MacroVision
; http://www.xdimax.com
;--------------------------------------------------------




reply via email to

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