projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
410af11
)
ao-tools: update ao-flash-stm32f0x to work with openocd in Debian unstable
author
Bdale Garbee
<bdale@gag.com>
Tue, 13 Apr 2021 00:26:46 +0000
(18:26 -0600)
committer
Bdale Garbee
<bdale@gag.com>
Tue, 13 Apr 2021 00:26:46 +0000
(18:26 -0600)
ao-tools/ao-flash/ao-flash-stm32f0x
patch
|
blob
|
history
diff --git
a/ao-tools/ao-flash/ao-flash-stm32f0x
b/ao-tools/ao-flash/ao-flash-stm32f0x
index 45643a4ffbfe15eea251a2c52b57c7537630e735..89e266438693e4f10d5734d6282cffb08543a5c4 100755
(executable)
--- a/
ao-tools/ao-flash/ao-flash-stm32f0x
+++ b/
ao-tools/ao-flash/ao-flash-stm32f0x
@@
-10,7
+10,7
@@
trap "rm $cmds" 0 1 15
file="$1"
echo "program $file verify reset" > $cmds
openocd \
file="$1"
echo "program $file verify reset" > $cmds
openocd \
- -f interface/stlink
-v2
.cfg \
- -f target/stm32f0x
_stlink
.cfg \
+ -f interface/stlink.cfg \
+ -f target/stm32f0x.cfg \
-f $cmds \
-c shutdown
-f $cmds \
-c shutdown