diff
's. 4.19.94-ti-xenomai-r64
and have all the libraries in place. (refer here to do the same)prudis
installed on your system from here./root/.
) git clone https://github.com/giuliomoro/Bela-dhruva Bela
Switch to the BBAI-support
using git checkout BBAI-support
inside the repo you just cloned.
devmem2
tool which can be found in /resources/bin. This helps configure the clock, without this step things can go wrong later on. (This will soon be done automatically from the PRU code, but till then this will be necessary.) sudo ./devmem2 0x4A005550 w 0x7000002
git checkout build_pru
(Not needed anymore, this has been taken care of in PRU code)Now copy this tempfolder where you want outside the Bela repo and then navigate into it.
Now, follow the README from here which you will also find inside the tempfolder.
ai-testing
branch using git checkout ai-testing
projects
folder in /root/Bela/.
and then copy your choice of example (here I show sinetone) to it. Then, use the command below to build and run the example. make PROJECT=sinetone CL=-v run BELA_USE_DEFINE=BELA_USE_POLL
Not using McASP->PRU irq
Using Non-McASP IRQ embedded PRU firmware
Stopping PRU1_1
Loading firmware into PRU1_1: /lib/firmware/am57xx-pru1_1-fw symlinked from /root/testBela/build/pru/pru_rtaudio.out
Starting PRU1_1
_________________Audio Thread!
and also be able to hear a sinetone of 440Hz frequency on the AUDIO OUTPUT of the BELA Cape.
ctrl+C
.ldconfig /usr/xenomai/lib/
if you get any libcobalt
related errorP_19
and 9_20
)git revert bf14f5172e25b0f3b1f9fc0b7ef573b8fa9d4786