Hi, in the image of the Toradex in /sys/class/gpio I see some gpio exported.
How can I add my own and remove those I don’t need? Which init file I have to use?
Regards Davide
None of the gpios are exported on Colibri iMX6 by default.
root@colibri-imx6:~# ls /sys/class/gpio/
export gpiochip0 gpiochip128 gpiochip160 gpiochip192 gpiochip32 gpiochip64 gpiochip96 unexport
The gpiochipX directories are the GPIO banks available on iMX6. One would have to export a GPIO manually. For the Apalis iMX6, we deploy a systemd service and a script to export the gpios using OpenEmbedded. Please refer the same here, which you can adapt for Colibri iMX6 as per your requirement.
Ok, Thanks for your help!
Regards Davide