From db83fb307b56a0149bcab807593a12a2cff93286 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Fri, 13 Feb 2015 16:48:23 +0100 Subject: [PATCH] cortex_m: Add Cortex-M0 identification to ROM-table display. Change-Id: Id7715a83ba9793844475629aaffd10a81ce586b6 Signed-off-by: Uwe Bonnes Reviewed-on: http://openocd.zylin.com/2549 Tested-by: jenkins Reviewed-by: Paul Fertser Reviewed-by: Stian Skjelstad --- src/target/arm_adi_v5.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 1576d766..4f19e954 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1234,6 +1234,18 @@ static int dap_rom_display(struct command_context *cmd_ctx, type = "Cortex-M3 FBP"; full = "(Flash Patch and Breakpoint)"; break; + case 0x008: + type = "Cortex-M0 SCS"; + full = "(System Control Space)"; + break; + case 0x00a: + type = "Cortex-M0 DWT"; + full = "(Data Watchpoint and Trace)"; + break; + case 0x00b: + type = "Cortex-M0 BPU"; + full = "(Breakpoint Unit)"; + break; case 0x00c: type = "Cortex-M4 SCS"; full = "(System Control Space)"; -- 2.39.5