X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Frtos%2Fnuttx.c;h=6b20ed322342c732d70af03982dee39cc8f88b5a;hb=0c6e0bb82bef9c93506e2f30fc20918691540e65;hp=3afad3d029f55f8cd8d1a51e3852381ed29d07be;hpb=de5c32fe2399bc31f69429262e42555a2dbd9095;p=fw%2Fopenocd diff --git a/src/rtos/nuttx.c b/src/rtos/nuttx.c index 3afad3d02..6b20ed322 100644 --- a/src/rtos/nuttx.c +++ b/src/rtos/nuttx.c @@ -103,7 +103,7 @@ static const struct stack_register_offset nuttx_stack_offsets_cortex_m[] = { { ARMV7M_R13, 0, 32 }, /* sp */ { ARMV7M_R14, 0x3c, 32 }, /* lr */ { ARMV7M_PC, 0x40, 32 }, /* pc */ - { ARMV7M_xPSR, 0x44, 32 }, /* xPSR */ + { ARMV7M_XPSR, 0x44, 32 }, /* xPSR */ }; @@ -131,7 +131,7 @@ static const struct stack_register_offset nuttx_stack_offsets_cortex_m_fpu[] = { { ARMV7M_R13, 0, 32 }, /* sp */ { ARMV7M_R14, 0x80, 32 }, /* lr */ { ARMV7M_PC, 0x84, 32 }, /* pc */ - { ARMV7M_xPSR, 0x88, 32 }, /* xPSR */ + { ARMV7M_XPSR, 0x88, 32 }, /* xPSR */ }; static const struct rtos_register_stacking nuttx_stacking_cortex_m_fpu = {