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]

MicroWindows is now easier to use


Inspired by the VNC server from Chris Garry, I've now updated the
MicroWindows setup so that it's possible to build a complete eCos
application purely from the eCos tree.  This both shows how to
do it, plus provides a pretty straight forward framework using
HAL tables for easy tailoring of user application suites.

For example, to build MW with the VNC server and the Nano-tetris
demo, just do this:
  % ecosconfig new <platform> net
  % ecosconfig add mw vnc_server
  % ecosconfig import vnc_demo.cfg
  % ecosconfig tree
  % make
where 'vnc_demo.cfg' contains these lines:

cdl_component CYGBLD_MICROWINDOWS_ECOS {
    user_value 1
};

cdl_option CYGBLD_MICROWINDOWS_ECOS_APP {
    user_value 1
};

cdl_option CYGBLD_MICROWINDOWS_VNC_DRIVERS {
    user_value 1
};

cdl_option CYGBLD_MICROWINDOWS_NANOWM {
    inferred_value 1
};

cdl_component CYGBLD_MICROWINDOWS_NANOX_DEMOS {
    user_value 1
};

cdl_option CYGBLD_MICROWINDOWS_NANOX_DEMOS_NTETRIS {
    user_value 1
};

note: I also modified my VNC server to match the defaults on my desktop

cdl_option CYGNUM_VNC_SERVER_PIXEL_RGB565 {
    user_value 1
};

comment: This works pretty well, but the colors are not very pleasing,
at least on my desktop.  Maybe someone wants to look at this?

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
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]