Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTurn on Leds
Hi, I have managed to introduce linux in target DE2. These last days I was able to control a port of leds with the archive "nios2.h", but when I rebuilted the kernel I saw an interesting option...
Altera_Forum
Honored Contributor
16 years agoIs there anyway to make gpio *inputs* available in userspace? I have this LED stuff working, but now I need some inputs.
Here they descirbe a more complete interface where direction can be set via sysfs, but it does not seem to exist in the Nios2 Linux distro. http://www.avrfreaks.net/wiki/index.php/documentation:linux/gpio Is that not available for Nios2? Thanks, Dave ...