From 058ed7a43f3253225649a552b09bb1f066ce467d Mon Sep 17 00:00:00 2001 From: Rick Foos Date: Mon, 25 Jul 2016 15:02:19 -0500 Subject: [PATCH] tcl/board: Add board configuration for nRF51-DK, and nRF52-DK. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://openocd.zylin.com/3600 Tested-by: jenkins Reviewed-by: Fredrik Hederstierna Reviewed-by: Michael Dietz Reviewed-by: Jiří Pinkava Reviewed-by: Freddie Chopin --- tcl/board/nordic_nrf51_dk.cfg | 9 +++++++++ tcl/board/nordic_nrf52_dk.cfg | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 tcl/board/nordic_nrf51_dk.cfg create mode 100644 tcl/board/nordic_nrf52_dk.cfg diff --git a/tcl/board/nordic_nrf51_dk.cfg b/tcl/board/nordic_nrf51_dk.cfg new file mode 100644 index 00000000..96f5471a --- /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 00000000..9f528669 --- /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] -- 2.39.5