Browse Source

Fix bootloadHID comments breaking :flash (#14133)

pull/14136/head
Drashna Jaelre 2 years ago
committed by GitHub
parent
commit
d57d9aec4f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      platforms/avr/flash.mk

+ 2
- 2
platforms/avr/flash.mk View File

@ -138,9 +138,9 @@ usbasp: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
BOOTLOADHID_PROGRAMMER ?= bootloadHID
# bootloadHid executable has no cross platform detect methods
# so keep running bootloadHid if the output contains "The specified device was not found"
define EXEC_BOOTLOADHID
# bootloadHid executable has no cross platform detect methods
# so keep running bootloadHid if the output contains "The specified device was not found"
until $(BOOTLOADHID_PROGRAMMER) -r $(BUILD_DIR)/$(TARGET).hex 2>&1 | tee /dev/stderr | grep -v "device was not found"; do\
printf "$(MSG_BOOTLOADER_NOT_FOUND)" ;\
sleep 5 ;\


Loading…
Cancel
Save