Migrate :program logic to :flash (#8631)

This commit is contained in:
Joel Challis
2020-04-01 13:27:16 +01:00
committed by GitHub
parent 1962135418
commit b6a09502c6
2 changed files with 6 additions and 6 deletions
+3 -1
View File
@@ -327,7 +327,9 @@ bin: $(BUILD_DIR)/$(TARGET).bin sizeafter
flash: $(BUILD_DIR)/$(TARGET).bin cpfirmware sizeafter
ifeq ($(strip $(BOOTLOADER)),dfu)
ifneq ($(strip $(PROGRAM_CMD)),)
$(PROGRAM_CMD)
else ifeq ($(strip $(BOOTLOADER)),dfu)
$(call EXEC_DFU_UTIL)
else ifeq ($(strip $(MCU_FAMILY)),KINETIS)
$(call EXEC_TEENSY)