I have get the access of GPIO from terminal and check the value in CRO
echo 19 >/sys/class/gpio/export
echo out >/sys/class/gpio/gpio19/direction
echo 1 >/sys/class/gpio/gpio19/value
echo 0 >/sys/class/gpio/gpio19/value
echo 19 >/sys/class/gpio/unexport
but can any suggest me how to write c code and compile it on imx6ulevk board from user space.
what is to done i want to make a recipes or it will be done by simple make-file.