diff options
author | Xyverz <xyverz@gmail.com> | 2016-08-13 19:51:49 -0700 |
---|---|---|
committer | Xyverz <xyverz@gmail.com> | 2016-08-13 19:51:49 -0700 |
commit | 1920c290a441db1355aa4b610539d0911c7d1477 (patch) | |
tree | 66aed6a6cf3cdaab43d204afcaa5c2042a5894b0 /tmk_core/avr.mk | |
parent | e87506767cec6410d1a93c15d68452815c9c3553 (diff) | |
parent | 6323f3d1e74350ef52dddc1f31d8b36ba637d254 (diff) | |
download | qmk_firmware-1920c290a441db1355aa4b610539d0911c7d1477.tar.gz qmk_firmware-1920c290a441db1355aa4b610539d0911c7d1477.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tmk_core/avr.mk')
-rw-r--r-- | tmk_core/avr.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk index 6c03e1650e..b48173341a 100644 --- a/tmk_core/avr.mk +++ b/tmk_core/avr.mk @@ -138,6 +138,11 @@ else endif 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: # define the reset signal, load the target file, connect to target, and set |