Content originally posted in LPCWare by bomellberg on Fri Apr 10 00:16:30 MST 2015 In uClinux, you can address GPIO in user space by enabling gpio like this:
echo 12 > /sys/class/gpio/export
which gives you a virtual directory named "gpio12" where you can set direction and high/low etc.
My question is: How do I find out the number to use in uClinux?