summaryrefslogtreecommitdiff
path: root/fw/openocd.cfg
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-10-11 23:31:12 +0200
committerjaseg <git@jaseg.net>2020-10-11 23:31:12 +0200
commit226fef1618dd9a37c050bb79a24c77396cd14c46 (patch)
treeed1d41cd5268e607ecd2abe8e628a1e796fda838 /fw/openocd.cfg
parent0e25682ed73ead8da26ea8659492bd5bce3cfe64 (diff)
downloadusb-remote-226fef1618dd9a37c050bb79a24c77396cd14c46.tar.gz
usb-remote-226fef1618dd9a37c050bb79a24c77396cd14c46.tar.bz2
usb-remote-226fef1618dd9a37c050bb79a24c77396cd14c46.zip
Initial fw commit
Diffstat (limited to 'fw/openocd.cfg')
-rw-r--r--fw/openocd.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/fw/openocd.cfg b/fw/openocd.cfg
new file mode 100644
index 0000000..065bf31
--- /dev/null
+++ b/fw/openocd.cfg
@@ -0,0 +1,15 @@
+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
+#program main.elf