From: gitknilch Date: Thu, 24 Mar 2011 18:18:38 +0000 (+0100) Subject: rule to create eeprom binaries X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/fnordlicht-mini/commitdiff_plain/185257f0a2d4a7b3c35c15b0cd6d4b3d6b0cdf56?hp=8bedc79d1511e2b3cb4998669beb27d84b42adc6 rule to create eeprom binaries --- diff --git a/firmware/fnordlicht-firmware/Makefile b/firmware/fnordlicht-firmware/Makefile index c18e3ba..10f1022 100644 --- a/firmware/fnordlicht-firmware/Makefile +++ b/firmware/fnordlicht-firmware/Makefile @@ -216,6 +216,9 @@ program-eeprom-%: %.eep.hex %.eep.hex: %.elf $(OBJCOPY) --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex -j .eeprom $< $@ +%.eep.bin: %.elf + $(OBJCOPY) --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O binary -j .eeprom $< $@ + %.lss: %.elf $(OBJDUMP) -h -S $< > $@