aboutsummaryrefslogtreecommitdiffstats
path: root/openocd.sh
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2022-06-05 18:36:34 -0400
committerClyne Sullivan <clyne@bitgloo.com>2022-06-05 18:36:34 -0400
commit7fbb94cb15fdd20cd9ada11588568583128c77f4 (patch)
treeb774f823d35c9c77bf719d17a7dd70715effadce /openocd.sh
parentfedc108c8f664b44ae1a4c0d6b6378584533c314 (diff)
move source to folder; openocd.sh programs directly
Diffstat (limited to 'openocd.sh')
-rwxr-xr-xopenocd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openocd.sh b/openocd.sh
index 90d4052..1ce7e72 100755
--- a/openocd.sh
+++ b/openocd.sh
@@ -1 +1 @@
-sudo openocd -f /usr/local/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/local/share/openocd/scripts/target/stm32l0.cfg
+openocd -f /usr/local/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/local/share/openocd/scripts/target/stm32l0.cfg -c "init; program build/ch.hex verify reset exit"