Forum Discussion
Altera_Forum
Honored Contributor
19 years agointerrupt in button_pio
HI, Does anyone know how to get button_pio to run a function based on interrupt. E.g. Press a button, it generates an interrupt so that cpu can read the status and do something. I am ...
Altera_Forum
Honored Contributor
19 years agoHi,
What I have done now is included the altera_pio_button.c into the source tree locally, and change Makefile and Kconfig accordingly, and then compile by doing make; make linux image; All seems to be fine, but when I look at /proc/interrupts, there is no list of pio_buttons nor is there /dev/btn Any ideas what went wrong ?