From f036be8cb28e39a6f8f8399dc281a06a348f7437 Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Fri, 23 Jun 2017 21:52:13 +0200 Subject: [PATCH] Identify and support LPC1112/102 MCU as well Signed-off-by: Daniel Egger --- src/target/lpc11xx.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/target/lpc11xx.c b/src/target/lpc11xx.c index e929d6ac..248e7ee7 100644 --- a/src/target/lpc11xx.c +++ b/src/target/lpc11xx.c @@ -89,6 +89,13 @@ lpc11xx_probe(target *t) target_add_ram(t, 0x10000000, 0x2000); lpc11xx_add_flash(t, 0x00000000, 0x20000, 0x1000); return true; + + case 0x0A24902B: + case 0x1A24902B: + t->driver = "LPC1112"; + target_add_ram(t, 0x10000000, 0x1000); + lpc11xx_add_flash(t, 0x00000000, 0x10000, 0x1000); + return true; } idcode = target_mem_read32(t, LPC8XX_DEVICE_ID);