aboutsummaryrefslogtreecommitdiffstats
path: root/openocd.sh
diff options
context:
space:
mode:
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"