beagleboard / am335x_pru_package

332 stars 181 forks source link

prussdrv: add prussdrv_exec_code function #20

Closed fhunleth closed 10 years ago

fhunleth commented 10 years ago

This adds a helper function for loading PRU code from memory. This is handy when building the PRU code into the application executable with a header file generated by "pasm -c".

This is based on similar functions found in various am335x_pru_package forks.

Signed-off-by: Frank Hunleth fhunleth@troodon-software.com