From: Michel Date: Wed, 10 Mar 2010 18:08:02 +0000 (+0000) Subject: Makefile: Include eeprom data in .hex files X-Git-Tag: v1.0a1~1 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=6aca02e8e4ff9d146e865b79d99a5b32cee1e7aa;p=sx%2Fsimavr.git Makefile: Include eeprom data in .hex files Now that the loader can load them, include the eeprom section in the .hex files generated for the examples Signed-off-by: Michel Pollet --- diff --git a/Makefile.common b/Makefile.common index d4bab23..182c432 100644 --- a/Makefile.common +++ b/Makefile.common @@ -48,7 +48,7 @@ endif # otherwise the --gc-sections will delete it. %.hex: %.axf - @${AVR}objcopy -j .text -j .data -O ihex ${<} ${@} + @${AVR}objcopy -j .text -j .data -j .eeprom -O ihex ${<} ${@} %.s: %.axf @${AVR}objdump -j .text -j .data -j .bss -d ${<} > ${@}