~ruther/qmk_firmware

070240f2123f91c51a3cb146d601cf5b61beebfe — Joel Elkins 4 years ago f3ac792
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