diff options
author | Felix Uhl <iFreilicht@users.noreply.github.com> | 2016-08-18 12:02:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 12:02:31 +0200 |
commit | ed6ecff292eae378eb89bf6a7b5b8dd4229b84b7 (patch) | |
tree | b2290e1a983134e0d7fc2f328eb949c37d99961c /tmk_core | |
parent | 73f13c8f26f7f3777cec9d3036628a7dd6021ee9 (diff) | |
parent | 8144ce8852f690d5772d80ed2b96ae4af201e266 (diff) |
Merge pull request #1 from jackhumbert/master
Merging from base Repo
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 |