From 185257f0a2d4a7b3c35c15b0cd6d4b3d6b0cdf56 Mon Sep 17 00:00:00 2001 From: gitknilch Date: Thu, 24 Mar 2011 19:18:38 +0100 Subject: [PATCH] rule to create eeprom binaries --- firmware/fnordlicht-firmware/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 $< > $@ -- 2.39.5