summaryrefslogtreecommitdiffstats
path: root/tmk_core/arm_atsam.mk
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-08-20 15:39:24 -0700
committerYan-Fa Li <yanfali@gmail.com>2019-08-20 15:39:24 -0700
commit4003d077cef42d7a3405250ea6417db3a3549e9e (patch)
tree012079bc5fac326baafaba6514843e7ef0a05e5e /tmk_core/arm_atsam.mk
parent91ee6a1dbb6f43ac708b0dc301f5cbcef6dcfdf5 (diff)
Add a universal flash command for cli (#6224)
* Add universal flash command * Add bootloader info to I:C boards * Add support for ATSAM * Add messages for flash target * Message cleanup * Add USB ASP Flashing target * Make usbasp target more universal * Add phoney target for usbasp * Clarify error message when bootloader isn't matched
Diffstat (limited to 'tmk_core/arm_atsam.mk')
-rw-r--r--tmk_core/arm_atsam.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/arm_atsam.mk b/tmk_core/arm_atsam.mk
index 25a3411f4f..c9b14042f8 100644
--- a/tmk_core/arm_atsam.mk
+++ b/tmk_core/arm_atsam.mk
@@ -54,3 +54,6 @@ EXTRALIBDIRS =
bin: $(BUILD_DIR)/$(TARGET).hex
$(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
$(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin;
+
+flash: bin
+ $(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_ARCH)"