summaryrefslogtreecommitdiffstats
path: root/openocd.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'openocd.cfg')
-rw-r--r--openocd.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/openocd.cfg b/openocd.cfg
new file mode 100644
index 0000000..64d57d6
--- /dev/null
+++ b/openocd.cfg
@@ -0,0 +1,13 @@
+# nF51822 Target
+source [find interface/stlink-v2.cfg]
+
+
+
+#source [find interface/jlink.cfg]
+#transport select swd
+
+set WORKAREASIZE 0x4000
+source [find target/nrf51.cfg]
+
+# use hardware reset, connect under reset
+#reset_config srst_only srst_nogate