summaryrefslogtreecommitdiff
path: root/platforms/arm_atsam
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-08-15 21:55:23 +0100
committerGitHub <noreply@github.com>2021-08-15 21:55:23 +0100
commitab941ce614e19a7f4bb5bd34dd0ab9eee86bdc27 (patch)
treeff8bfefacffaac38893dd423d018c84068258bd1 /platforms/arm_atsam
parent4e3726bfe11b02757c5724211d2a0fc62c7f66e8 (diff)
downloadqmk_firmware-ab941ce614e19a7f4bb5bd34dd0ab9eee86bdc27.tar.gz
qmk_firmware-ab941ce614e19a7f4bb5bd34dd0ab9eee86bdc27.zip
Move all the flash logic from tmk_core (#13927)
Diffstat (limited to 'platforms/arm_atsam')
-rw-r--r--platforms/arm_atsam/flash.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/platforms/arm_atsam/flash.mk b/platforms/arm_atsam/flash.mk
new file mode 100644
index 0000000000..444ba77f53
--- /dev/null
+++ b/platforms/arm_atsam/flash.mk
@@ -0,0 +1,11 @@
+# Hey Emacs, this is a -*- makefile -*-
+##############################################################################
+# Architecture or project specific options
+#
+
+flash: bin
+ifneq ($(strip $(PROGRAM_CMD)),)
+ $(PROGRAM_CMD)
+else
+ $(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_ARCH)"
+endif