This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: microwindows?


Shannon Holland wrote:
On Sunday, February 2, 2003, at 06:00 PM, Shannon Holland wrote:

Are there examples of how to integrate microwindows into an app? I've added the mw package and have put in some basic support for my lcd (it's a SED1335 based lcd connected to the at91 EB40A). I've done some basic lcd support things (based from the arm/edb7xxx port - not sure if this is a good place to start!).

I've seen the ecos_app.c, etc stuff in the ecos dir under microwindows and have turned on all the ECOS/Microwindows stuff in my .ecc file, but guess I'm missing where things are built? Well, I can see the objects are compiled (ecos_init.o, etc), but what do I need to do to invoke all of this?

I also need to determine if I've done the right thing by the lcd driver or not - I'll look at that next!

OK, I did find that if I include ecos_app.c in my app, then it does start the nanox server, etc. Nothing does seem to work though. I don't have a keyboard or mouse - will this cause it to bail?
Well without a keyboard or mouse I wonder what you're expecting to happen :-). The only targets it has been used with before have been the PC and the IPAQ. You'll see in services/gfx/mw/current/src/drivers/ that there's kbd_ipaq.c, mou_ipaq.c and scr_ecos.c for the IPAQ, as well as scr_ecospcsvga.c for the PC along with other obvious drivers. That's the basis for adding future drivers right now. We hope to have a proper keyboard, mouse and screen driver framework, but doing it directly in microwindows will have to do for the time being.

I also need to look at the ecos screen driver - it is indeed calling my lcd support code but I have to lie and tell it I support RGB555 when I'm only 1 bit. Does this RGB555 setting just mean that colors are speced as 555 but then rendered however?
It was written with the iPAQ in mind, so if it doesn't work, it probably "just" (ahem) needs extending. The microwindows work was work in progress when the project was killed[1], and worked okay in demos, but wasn't properly made generic.

Jifl
[1] Not long before the eCos team left Red Hat.
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]