summaryrefslogtreecommitdiff
path: root/fw/openocd.cfg
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-03-23 01:07:19 +0100
committerjaseg <git@jaseg.net>2020-03-23 01:07:19 +0100
commit6ea56ed6ceacd990e0255d592032af4bd84f7cd6 (patch)
treefa432bc57eb2fcf5607a0e3bbf0b839d0d1637fe /fw/openocd.cfg
downloadlampomatic-6ea56ed6ceacd990e0255d592032af4bd84f7cd6.tar.gz
lampomatic-6ea56ed6ceacd990e0255d592032af4bd84f7cd6.tar.bz2
lampomatic-6ea56ed6ceacd990e0255d592032af4bd84f7cd6.zip
foo
Diffstat (limited to 'fw/openocd.cfg')
-rw-r--r--fw/openocd.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/fw/openocd.cfg b/fw/openocd.cfg
new file mode 100644
index 0000000..97a3a05
--- /dev/null
+++ b/fw/openocd.cfg
@@ -0,0 +1,14 @@
+telnet_port 4444
+gdb_port 3333
+
+source [find interface/stlink-v2.cfg]
+#hla_serial "000000000001"
+transport select hla_swd
+
+source [find target/stm32f0x.cfg]
+#adapter_khz 10000
+
+init
+arm semihosting enable
+
+#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME