Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHi,
I've been busy with other software and haven't got back to playing with Nios II yet. When I was playing with Nios II, I was using uClinux and my main interest was in writing a device driver for a simple device. I built a very basic hello world device driver as a module and was able to insmod it into memory - my biggest hurdle was figuring out how to get the module to build, I wrote a thread which contained some instructions on how to build a module for a Nios II uClinux kernel. It's this thread here (http://www.niosforum.com/forum/index.php?act=st&f=17&t=93). Once you've got a module that you can insmod it should be pretty straightforward to customize it for your lcd, a good starting point would be to look at the device driver for the buttons that exists in the drivers section of the kernel source - you'll also need a skeleton 2.6 module driver to put your code in, but there's only a few lines of code required for a basic driver so you should be able to find one very easily. Adrian