aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platforms/avr/flash.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/avr/flash.mk b/platforms/avr/flash.mk
index 8eef5fbb0..0af1ebb1c 100644
--- a/platforms/avr/flash.mk
+++ b/platforms/avr/flash.mk
@@ -138,9 +138,9 @@ usbasp: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
138 138
139BOOTLOADHID_PROGRAMMER ?= bootloadHID 139BOOTLOADHID_PROGRAMMER ?= bootloadHID
140 140
141# bootloadHid executable has no cross platform detect methods
142# so keep running bootloadHid if the output contains "The specified device was not found"
141define EXEC_BOOTLOADHID 143define EXEC_BOOTLOADHID
142 # bootloadHid executable has no cross platform detect methods
143 # so keep running bootloadHid if the output contains "The specified device was not found"
144 until $(BOOTLOADHID_PROGRAMMER) -r $(BUILD_DIR)/$(TARGET).hex 2>&1 | tee /dev/stderr | grep -v "device was not found"; do\ 144 until $(BOOTLOADHID_PROGRAMMER) -r $(BUILD_DIR)/$(TARGET).hex 2>&1 | tee /dev/stderr | grep -v "device was not found"; do\
145 printf "$(MSG_BOOTLOADER_NOT_FOUND)" ;\ 145 printf "$(MSG_BOOTLOADER_NOT_FOUND)" ;\
146 sleep 5 ;\ 146 sleep 5 ;\