This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 26cc072da289ec343eaa46cd470e81d0df189052
Author: Marco Casaroli <[email protected]>
AuthorDate: Thu Nov 5 20:21:54 2026 +0100

    arch/arm/src/rp23xx: Color the interrupt stack.
    
    up_irqinitialize() of rp23xx does not call arm_color_intstack(), so with
    CONFIG_STACK_COLORATION up_check_intstack() finds no color and reports the
    whole stack as used.  Color it as the other chips do.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 arch/arm/src/rp23xx/rp23xx_irq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/src/rp23xx/rp23xx_irq.c b/arch/arm/src/rp23xx/rp23xx_irq.c
index e318c33e3f4..7bb7681f7b9 100644
--- a/arch/arm/src/rp23xx/rp23xx_irq.c
+++ b/arch/arm/src/rp23xx/rp23xx_irq.c
@@ -335,6 +335,7 @@ void up_irqinitialize(void)
   /* And finally, enable interrupts */
 
 #ifndef CONFIG_SUPPRESS_INTERRUPTS
+  arm_color_intstack();
   up_irq_enable();
 #endif
 }

Reply via email to