summaryrefslogtreecommitdiff
path: root/hardware/fw/openocd.cfg
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2021-04-09 18:38:02 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2021-04-09 18:38:57 +0200
commit50998fcfb916ae251309bd4b464f2c122e8cb30d (patch)
tree4ecf7a7443b75ab51c4dc0c0fc9289342dc7d6a0 /hardware/fw/openocd.cfg
parent312fee491cfab436d52db4b6265107e20f3e1293 (diff)
downloadmaster-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.tar.gz
master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.tar.bz2
master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.zip
Repo re-org
Diffstat (limited to 'hardware/fw/openocd.cfg')
-rw-r--r--hardware/fw/openocd.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/hardware/fw/openocd.cfg b/hardware/fw/openocd.cfg
new file mode 100644
index 0000000..ce164b7
--- /dev/null
+++ b/hardware/fw/openocd.cfg
@@ -0,0 +1,17 @@
+telnet_port 4445
+gdb_port 3334
+tcl_port 6667
+
+source [find interface/stlink-v2.cfg]
+#interface jlink
+#interface stlink-v2
+#adapter_khz 10000
+#transport select swd
+
+#source /usr/share/openocd/scripts/target/stm32f0x.cfg
+source [find target/stm32f0x_stlink.cfg]
+
+init
+arm semihosting enable
+
+#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME