beagleboard / am335x_pru_package

331 stars 181 forks source link

where is the function "prussdrv_start_irqthread"? #33

Open zhanglongqi opened 9 years ago

zhanglongqi commented 9 years ago

From the API http://processors.wiki.ti.com/index.php/PRU_Linux_Application_Loader_API_Guide#prussdrv_start_irqthread i can find the function "prussdrv_start_irqthread", but I can't find it from the code, So how I can make a interrupt handler in my C code which running in ARM.

ipburbank commented 9 years ago

It looks like this version of prussdrv is out of date. Until this is fixed, you can find the source as described here: http://processors.wiki.ti.com/index.php/PRU_Linux_Application_Loader_API_Guide

zhanglongqi commented 9 years ago

you mean the document is for the old version of prussdrv, the newest version have no this feature?

b2ag commented 8 years ago

Just to put my two cents in I guess you won't see that function having a comeback. I think it's because of it's dependency to pthread and other surrounding framework functionality, which would make the whole library much more complex. The source for the function though can be found there: http://pastebin.com/HMfK7evt It's not worth much without the mentioned framework around it for which I couldn't find any sources.