aboutsummaryrefslogtreecommitdiff
path: root/platforms/chibios/flash.mk
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/flash.mk')
-rw-r--r--platforms/chibios/flash.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/platforms/chibios/flash.mk b/platforms/chibios/flash.mk
index 46aff6e4b..c0b32c2f2 100644
--- a/platforms/chibios/flash.mk
+++ b/platforms/chibios/flash.mk
@@ -73,15 +73,15 @@ teensy: $(BUILD_DIR)/$(TARGET).hex cpfirmware sizeafter
73 73
74flash: $(BUILD_DIR)/$(TARGET).bin cpfirmware sizeafter 74flash: $(BUILD_DIR)/$(TARGET).bin cpfirmware sizeafter
75ifneq ($(strip $(PROGRAM_CMD)),) 75ifneq ($(strip $(PROGRAM_CMD)),)
76 $(PROGRAM_CMD) 76 $(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
77else ifeq ($(strip $(BOOTLOADER)),kiibohd) 77else ifeq ($(strip $(BOOTLOADER)),kiibohd)
78 $(call EXEC_DFU_UTIL) 78 $(UNSYNC_OUTPUT_CMD) && $(call EXEC_DFU_UTIL)
79else ifeq ($(strip $(MCU_FAMILY)),KINETIS) 79else ifeq ($(strip $(MCU_FAMILY)),KINETIS)
80 $(call EXEC_TEENSY) 80 $(UNSYNC_OUTPUT_CMD) && $(call EXEC_TEENSY)
81else ifeq ($(strip $(MCU_FAMILY)),MIMXRT1062) 81else ifeq ($(strip $(MCU_FAMILY)),MIMXRT1062)
82 $(call EXEC_TEENSY) 82 $(UNSYNC_OUTPUT_CMD) && $(call EXEC_TEENSY)
83else ifeq ($(strip $(MCU_FAMILY)),STM32) 83else ifeq ($(strip $(MCU_FAMILY)),STM32)
84 $(call EXEC_DFU_UTIL) 84 $(UNSYNC_OUTPUT_CMD) && $(call EXEC_DFU_UTIL)
85else 85else
86 $(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_BOOTLOADER)" 86 $(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_BOOTLOADER)"
87endif 87endif