mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-09 18:19:08 +00:00
arm_atsam: Use PROGRAM_CMD for :flash target if set (#11424)
This commit is contained in:
parent
f3ac792c09
commit
070240f212
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue