Skip to content

Commit

Permalink
cortexm: Fixed a typo in the AIRCR bit define for endianness
Browse files Browse the repository at this point in the history
Signed-off-by: RoboSchmied <github@roboschmie.de>
  • Loading branch information
RoboSchmied authored and dragonmux committed Mar 22, 2024
1 parent b386fae commit d9a4030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/cortexm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d9a4030

Please sign in to comment.