Hi,
function nvicSetSystemHandlerPriority uses handler (e.g., HANDLER_SYSTICK = 11) directly with the CMSIS macros _SHP_IDX() and _BIT_SHIFT(). These macros expect the negative system exception number (e.g., SysTick_IRQn = -1), not the positive handler index. This results in an incorrect byte offset ...
Search found 1 match
- Fri Jun 12, 2026 10:35 am
- Forum: Bug Reports
- Topic: nvicSetSystemHandlerPriority writes to wrong SHP register on Cortex-M0+/M0/M23
- Replies: 2
- Views: 388