summaryrefslogtreecommitdiff
path: root/fw
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-12-24 15:53:02 +0100
committerjaseg <git@jaseg.net>2020-12-24 15:53:02 +0100
commit735ddef6ae843fa14fdd3921a087eb5e1b807a91 (patch)
treed31784479578f2944570aa2c34ada85f451530b5 /fw
parent8acfdb97b59c9414b24d2b04b07829c68b5b57dc (diff)
downloadminikbd-735ddef6ae843fa14fdd3921a087eb5e1b807a91.tar.gz
minikbd-735ddef6ae843fa14fdd3921a087eb5e1b807a91.tar.bz2
minikbd-735ddef6ae843fa14fdd3921a087eb5e1b807a91.zip
Add openocd config for stlinks
Diffstat (limited to 'fw')
-rw-r--r--fw/openocd.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/fw/openocd.cfg b/fw/openocd.cfg
new file mode 100644
index 0000000..4a6f62e
--- /dev/null
+++ b/fw/openocd.cfg
@@ -0,0 +1,11 @@
+telnet_port 4444
+gdb_port 3333
+tcl_port 6666
+
+source [find interface/stlink-v2.cfg]
+#adapter_khz 10000
+
+source [find target/stm32f0x_stlink.cfg]
+
+init
+arm semihosting enable