Always copy the firmware file to the root qmk_firmware directory (#2314)
* Always copy the firmware file to the root qmk_firmware directory * remove circular dependency
This commit is contained in:
parent
f0f991dd89
commit
9bfaf66792
4 changed files with 9 additions and 7 deletions
|
@ -136,7 +136,7 @@ flip: $(BUILD_DIR)/$(TARGET).hex check-size
|
|||
|
||||
DFU_PROGRAMMER ?= dfu-programmer
|
||||
|
||||
dfu: $(BUILD_DIR)/$(TARGET).hex check-size
|
||||
dfu: $(BUILD_DIR)/$(TARGET).hex cpfirmware check-size
|
||||
until $(DFU_PROGRAMMER) $(MCU) get bootloader-version; do\
|
||||
echo "Error: Bootloader not found. Trying again in 5s." ;\
|
||||
sleep 5 ;\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue