From 096e1b32c6e9572bcd776699c8093f1d65ebc7ce Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Mon, 3 Mar 2014 09:56:08 -0800 Subject: [PATCH] Add support for LPC11U14 (tested) and related U-series microcontrollers (untested). --- src/lpc11xx.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lpc11xx.c b/src/lpc11xx.c index 30db181..1e9b84d 100644 --- a/src/lpc11xx.c +++ b/src/lpc11xx.c @@ -64,7 +64,7 @@ static const char lpc11xx_xml_memory_map[] = "" " PUBLIC \"+//IDN gnu.org//DTD GDB Memory Map V1.0//EN\"" " \"http://sourceware.org/gdb/gdb-memory-map.dtd\">"*/ "" - " " + " " " 0x1000" " " " " @@ -103,6 +103,15 @@ lpc11xx_probe(struct target_s *target) case 0x2058002B: /* lpc1115 */ case 0x1431102B: /* lpc11c22 */ case 0x1430102B: /* lpc11c24 */ + case 0x095C802B: /* lpc11u12x/201 */ + case 0x295C802B: + case 0x097A802B: /* lpc11u13/201 */ + case 0x297A802B: + case 0x0998802B: /* lpc11u14x/201 */ + case 0x2998802B: + case 0x2972402B: /* lpc11u23/301 */ + case 0x2988402B: /* lpc11u24x/301 */ + case 0x2980002B: /* lpc11u24x/401 */ target->driver = "lpc11xx"; target->xml_mem_map = lpc11xx_xml_memory_map; target->flash_erase = lpc11xx_flash_erase;