Forum Discussion
Altera_Forum
Honored Contributor
9 years agoDE10-Nano Handling FPGA interrupts
Hello, I'm trying to find info on how to handle an IRQ from FPGA to HPS via f2h_irq0 Interrupt Receiver. For now I don't have a clue. I just found info on how to handle GPIO like KEY0 or KEY1...
Altera_Forum
Honored Contributor
9 years agoHey thanks!
I should stated that I was working under linux!. I was reading the altera documentation for HWLIB and SoCAL APIs without success. This is a simple starting program with a strange error:#include <stdio.h>
# include "hwlib.h"
# include "alt_interrupt.h"
int main() {
ALT_STATUS_CODE status;
status = alt_int_global_init();
if(status == ALT_E_SUCCESS) printf("exito...");
return 0;
} I got this error: main.o: In function `main':
C:\Users\nhasbun\Desktop\C/main.c:7: undefined reference to `alt_int_global_init I guess it's a linker problem on my makefile ?