Hi guys:
is there any methods that can use gpio directly(API.. etc), because i don't want to write a gpio driver for my requirement, thanks in advance.I am using kernel 3.8 for the beagleboneblack.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi IvanLai,
Check the following wiki:
http://processors.wiki.ti.com/index.php/Linux_PSP_GPIO_Driver_Guide#Driver_Usage
Especially the User Space Control part: http://processors.wiki.ti.com/index.php/Linux_PSP_GPIO_Driver_Guide#User_Space_-_Sysfs_control
Best Regards,
Yordan
Hi Ivan,
I've done some google search & got some links and I hope it could help.
Shell :
http://developer.ridgerun.com/wiki/index.php/How_to_use_GPIO_signals#Example_shell_script_making_it_easy_to_set_GPIOs_from_the_command_line
C - app
https://github.com/enableiot/iotkit-samples/blob/master/c/gpio/gpio.c