diff options
Diffstat (limited to 'platforms/arm_atsam/flash.mk')
-rw-r--r-- | platforms/arm_atsam/flash.mk | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/platforms/arm_atsam/flash.mk b/platforms/arm_atsam/flash.mk deleted file mode 100644 index 8068c08d57..0000000000 --- a/platforms/arm_atsam/flash.mk +++ /dev/null @@ -1,23 +0,0 @@ -# Hey Emacs, this is a -*- makefile -*- -############################################################################## -# Architecture or project specific options -# - -MDLOADER_CLI ?= mdloader - -define EXEC_MDLOADER - $(MDLOADER_CLI) --first --download $(BUILD_DIR)/$(TARGET).bin --restart -endef - -mdloader: bin - $(call EXEC_MDLOADER) - -flash: bin - $(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n" -ifneq ($(strip $(PROGRAM_CMD)),) - $(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD) -else ifeq ($(strip $(ARM_ATSAM)),SAMD51J18A) - $(UNSYNC_OUTPUT_CMD) && $(call EXEC_MDLOADER) -else - $(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_ARCH)" -endif |