summaryrefslogtreecommitdiff
path: root/ocd.sh
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-09-26 16:59:03 +0200
committerxengineering <me@xengineering.eu>2021-09-26 16:59:44 +0200
commit9e822663cbbb841ee7636cfd169426e91d8fa643 (patch)
treec14cf0c90a5fc8da4b44c01b50e389a7e8459e9d /ocd.sh
parent45a6fdb04f3bf605eb4280473dd22db041ece6a7 (diff)
downloadledcontrol-9e822663cbbb841ee7636cfd169426e91d8fa643.tar
ledcontrol-9e822663cbbb841ee7636cfd169426e91d8fa643.tar.zst
ledcontrol-9e822663cbbb841ee7636cfd169426e91d8fa643.zip
Add Helper Scripts and Documentation
Diffstat (limited to 'ocd.sh')
-rwxr-xr-xocd.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ocd.sh b/ocd.sh
new file mode 100755
index 0000000..02416fa
--- /dev/null
+++ b/ocd.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+
+# Usage: bash ocd.sh # start gdb.sh script afterwards
+
+
+# run openocd server with telnet interface on localhost:4444 and GDB interface
+# on localhost:3333
+openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg