aboutsummaryrefslogtreecommitdiffstats
path: root/reboot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'reboot.sh')
-rwxr-xr-xreboot.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/reboot.sh b/reboot.sh
new file mode 100755
index 0000000..e606947
--- /dev/null
+++ b/reboot.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sudo /usr/bin/openocd -f /usr/share/openocd/scripts/board/stm32f4discovery.cfg -c "init" -c "reset" -c "exit"