On Sun, Nov 30, 2008 at 11:53 AM, Andrew Lunn <[EMAIL PROTECTED]> wrote: > On Fri, Nov 28, 2008 at 01:30:23AM +0100, Rutger Hofman wrote: >> Last time I visited a conference, everybody spoke about 'Release early, >> release often'. >> >> Here comes an alpha release of the eCos NAND Flash library and the eCos >> YAFFS wrapper library (r536 of our repository). > > Thanks for showing us the code at this early state. I just started > browsing through it. > > ... ... > > > The idea of generic GPIO functions needs to be discussed in the bigger > context. More likely these need to be HAL macros, CYG_HAL_GPIO_SET(). > We want these to be fast as generally they are just two or three > assembly instructions. Doing a function call is too expensive in most > cases. You also need a generic way to address pins. The AT91 var hal > has some ideas here. >
I think also that generic GPIO woukld be a good idea. This would simplify writing generic drivers, etc. Gábor -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
