# HG changeset patch # User darius # Date 1134390466 -37800 # Node ID 59c7fcf10ea09750206db93e51e74b8616396532 # Parent 8dc98a293e439f57c8d2c571c4c8beed9d8227b8 Copy the correct segments into the flash image otherwise pre-declared variables don't work. diff -r 8dc98a293e43 -r 59c7fcf10ea0 Makefile.avr --- 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