aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorRick Foos <rfoos@solengtech.com>2016-07-25 15:02:19 -0500
committerFreddie Chopin <freddie.chopin@gmail.com>2016-11-04 21:12:05 +0000
commit058ed7a43f3253225649a552b09bb1f066ce467d (patch)
tree49c3dbe1204c7385bb83a5f72f54a2cf252b1032 /tcl
parentca19c82d94ae8448520d40b1c4fc3abd44afb857 (diff)
downloadriscv-openocd-058ed7a43f3253225649a552b09bb1f066ce467d.zip
riscv-openocd-058ed7a43f3253225649a552b09bb1f066ce467d.tar.gz
riscv-openocd-058ed7a43f3253225649a552b09bb1f066ce467d.tar.bz2
tcl/board: Add board configuration for nRF51-DK, and nRF52-DK.
Both boards use SEGGER interface. nRF52 flash driver is in change 3511. The board files were needed for transport select to SWD. The default jtag transport didn't failover to SWD. Change-Id: Id9c72aa88eeeb6a4e1999ee182f5284dbe535c05 Signed-off-by: Rick Foos <rfoos@solengtech.com> Reviewed-on: http://openocd.zylin.com/3600 Tested-by: jenkins Reviewed-by: Fredrik Hederstierna <fredrik.hederstierna@gmail.com> Reviewed-by: Michael Dietz <mjdietzx@gmail.com> Reviewed-by: Jiří Pinkava <j-pi@seznam.cz> Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/nordic_nrf51_dk.cfg9
-rw-r--r--tcl/board/nordic_nrf52_dk.cfg9
2 files changed, 18 insertions, 0 deletions
diff --git a/tcl/board/nordic_nrf51_dk.cfg b/tcl/board/nordic_nrf51_dk.cfg
new file mode 100644
index 0000000..96f5471
--- /dev/null
+++ b/tcl/board/nordic_nrf51_dk.cfg
@@ -0,0 +1,9 @@
+#
+# Nordic Semiconductor NRF51 Development Kit (nRF6824)
+#
+
+source [find interface/jlink.cfg]
+
+transport select swd
+
+source [find target/nrf51.cfg]
diff --git a/tcl/board/nordic_nrf52_dk.cfg b/tcl/board/nordic_nrf52_dk.cfg
new file mode 100644
index 0000000..9f52866
--- /dev/null
+++ b/tcl/board/nordic_nrf52_dk.cfg
@@ -0,0 +1,9 @@
+#
+# Nordic Semiconductor NRF52 Development Kit (nRF52832)
+#
+
+source [find interface/jlink.cfg]
+
+transport select swd
+
+source [find target/nrf52.cfg]