You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int prussdrv_open(unsigned int host_interrupt) expects that we pass an interrupt number, but what if our program does not need interrupts at all, or if these are handled differently? However, if we do not call prussdrv_open, then the internal __prussdrv_memmap_init() will not be called and so further calls may fail.
So currently, my workaround is to call prussdrv_open(PRU_EVTOUT_0) and then ignore the interrupt. I'd argue we should not be forced to open an interrupt fd.
Or am I missing something?