diff options
| -rw-r--r-- | tmk_core/arm_atsam.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/arm_atsam.mk b/tmk_core/arm_atsam.mk index 403ebf3a8..e4bf60e1a 100644 --- a/tmk_core/arm_atsam.mk +++ b/tmk_core/arm_atsam.mk | |||
| @@ -56,4 +56,8 @@ bin: $(BUILD_DIR)/$(TARGET).hex | |||
| 56 | $(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin; | 56 | $(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin; |
| 57 | 57 | ||
| 58 | flash: bin | 58 | flash: bin |
| 59 | ifneq ($(strip $(PROGRAM_CMD)),) | ||
| 60 | $(PROGRAM_CMD) | ||
| 61 | else | ||
| 59 | $(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_ARCH)" | 62 | $(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_ARCH)" |
| 63 | endif | ||
