static const struct stack_register_offset rtos_chibios_arm_v7m_stack_offsets[ARMV7M_NUM_CORE_REGS] = {
{ ARMV7M_R0, -1, 32 },
{ ARMV7M_R1, -1, 32 },
{ ARMV7M_R2, -1, 32 },
{ ARMV7M_R3, -1, 32 },
{ ARMV7M_R4, 0x00, 32 },
{ ARMV7M_R5, 0x04, 32 },
{ ARMV7M_R6, 0x08, 32 },
{ ARMV7M_R7, 0x0c, 32 },
{ ARMV7M_R8, 0x10, 32 },
{ ARMV7M_R9, 0x14, 32 },
{ ARMV7M_R10, 0x18, 32 },
{ ARMV7M_R11, 0x1c, 32 },
{ ARMV7M_R12, -1, 32 },
{ ARMV7M_R13, -2, 32 },
{ ARMV7M_R14, -1, 32 },
{ ARMV7M_PC, 0x20, 32 },
{ ARMV7M_XPSR, -1, 32 },
};