From: Uwe Bonnes Date: Fri, 13 Feb 2015 15:48:23 +0000 (+0100) Subject: cortex_m: Add Cortex-M0 identification to ROM-table display. X-Git-Tag: v0.9.0-rc1~122 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=db83fb307b56a0149bcab807593a12a2cff93286 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 --- diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 1576d766d6..4f19e95486 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)";