Initial Commit - Copy from Altus Metrum AltOS
This commit is contained in:
9
ao-tools/ao-flash/ao-reset-lpc
Executable file
9
ao-tools/ao-flash/ao-reset-lpc
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
cmds=/tmp/flash$$
|
||||
trap "rm $cmds" 0 1 15
|
||||
echo "reset" > $cmds
|
||||
openocd \
|
||||
-f interface/stlink-v2.cfg \
|
||||
-f target/lpc11xx.cfg \
|
||||
-f $cmds \
|
||||
-c shutdown
|
Reference in New Issue
Block a user