]> git.sur5r.net Git - openocd/commitdiff
tcl/board: Add LPC-Link2 config
authorAndreas Färber <afaerber@suse.de>
Fri, 30 Oct 2015 23:00:40 +0000 (00:00 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Thu, 5 Nov 2015 22:26:31 +0000 (22:26 +0000)
Tested with Olimex ARM-USB-TINY-H adapter (both JTAG and SWD).

Change-Id: Idc8a030e9692eec761d1e2485cbf9897660c0ca0
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3082
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
tcl/board/nxp_lpc-link2.cfg [new file with mode: 0644]

diff --git a/tcl/board/nxp_lpc-link2.cfg b/tcl/board/nxp_lpc-link2.cfg
new file mode 100644 (file)
index 0000000..593fa59
--- /dev/null
@@ -0,0 +1,12 @@
+#
+# NXP LPC-Link2
+#
+# http://www.nxp.com/board/OM13054.html
+# https://www.lpcware.com/lpclink2
+# http://embeddedartists.com/products/lpcxpresso/lpclink2.php
+#
+
+source [find target/lpc4370.cfg]
+
+# W25Q80BVSSIG w/ 1 MB flash
+flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m4