Just found another issue:

Am Mittwoch, 12. Oktober 2016 15:05:12 UTC+2 schrieb Jelle Spijker:
>
> Fragment of the Shared library:
>
> void BBB::loadPRUfirmware(const unsigned int &number, const std::string 
> &firmwareLocation) {
>     //Initialize structure used by prussdrv_pruintc_intc
>     tpruss_intc_initdata pruss__intc_initdata = PRUSS_INTC_INITDATA;
>     //Allocate and initialize memory
>     prussdrv_init();
>     prussdrv_open(PRU_EVTOUT0);
>     //Map PRU's interrupts
>     prussdrv_pruintc_init(&pruss__intc_initdata);
>     //Load and execute the PRU program on the PRU
>     prussdrv_exec_program(number, firmwareLocation.c_str());
>     // Wait for event completion from PRU, returns PRU_EVTOUT_0 number
>     //int n = prussdrv_pru_wait_event(PRU_EVTOUT0);
>     //prussdrv_pru_disable(number);
>     //prussdrv_exit();
> }
>
>
It should read (underscore before 0):

prussdrv_open(PRU_EVTOUT_0);


 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1fd7eabf-f2e2-47b3-b238-884e44871c31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to