summaryrefslogtreecommitdiff
path: root/openocd.cfg
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2017-07-30 15:36:45 +0200
committerjaseg <git@jaseg.net>2017-07-30 15:36:45 +0200
commitb9535e1b089f14f7123d0865a06b985d2285dabf (patch)
treef8538393fb38ed749690d660789eca79c6fb49e2 /openocd.cfg
downloadsecure-hid-b9535e1b089f14f7123d0865a06b985d2285dabf.tar.gz
secure-hid-b9535e1b089f14f7123d0865a06b985d2285dabf.tar.bz2
secure-hid-b9535e1b089f14f7123d0865a06b985d2285dabf.zip
Initial commit, blink working
Diffstat (limited to 'openocd.cfg')
-rw-r--r--openocd.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/openocd.cfg b/openocd.cfg
new file mode 100644
index 0000000..91a1deb
--- /dev/null
+++ b/openocd.cfg
@@ -0,0 +1,14 @@
+telnet_port 4444
+gdb_port 3333
+
+interface jlink
+
+adapter_khz 1000
+transport select swd
+
+source /usr/share/openocd/scripts/target/stm32f4x.cfg
+
+init
+#arm semihosting enable
+
+#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME