Is there some good spi lib that is comparable to wiringpi?
Afair bpi changed wiredpi for use with r2,but have not tested this.i access gpio directly and spi works so far with spidev
Edit: seems like r2 is also not supported,but maybe you can add support like other bpi-boards were added
BTW I currently try adding spidev to OpenWrt.
R2 support is not merged yet (no r64 work done)…why adding it to openwrt?
I will add this as patches. Since I need it.
Okay, just saw that some stuff is happening in the init function that I can not apply to OpenWrt.