I have implemented a first attempt at an eCos port for uGFX. Unfortunately I have run out of time for now as I have to spend time on some other work. I wanted to put this up here in case someone in the eCos community would like to continue that process to get a full working port and package together for uGFX under eCos.
Where it is at... - The eCos port can be found in the eCos branch of the uGFX git repository at https://bitbucket.org/Tectu/ugfx.git - The uGFX GOS module port should be complete but is probably not implemented very well. Eg currently it assumes the C runtime is initialised to use functions such as malloc() and free(). - There is a board interface file "boards/addons/gdisp/board_framebuffer_eCos.h" that should interface the uGFX library using the uGFX framebuffer driver to the eCos framebuffer device. This file should be copied into the users project and renamed "board_framebuffer.h". Alternatively any of the other uGFX display drivers can be used. - Code is written but has not been compiled or tested. Unfortunately I have not yet got the eCos tools working on my machine (Win8.1 x64, 64 bit Cygwin). I suspect I need to install 32 bit Cygwin but currently have run out of time. - No packaging has been started yet. It looks like all the uGFX compile options could very easily be added to make a "full featured" eCos package as the options system looks relatively compatible. If no-one is able to take it up, I hope in the next few weeks I will be able to get back to it. Regards, Andrew. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
