aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/lpc12xx.cfg
diff options
context:
space:
mode:
authorVanya Sergeev <vsergeev@gmail.com>2014-02-20 01:06:04 -0800
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-09-08 23:05:08 +0000
commitb5a6ba46aaed530a4b1397b9617de0ff316f6efb (patch)
treedaa73548b7d14361198899fdf8c2dd16d1583997 /tcl/target/lpc12xx.cfg
parent1e439e2a9a4392586bdfce0ebab4d63690f7fe6e (diff)
downloadriscv-openocd-b5a6ba46aaed530a4b1397b9617de0ff316f6efb.zip
riscv-openocd-b5a6ba46aaed530a4b1397b9617de0ff316f6efb.tar.gz
riscv-openocd-b5a6ba46aaed530a4b1397b9617de0ff316f6efb.tar.bz2
cfg: refactor lpc1xxx targets onto one base config
Since now auto-detection for flash size works nicely, there's no reason to keep numerous configs around. Change-Id: If0cbc37985abf17ef7c1f7d0688e76500fac228f Signed-off-by: Vanya Sergeev <vsergeev@gmail.com> Reviewed-on: http://openocd.zylin.com/1960 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/target/lpc12xx.cfg')
-rw-r--r--tcl/target/lpc12xx.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/tcl/target/lpc12xx.cfg b/tcl/target/lpc12xx.cfg
new file mode 100644
index 0000000..a37c6fe
--- /dev/null
+++ b/tcl/target/lpc12xx.cfg
@@ -0,0 +1,8 @@
+# NXP LPC12xx Cortex-M0 with at least 4kB SRAM
+set CHIPNAME lpc12xx
+set CHIPSERIES lpc1200
+if { ![info exists WORKAREASIZE] } {
+ set WORKAREASIZE 0x1000
+}
+
+source [find target/lpc1xxx.cfg]