From b5c37f02707e4abfe736efafdd88bd309ce2d83b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 31 May 2016 11:42:21 -0600 Subject: [PATCH] LP43: Add support for more than 63 interrupts (not currently needed) --- arch/arm/src/lpc43xx/lpc43_irq.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/src/lpc43xx/lpc43_irq.c b/arch/arm/src/lpc43xx/lpc43_irq.c index 892b2c48a0..be616ccb01 100644 --- a/arch/arm/src/lpc43xx/lpc43_irq.c +++ b/arch/arm/src/lpc43xx/lpc43_irq.c @@ -344,7 +344,12 @@ void up_irqinitialize(void) /* Disable all interrupts */ putreg32(0, NVIC_IRQ0_31_ENABLE); +#if LPC43M4_IRQ_NIRQS > 31 putreg32(0, NVIC_IRQ32_63_ENABLE); +#if LPC43M4_IRQ_NIRQS > 63 + putreg32(0, NVIC_IRQ64_95_ENABLE); +#endif +#endif /* Make sure that we are using the correct vector table. The default * vector address is 0x0000:0000 but if we are executing code that is