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.