diff options
author | cbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info> | 2016-08-08 13:50:01 -0400 |
---|---|---|
committer | cbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info> | 2016-08-08 13:50:01 -0400 |
commit | 6ce0195e24bde8ce83976ba7fd2a701e7a1f13d7 (patch) | |
tree | 7dd612aad050f9a899911987f4eee563a1a326af /tmk_core | |
parent | 64e051652b5a8dac3ab0a2d31fb061ee50ecb0e5 (diff) | |
parent | 55ca218634d78a0bb3cd9b326659e353fd8140ae (diff) | |
download | qmk_firmware-6ce0195e24bde8ce83976ba7fd2a701e7a1f13d7.tar.gz qmk_firmware-6ce0195e24bde8ce83976ba7fd2a701e7a1f13d7.zip |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'tmk_core')
-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 |