From 6aca02e8e4ff9d146e865b79d99a5b32cee1e7aa Mon Sep 17 00:00:00 2001 From: Michel Date: Wed, 10 Mar 2010 18:08:02 +0000 Subject: [PATCH] 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 --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ${<} > ${@} -- 2.39.5