avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] bug in example


From: daniel_laptop
Subject: [avr-libc-dev] bug in example
Date: Wed, 30 Oct 2002 01:20:34 +1300

I think there is a bug in example program makefile at
(If I am wrong then there is something else I am missing ;-)
 
http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user-manual/demo_project.html

The lines for eeprom file creation need to set start address to zero
eg
$(OBJCOPY) -j .eeprom --change-section--lma .eeprom=0 -O srec $< $@
(as there is no eeprom use in the example program there are no errors at
present)

The line I use also has
--set-section-flags=.eeprom"alloc,load"
But I don't know what that does and output file is the same.

(Can someone point me at doc's for various flags
- objcopy man page only lists valid flags)

Thanks
Daniel






reply via email to

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