Hi again!
Ok I tried to implement the alt_irq_interruptible() and alt_irq_non_interruptible() functions but I get an undefined reference error:
undefined reference to `alt_irq_interruptible'
undefined reference to `alt_irq_non_interruptible'
The <sys/alt_irq.h> headerfile is included. Is there any other headerfile required?
I also checked the "HAL API reference" (can be found here:
http://www.altera.com/literature/hb/nios2/n2sw_nii52010.pdf) and noticed that both functions are not listed (any longer?). Maybe those are deprecated? What would be the alternative?
Thanks in advance!