]> git.zerfleddert.de Git - fnordlicht-mini/blobdiff - firmware/fnordlicht-firmware/Makefile
rule to create eeprom binaries
[fnordlicht-mini] / 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