summaryrefslogtreecommitdiff
path: root/firmware/ocd.sh
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-01-23 12:13:24 +0100
committerxengineering <me@xengineering.eu>2022-01-23 12:17:33 +0100
commit5cc962d5fd6ab6b5d4f080a8afe920befe0a44c8 (patch)
tree64e13cde9a65127314c2e815600b507d191517e1 /firmware/ocd.sh
parent5bdae1ce519bc67ab094c10da7bedbbf5b8a535a (diff)
downloadledcontrol-5cc962d5fd6ab6b5d4f080a8afe920befe0a44c8.tar
ledcontrol-5cc962d5fd6ab6b5d4f080a8afe920befe0a44c8.tar.zst
ledcontrol-5cc962d5fd6ab6b5d4f080a8afe920befe0a44c8.zip
Introduce firmware directory
Diffstat (limited to 'firmware/ocd.sh')
-rwxr-xr-xfirmware/ocd.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/ocd.sh b/firmware/ocd.sh
new file mode 100755
index 0000000..02416fa
--- /dev/null
+++ b/firmware/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