I built a 18.6 openWRT for Linkit Smart 7688 and selected libmraa to be installed but got invalid GPIO pin specified on every GPIO. A search shows that Mediatek has a pinmux program that is not present in openWRT 18.6 for Linkit Smart 7688.
Yes, but I can’t say how.
Did you select the dev/mem sysfs package?
I can have a look in to my build tomorrow to point you to the deeply nested location but you can also search in menuconfig for dev/mem i think...
Let me know if you don’t find it.
Isn‘t there a KDEV/MEM to be activates as well?
I don‘t have time to look in to it, but here is a config of mine that worked: https://pastebin.com/g2iBWh8V
And i think this could help:
May be you have to export the GPIO first!
See this line in link above: echo "229" > /sys/class/gpio/export