[En-Nut-Discussion] New displays, chained devices, best way or how to

Ernst Stippl ernst at stippl.org
Sun Mar 29 18:48:43 CEST 2009


Hallo Ulrich!

Wie geht mit den graphical display routines? 
Hast du für dich eine "Architektur" ausgedacht, die du implementiert hast? 
Ich frage deshalb, weil dies (wenn bzgl. Linzenz möglich) zusätzliche Info
auf der Wiki Seite werden könnte...

Beste Grüße

Ernst Stippl
Wien

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Ulrich Prinz
Gesendet: Mittwoch, 04. März 2009 23:08
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] New displays, chained devices,best way or how
to

Hi!

I'm almost new to nutos, almost as I used it mostly as it is before. But 
now I'd need to extend it in many ways and I am missing lots of how-to's 
or best ways.

New display types:
I am implementing a graphical display. I am trying to keep as close to 
the LCD structures as I can, but those code ist mostly character 
oriented. A graphical display, especially one without own fonts, is 
pixel oriented. The LCD code is attached to the term.c what would be 
great for the graphical display to. But there are some new commands 
needed to use all the features a graphical display features.
So, did already someone solve that and has some code where I can jump 
into? Or are there comments how to do that the best way?

Chaining Devices:
The displays I am trying to attach are SPI displays. So I need to 
register a new device for the SPI bus. Then I need to register a new 
stream device attached to the spi device from before. Is there an 
optimal way to do this? Actually I do the NutRegisterSPIDevice and then 
I do a NutRegisterDevice. But I think the registration of the display 
device itself should keep care for registering itself on the SPI bus in 
its init routines.

At all I really miss some guides of how to do some thing inside nutos 
the best way. Is there any further documentation available?

Sorry for beeing some more general, but I'd like to avoid posting long 
lines of code if there is already a solution at hands.

Ah, I develop these nutos drivers under linux but will backport them to 
the windows release for shure and share them to the community. But  I 
have massive problems getting the GUI going of the nutos configurator 
under linux. Any comments for that too?

Best regards and thanks in advance!

Ulrich
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.7/1983 - Release Date: 03/04/09
07:41:00



More information about the En-Nut-Discussion mailing list