X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/fnordlicht-mini/blobdiff_plain/06e73f0938d98d18d62a0bd054334d795d29e31a..e658ca232abc7fcc848c92c81b698749454f4288:/firmware/fnordlicht-firmware/Makefile diff --git a/firmware/fnordlicht-firmware/Makefile b/firmware/fnordlicht-firmware/Makefile index 345a4c1..4b1167a 100644 --- a/firmware/fnordlicht-firmware/Makefile +++ b/firmware/fnordlicht-firmware/Makefile @@ -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 $< $@