]> git.zerfleddert.de Git - fnordlicht-mini/blobdiff - firmware/fnordlicht-firmware/Makefile
use patcheeprom instead of fixcrc, now
[fnordlicht-mini] / firmware / fnordlicht-firmware / Makefile
index 345a4c1ef2a43f0e3be6459f409b61c572f1c319..4b1167aef386577ba80c88150ca8d9655727ba69 100644 (file)
@@ -216,8 +216,10 @@ program-eeprom-%: %.eep.bincs
 %.eep.hex: %.elf
        $(OBJCOPY) --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex -j .eeprom $< $@
 
+NODEID ?= 1
+
 %.bincs: %.bin
-       ../tools/fixcrc < $< > $@
+       ../tools/patcheeprom $(NODEID) < $< > $@
 
 %.eep.bin: %.elf
        $(OBJCOPY) --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O binary -j .eeprom $< $@
Impressum, Datenschutz