diff options
author | Joshua T <joshua@sonofone.net> | 2016-08-09 21:30:31 -0500 |
---|---|---|
committer | Joshua T <joshua@sonofone.net> | 2016-08-09 21:30:31 -0500 |
commit | ec67d32bd4a2249186f3b84a044ee3f9f9bbc394 (patch) | |
tree | e974e00dd1cd62f99e52bd1d518f9191113d4560 /tmk_core | |
parent | ea8638b9440ca9e8cf99437b01c69c5f9e7693d5 (diff) | |
parent | 2a160bbbe3ad496dd688f4399ab2b8d127c0b8a7 (diff) |
Merged branch master into master
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 |