I have a Colibri iMX6DL 512MB V1.1A with Colibri Evaluation Board V3.2 running on embedded linux V2.7 provided by Toradex. I am using Eclipse for application development and i want to turn ON and OFF the GPIOs from my C code in eclipse.
I followed this link and i saw the ways to turn ON and OFF gpio pins from terminal and also from eclipse C code but when i tried the one from terminal, while
echo 148 > /sys/class/gpio/export
The terminal gives me write error: Operation not permitted, then i tried with eclipse and the code compiled successfully but no change in the gpio pin. I also tried with various pins the export command not working in both terminal and also from eclipse.
Thanks for your time