AnsweredAssumed Answered

How to acces GPIO on imx6 running linux (toradex product)

Question asked by Remco Hardeveld on Jan 17, 2017

Hi everyone,


i'm a very novice when it comes to Linux. But at the moment i have an imx6q running linux and i want to write a simple program to see gpio blinking. 

The supplier of my board has different "device drivers" but none i find really intuitive to use and bad explanation. At the moment I can do it with changing /sys/class/gpio.... but i know there need to be a better way to do this. 

Can some one point me in the right direction of give example code from which i can work.


I would be verry helpful.


Kind regards,