tcl/board: Add board configuration for nRF51-DK, and nRF52-DK. 00/3600/4
authorRick Foos <rfoos@solengtech.com>
Mon, 25 Jul 2016 20:02:19 +0000 (15:02 -0500)
committerFreddie Chopin <freddie.chopin@gmail.com>
Fri, 4 Nov 2016 21:12:05 +0000 (21:12 +0000)
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>
tcl/board/nordic_nrf51_dk.cfg [new file with mode: 0644]
tcl/board/nordic_nrf52_dk.cfg [new file with mode: 0644]

diff --git a/tcl/board/nordic_nrf51_dk.cfg b/tcl/board/nordic_nrf51_dk.cfg
new file mode 100644 (file)
index 0000000..96f5471
--- /dev/null
@@ -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 (file)
index 0000000..9f52866
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# Nordic Semiconductor NRF52 Development Kit (nRF52832)
+#
+
+source [find interface/jlink.cfg]
+
+transport select swd
+
+source [find target/nrf52.cfg]