prussdrv_map_prumem()
under 2 seperate functions one for local memory and one for shared. prussdrv_init()
and prussdrv_open()
under PruManagerUio::start()
prussdrv_pru_disable()
under PruManagerUio::stop()
I also tried prudebug tool. I forked it from here and made the necessary additions under pdb
on the branch bbai. The program compiled fine, and I was also able to drop into the prudebug shell interface, however if I tried any commands like RESET
or HALT
then it would throw me out saying Segmentation fault
. So it seems like it won't be that easy to really port prudebug to the BBAI v4.19-xenomai-r64.
Tried compiling the BELA Repo on BBB v4.19 xenomai, and succeeded. However the programs won't run probably due to a faulty UIO configuration. Will consult mentor on how to solve this issue.
Created first edition of Makefile that adapts to the new build procedure for the Bela PRU firmware.
Fix error "Failed to open /dev/i2c-2 I2C Bus" while trying to run an example on BBAI by changing codecI2cBus
in include/bela_hw_settings.h
to i2c4