mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
Convert hex to bin
For flashing via alternative methods like LUFA MassStorage bootloader.
This commit is contained in:
parent
a36b2a0756
commit
8fab141a02
|
@ -138,6 +138,11 @@ else
|
||||||
endif
|
endif
|
||||||
dfu-programmer $(MCU) reset
|
dfu-programmer $(MCU) reset
|
||||||
|
|
||||||
|
# Convert hex to bin.
|
||||||
|
flashbin: $(BUILD_DIR)/$(TARGET).hex
|
||||||
|
$(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
|
||||||
|
$(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin;
|
||||||
|
$(COPY) $(BUILD_DIR)/$(TARGET).bin FLASH.bin;
|
||||||
|
|
||||||
# Generate avr-gdb config/init file which does the following:
|
# Generate avr-gdb config/init file which does the following:
|
||||||
# define the reset signal, load the target file, connect to target, and set
|
# define the reset signal, load the target file, connect to target, and set
|
||||||
|
|
Loading…
Reference in a new issue