vignesh-aerlync commented on code in PR #21372:
URL: https://github.com/apache/nuttx/pull/21372#discussion_r4442987377
##########
arch/arm/src/armv8-m/arm_vectors.c:
##########
@@ -103,9 +103,17 @@ const void * const _vectors[] locate_data(".vectors")
start,
- /* Vectors 2 - n point directly at the generic handler */
-
- [2 ... NVIC_IRQ_PENDSV] = &exception_common,
- [(NVIC_IRQ_PENDSV + 1) ... (15 + ARMV8M_PERIPHERAL_INTERRUPTS)]
- = &exception_direct
+ /* Vectors 2 - n point directly at the generic handler.
+ * Reserved slots (7 in Non-Secure, 8-10, and 13) are left unassigned,
+ * which C guarantees to be zero-initialized (NULL).
+ */
+
+ [NVIC_IRQ_NMI ... NVIC_IRQ_USAGEFAULT] = &exception_common,
Review Comment:
Done, aligned = on line 113, Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]