Mercurial > ~darius > hgwebdir.cgi > avr
changeset 20:59c7fcf10ea0
Copy the correct segments into the flash image otherwise pre-declared
variables don't work.
author | darius |
---|---|
date | Mon, 12 Dec 2005 22:57:46 +1030 |
parents | 8dc98a293e43 |
children | e82d15fa9a1a |
files | Makefile.avr |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.avr Mon Dec 12 15:42:03 2005 +1030 +++ b/Makefile.avr Mon Dec 12 22:57:46 2005 +1030 @@ -38,7 +38,7 @@ ${CC} ${CFLAGS} ${LDFLAGS} -g ${OBJS} -o ${PROG}.elf ${LDADD} .elf.hex: - ${OBJCOPY} -j .text -O ihex $> $@ + ${OBJCOPY} -j .text -j .data -j .bss -j .noinit -O ihex $> $@ .elf.dmp: ${OBJDUMP} -S ${.IMPSRC} > ${.PREFIX}.dmp