arm_atsam: Use PROGRAM_CMD for :flash target if set (#11424)
1 files changed, 4 insertions(+), 0 deletions(-) M tmk_core/arm_atsam.mk
M tmk_core/arm_atsam.mk => tmk_core/arm_atsam.mk +4 -0
@@ 56,4 56,8 @@ bin: $(BUILD_DIR)/$(TARGET).hex $(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin; flash: bin +ifneq ($(strip $(PROGRAM_CMD)),) + $(PROGRAM_CMD) +else $(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_ARCH)" +endif