I can't see any BSP config however this is where I am at.
I got the thing to build again using
ALT_ENHANCED_INTERRUPT_API_PRESENT
And using Enhanced Interrupts.
I set up the interrupt in code by calling
alt_ic_isr_register (CODEC_SIMPLE_MASTER_2_0_IRQ_INTERRUPT_CONTROLLER_ID, CODEC_SIMPLE_MASTER_2_0_IRQ, codec_isr, NULL, 0x0);
My interrupt service routine is.
static void codec_isr (void *context)
{
}
This builds fine however the processor seems to hang when the interrupt is asserted.
I did an enhanced interrupt based PIO based project and I can get into the interrupt here (to check if my setup was correct).
So my custom peripheral's interrupt seems to hang the NIOS II processor. (The main loop is no longer running).
Weird.
Any ideas?