mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
8 lines
398 B
Makefile
8 lines
398 B
Makefile
.PHONY: %_flash
|
|
%_flash: $(BUILD_DIR)/%.dfu
|
|
@echo "DFU $@"
|
|
@echo "INFO About to flash your device. Please plug your device to your computer"
|
|
@echo " using an USB cable and press the RESET button the back of your device."
|
|
$(Q) until $(PYTHON) scripts/device/dfu.py -l | grep -E "0483:a291|0483:df11" > /dev/null 2>&1; do sleep 2;done
|
|
$(Q) $(PYTHON) scripts/device/dfu.py -m -u $<
|