diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-07-05 23:40:58 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-07-05 23:40:58 -0400 |
commit | 22ad6459b1a9ddb5e29a553f02c0cf44c53c4b83 (patch) | |
tree | cee7f1a05acdcafd7313e2c2db4d763d08bbc57c /tmk_core/chibios.mk | |
parent | ce01f88c43adef9344727998f53bb1cf74913f65 (diff) | |
parent | 7d28d6a7bc81578bb5a83f1d55810ee3d1458e96 (diff) |
Merge branch 'master' into lets-split-support
Diffstat (limited to 'tmk_core/chibios.mk')
-rw-r--r-- | tmk_core/chibios.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk index 0abb933a8d..cb67ac6f25 100644 --- a/tmk_core/chibios.mk +++ b/tmk_core/chibios.mk @@ -113,6 +113,7 @@ AR = arm-none-eabi-ar NM = arm-none-eabi-nm HEX = $(OBJCOPY) -O $(FORMAT) EEP = +BIN = $(OBJCOPY) -O binary THUMBFLAGS = -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB @@ -151,4 +152,7 @@ else ifneq ("$(wildcard $(KEYBOARD_PATH)/boards/$(BOARD)/bootloader_defs.h)","") endif # List any extra directories to look for libraries here. -EXTRALIBDIRS = $(RULESPATH)/ld
\ No newline at end of file +EXTRALIBDIRS = $(RULESPATH)/ld + +dfu-util: $(BUILD_DIR)/$(TARGET).bin sizeafter + dfu-util -D $(BUILD_DIR)/$(TARGET).bin
\ No newline at end of file |