hello all. I have mini2440. but I have no idea how to control I/O port by C program. For example I want to control LED1 (GPIO GPB1). so How should I make C program?
how to control I/O port mini2440
min, U should have a look at this thread: http://www.friendlyarm.net/forum/topic/823
You should run a kernel with generic GPIO support enabled. Then all GPIOs of the CPU are available in "/sys/class/gpio". You could use my kernel, it comes with generic GPIO support enabled. Refer http://www.friendlyarm.net/forum/topic/2737