X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/fnordlicht-mini/blobdiff_plain/ec1bef8e19888e982ffc53129f74d58868e8d203..7e0e8f7cb17594bfe68defc9275679c98b4ac699:/firmware/fnordlicht-firmware/Makefile diff --git a/firmware/fnordlicht-firmware/Makefile b/firmware/fnordlicht-firmware/Makefile index 0fffc69..10f1022 100644 --- a/firmware/fnordlicht-firmware/Makefile +++ b/firmware/fnordlicht-firmware/Makefile @@ -56,8 +56,6 @@ CONFIG_REMOTE = 1 CONFIG_SECONDARY_PWM = 1 # default baudrate CONFIG_SERIAL_BAUDRATE = 19200 -# check jumper for master mode -CONFIG_MASTER_MODE = 1 # avrdude programmer protocol PROG = usbasp @@ -70,7 +68,6 @@ CFLAGS += -DHARDWARE_$(HARDWARE)=1 -DCONFIG_SCRIPT_DEFAULT=$(CONFIG_SCRIPT_DEFAU CFLAGS += -DCONFIG_SCRIPT=$(CONFIG_SCRIPT) -DCONFIG_SERIAL=$(CONFIG_SERIAL) CFLAGS += -DCONFIG_REMOTE=$(CONFIG_REMOTE) -DCONFIG_SECONDARY_PWM=$(CONFIG_SECONDARY_PWM) CFLAGS += -DCONFIG_SERIAL_BAUDRATE=$(CONFIG_SERIAL_BAUDRATE) -CFLAGS += -DCONFIG_MASTER_MODE=$(CONFIG_MASTER_MODE) #################################################### # 'make' configuration @@ -219,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 $< > $@