From b5a6ba46aaed530a4b1397b9617de0ff316f6efb Mon Sep 17 00:00:00 2001 From: Vanya Sergeev Date: Thu, 20 Feb 2014 01:06:04 -0800 Subject: 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 Reviewed-on: http://openocd.zylin.com/1960 Tested-by: jenkins Reviewed-by: Freddie Chopin Reviewed-by: Spencer Oliver --- tcl/target/lpc12xx.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tcl/target/lpc12xx.cfg (limited to 'tcl/target/lpc12xx.cfg') diff --git a/tcl/target/lpc12xx.cfg b/tcl/target/lpc12xx.cfg new file mode 100644 index 00000000..a37c6feb --- /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] -- cgit v1.2.3-18-g5258