Commit a0ddae86 authored by Craig Barnes's avatar Craig Barnes
Browse files

Add device ID to autoflash script.

parent b37c0a11
......@@ -8,6 +8,7 @@
# - run a terminal
while true; do
echo "waiting for DFU device..."
......@@ -19,7 +20,7 @@ while true; do
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment