From d9a4030b94fe9cf95dc51c8b28d802b41a8ab89f Mon Sep 17 00:00:00 2001 From: RoboSchmied Date: Fri, 22 Mar 2024 05:31:57 +0100 Subject: [PATCH] cortexm: Fixed a typo in the AIRCR bit define for endianness Signed-off-by: RoboSchmied --- src/target/cortexm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/cortexm.h b/src/target/cortexm.h index a699531c1d0..d427e8b7df1 100644 --- a/src/target/cortexm.h +++ b/src/target/cortexm.h @@ -69,7 +69,7 @@ extern unsigned cortexm_wait_timeout; /* Application Interrupt and Reset Control Register (AIRCR) */ #define CORTEXM_AIRCR_VECTKEY (0x05faU << 16U) /* Bits 31:16 - Read as VECTKETSTAT, 0xfa05 */ -#define CORTEXM_AIRCR_ENDIANESS (1U << 15U) +#define CORTEXM_AIRCR_ENDIANNESS (1U << 15U) /* Bits 15:11 - Unused, reserved */ #define CORTEXM_AIRCR_PRIGROUP (7U << 8U) /* Bits 7:3 - Unused, reserved */