summaryrefslogtreecommitdiff
path: root/gm_platform/fw/openocd.cfg
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-01-23 14:38:36 +0100
committerjaseg <git@jaseg.net>2020-01-23 14:38:36 +0100
commit410e38651052038e34843b17269d61e75720f0ba (patch)
tree987d1853c55b152d5e1362af4420fa52fcd56a81 /gm_platform/fw/openocd.cfg
parent6a49b8399fb156d427b5d15746de877ac933ba3d (diff)
downloadmaster-thesis-410e38651052038e34843b17269d61e75720f0ba.tar.gz
master-thesis-410e38651052038e34843b17269d61e75720f0ba.tar.bz2
master-thesis-410e38651052038e34843b17269d61e75720f0ba.zip
board bringup: adc, usart working
Diffstat (limited to 'gm_platform/fw/openocd.cfg')
-rw-r--r--gm_platform/fw/openocd.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/gm_platform/fw/openocd.cfg b/gm_platform/fw/openocd.cfg
new file mode 100644
index 0000000..ce164b7
--- /dev/null
+++ b/gm_platform/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