Merge pull request #549 from cjbarnes18/autoflash_device

Add device ID to autoflash script.
pull/552/head
Damien George 2014-05-03 00:14:14 +01:00
commit 5d89c4022b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -8,6 +8,7 @@
# - run a terminal
SERIAL=/dev/ttyACM0
DEVICE=0483:df11
while true; do
echo "waiting for DFU device..."
@ -19,7 +20,7 @@ while true; do
done
echo "found DFU device, flashing"
dfu-util -a 0 -D build/flash.dfu
dfu-util -a 0 -d $DEVICE -D build/flash.dfu
echo "waiting for DFU to exit..."
while true; do