Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
5d89c402
Commit
5d89c402
authored
May 03, 2014
by
Damien George
Browse files
Merge pull request #549 from cjbarnes18/autoflash_device
Add device ID to autoflash script.
parents
d9f4deef
a0ddae86
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/autoflash
View file @
5d89c402
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment