Debian Codegraph @

ao-tools/ao-flash/ao-reset-lpc

raw
1 #!/bin/sh
2 cmds=/tmp/flash$$
3 trap "rm $cmds" 0 1 15
4 echo "reset" > $cmds
5 openocd \
6 -f interface/stlink-v2.cfg \
7 -f target/lpc11xx.cfg \
8 -f $cmds \
9 -c shutdown