summaryrefslogtreecommitdiff
path: root/platforms/arm_atsam/flash.mk
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/arm_atsam/flash.mk')
-rw-r--r--platforms/arm_atsam/flash.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/arm_atsam/flash.mk b/platforms/arm_atsam/flash.mk
index 444ba77f53..f31d4b4d95 100644
--- a/platforms/arm_atsam/flash.mk
+++ b/platforms/arm_atsam/flash.mk
@@ -5,7 +5,7 @@
flash: bin
ifneq ($(strip $(PROGRAM_CMD)),)
- $(PROGRAM_CMD)
+ $(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
else
$(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_ARCH)"
endif