Yes, I don‘t use it.
I changed ws281x.h to GPIO 64 (for P.2.17) and the command for enabling the pin to devmem2 0x000F4104 w 0x00040007.
Then I built O2L (uncommented #define USE_OSC) and ran:
cp projects/O2L/O2L.service /lib/systemd/system/
systemctl daemon-reload
systemctl enable --now O2L
Then I rebooted Bela and tried to build my Pure Data Patch.
I get the following output:
`root@bela:~/Bela# devmem2 0x000F4104 w 0x00040007
/dev/mem opened.
Memory mapped at address 0xffffaf806000.
Read at address 0x000F4104 (0xffffaf806104): 0x08214007
Write at address 0x000F4104 (0xffffaf806104): 0x00040007, readback 0x00040007
Stopping Bela ...
Building project...
Build finished
Running project...
Error in evl_create_xbuf: 17 EEXIST File exists
Unable to create pipe p_midiDiscoveryPipe with 8388608 bytes: (-1) Unknown error -1
terminate called after throwing an instance of 'std::runtime_error'
what(): RtNonRtMsgFifo: failed to initialize. NOTE: cannot call setup() or the constructor before Xenomai has been initialised
Aborted
make: *** [Makefile:744: runide] Error 134
Bela stopped
`
To check I tested with O2L only and P2.20. This makes my LEDs blink. I also tested with P2.17 (again O2L only) but no blinking.
With P2.20 it's also working when I run my PD patch locally and O2L is running on bela. When I run O2L as a service on startup and then try to build my PD Patch I get the same error as above.
There seems to be a problem with using P2.17 generally (did I do something wrong?) and with runnind O2L in the background.
For the device tree overlay: I want to use the UART4 overlay from this post UART4. Can I include the Neopixel Pin in this overlay or how should I do this?