From 3ae2583b48861c7cc8674b66984189e6f58dc666 Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI Date: Sun, 29 Aug 2021 18:27:52 +0900 Subject: [PATCH] target: cortex_m: Fix a typo VECTRESET According to ARM Cortex M3 technical reference manual, it's "VECTRESET" instead of "VECRESET". Change-Id: Iff5534beac2b313cee6da3252d76d4d44a61eeed Signed-off-by: Yasushi SHOJI Reviewed-on: https://review.openocd.org/c/openocd/+/6508 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI Reviewed-by: Antonio Borneo --- src/target/cortex_m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c index f3c8527cf3..08f2eb9117 100644 --- a/src/target/cortex_m.c +++ b/src/target/cortex_m.c @@ -1243,7 +1243,7 @@ static int cortex_m_assert_reset(struct target *target) retval = ERROR_OK; } else { /* Use a standard Cortex-M3 software reset mechanism. - * We default to using VECRESET as it is supported on all current cores + * We default to using VECTRESET as it is supported on all current cores * (except Cortex-M0, M0+ and M1 which support SYSRESETREQ only!) * This has the disadvantage of not resetting the peripherals, so a * reset-init event handler is needed to perform any peripheral resets. -- 2.30.2