diff options
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 0abb933a8..cb67ac6f2 100644 --- a/tmk_core/chibios.mk +++ b/tmk_core/chibios.mk | |||
| @@ -113,6 +113,7 @@ AR = arm-none-eabi-ar | |||
| 113 | NM = arm-none-eabi-nm | 113 | NM = arm-none-eabi-nm |
| 114 | HEX = $(OBJCOPY) -O $(FORMAT) | 114 | HEX = $(OBJCOPY) -O $(FORMAT) |
| 115 | EEP = | 115 | EEP = |
| 116 | BIN = $(OBJCOPY) -O binary | ||
| 116 | 117 | ||
| 117 | THUMBFLAGS = -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB | 118 | THUMBFLAGS = -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB |
| 118 | 119 | ||
| @@ -151,4 +152,7 @@ else ifneq ("$(wildcard $(KEYBOARD_PATH)/boards/$(BOARD)/bootloader_defs.h)","") | |||
| 151 | endif | 152 | endif |
| 152 | 153 | ||
| 153 | # List any extra directories to look for libraries here. | 154 | # List any extra directories to look for libraries here. |
| 154 | EXTRALIBDIRS = $(RULESPATH)/ld \ No newline at end of file | 155 | EXTRALIBDIRS = $(RULESPATH)/ld |
| 156 | |||
| 157 | dfu-util: $(BUILD_DIR)/$(TARGET).bin sizeafter | ||
| 158 | dfu-util -D $(BUILD_DIR)/$(TARGET).bin \ No newline at end of file | ||
