]> git.zerfleddert.de Git - fnordlicht-mini/commitdiff
rule to create eeprom binaries
authorgitknilch <gitknilch@cwde.de>
Thu, 24 Mar 2011 18:18:38 +0000 (19:18 +0100)
committergitknilch <gitknilch@cwde.de>
Thu, 24 Mar 2011 18:18:38 +0000 (19:18 +0100)
firmware/fnordlicht-firmware/Makefile

index c18e3ba96a554819aaa36b21092a9f297d62876a..10f1022a6d047ef45e14d630c2efde40688dbf8f 100644 (file)
@@ -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.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 $< > $@
 
 %.lss: %.elf
        $(OBJDUMP) -h -S $< > $@
 
Impressum, Datenschutz