LP43: Add support for more than 63 interrupts (not currently needed)

This commit is contained in:
Gregory Nutt 2016-05-31 11:42:21 -06:00
parent 828c898a80
commit b5c37f0270
1 changed files with 5 additions and 0 deletions

View File

@ -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