Help: Steps for creating an rtems device driver...
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Thu Jan 6 23:29:18 UTC 2005
> Does anyone already created a rtems device driver?
> I need to create a simple device driver to listen printer port, but I am lost in the steps i need to do...
> Does someone know any doc with the steps to create a rtems device driver?
> I already try to use the polled single port sample but i am lost, in registering, fire the driver, etc...
The simple single polled driver does all that for you BUT it registers
itself as /dev/console.
Copy the shared console_polled code to lpt_polled and change console to
lpt everywhere. Then you should be closer.
> Nuno Costa
> Veja, em exclusivo no IOL, os vídeos da Quinta das Celebridades!
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users