diff --git a/arch/misoc/src/lm32/lm32_irq.c b/arch/misoc/src/lm32/lm32_irq.c index 4218d8872b..dab24189e6 100644 --- a/arch/misoc/src/lm32/lm32_irq.c +++ b/arch/misoc/src/lm32/lm32_irq.c @@ -69,6 +69,10 @@ void lm32_irq_initialize(void) g_current_regs = NULL; + /* Attach the software interrupt */ + + (void)irq_attach(MISOC_IRQ_SWINT, lm32_swint); + /* Enable interrupts */ irq_setie(1);