From: Spencer Oliver Date: Wed, 17 Jul 2013 09:59:00 +0000 (+0100) Subject: cortex_m: change cmd output to use cortex_m rather than cortex_m3 X-Git-Tag: v0.8.0-rc1~341 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4fd7170e53c7ffcf06552ab62d869951f6fd9b46;p=openocd cortex_m: change cmd output to use cortex_m rather than cortex_m3 Change-Id: I33834910c44d22169bcf684e9697a8db49d0b396 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1513 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- diff --git a/src/target/armv7m.c b/src/target/armv7m.c index 3350e04a..622de490 100644 --- a/src/target/armv7m.c +++ b/src/target/armv7m.c @@ -678,7 +678,7 @@ int armv7m_checksum_memory(struct target *target, if (retval == ERROR_OK) *checksum = buf_get_u32(reg_params[0].value, 0, 32); else - LOG_ERROR("error executing cortex_m3 crc algorithm"); + LOG_ERROR("error executing cortex_m crc algorithm"); destroy_reg_param(®_params[0]); destroy_reg_param(®_params[1]); diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c index a7cf18f7..1d08c95f 100644 --- a/src/target/cortex_m.c +++ b/src/target/cortex_m.c @@ -2192,7 +2192,7 @@ COMMAND_HANDLER(handle_cortex_m3_mask_interrupts_command) } n = Jim_Nvp_value2name_simple(nvp_maskisr_modes, cortex_m3->isrmasking_mode); - command_print(CMD_CTX, "cortex_m3 interrupt mask %s", n->name); + command_print(CMD_CTX, "cortex_m interrupt mask %s", n->name); return ERROR_OK; } @@ -2229,7 +2229,7 @@ COMMAND_HANDLER(handle_cortex_m3_reset_config_command) break; } - command_print(CMD_CTX, "cortex_m3 reset_config %s", reset_config); + command_print(CMD_CTX, "cortex_m reset_config %s", reset_config); return ERROR_OK; } @@ -2239,7 +2239,7 @@ static const struct command_registration cortex_m3_exec_command_handlers[] = { .name = "maskisr", .handler = handle_cortex_m3_mask_interrupts_command, .mode = COMMAND_EXEC, - .help = "mask cortex_m3 interrupts", + .help = "mask cortex_m interrupts", .usage = "['auto'|'on'|'off']", }, {