Browse Source
arm_atsam: Use PROGRAM_CMD for :flash target if set (#11424)
pull/11429/head
0.11.37
Joel Elkins
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
tmk_core/arm_atsam.mk
|
|
@ -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 |