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 97299b7d3..7eda36046 100644 --- a/tmk_core/chibios.mk +++ b/tmk_core/chibios.mk | |||
| @@ -390,8 +390,10 @@ ifndef TEENSY_LOADER_CLI | |||
| 390 | endif | 390 | endif |
| 391 | endif | 391 | endif |
| 392 | 392 | ||
| 393 | TEENSY_LOADER_CLI_MCU ?= $(MCU_LDSCRIPT) | ||
| 394 | |||
| 393 | define EXEC_TEENSY | 395 | define EXEC_TEENSY |
| 394 | $(TEENSY_LOADER_CLI) -mmcu=$(MCU_LDSCRIPT) -w -v $(BUILD_DIR)/$(TARGET).hex | 396 | $(TEENSY_LOADER_CLI) -mmcu=$(TEENSY_LOADER_CLI_MCU) -w -v $(BUILD_DIR)/$(TARGET).hex |
| 395 | endef | 397 | endef |
| 396 | 398 | ||
| 397 | teensy: $(BUILD_DIR)/$(TARGET).hex cpfirmware sizeafter | 399 | teensy: $(BUILD_DIR)/$(TARGET).hex cpfirmware sizeafter |
| @@ -408,6 +410,8 @@ else ifeq ($(strip $(BOOTLOADER)),kiibohd) | |||
| 408 | $(call EXEC_DFU_UTIL) | 410 | $(call EXEC_DFU_UTIL) |
| 409 | else ifeq ($(strip $(MCU_FAMILY)),KINETIS) | 411 | else ifeq ($(strip $(MCU_FAMILY)),KINETIS) |
| 410 | $(call EXEC_TEENSY) | 412 | $(call EXEC_TEENSY) |
| 413 | else ifeq ($(strip $(MCU_FAMILY)),MIMXRT1062) | ||
| 414 | $(call EXEC_TEENSY) | ||
| 411 | else ifeq ($(strip $(MCU_FAMILY)),STM32) | 415 | else ifeq ($(strip $(MCU_FAMILY)),STM32) |
| 412 | $(call EXEC_DFU_UTIL) | 416 | $(call EXEC_DFU_UTIL) |
| 413 | else | 417 | else |
