This is the mail archive of the ecos-discuss@sourceware.org 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: I2C and SPI porting help


Em Sexta, 28 de Outubro de 2005 15:50, o Gary Thomas escreveu:
> On Fri, 2005-10-28 at 15:39 +0100, Carlos Sobrinho wrote:
> > Em Sexta, 28 de Outubro de 2005 15:26, o Gary Thomas escreveu:
> > > Could you post it here (so we may all benefit)?
> > >
> > > Does it use the cyg_XXX infrastructure?
> >
> > I believe that some sort of code or pseudo code could be very usefull to
> > help people develop their own device driver and maybe, it could be added
> > to the anoncvs.
> >
> > BTW, I currently have some device drivers for eCos and AEB-1 (ARM7):
> > * GP2D12 Sharp IR receiver
> > * GP2D02 Sharp IR receiver
> > * SRF08 Ultrasonic Range Finder
> > * 24Cxx E²PROM
> > * Nokias LCD (3310/7110/etc)
> > * Mini graphical library (lines, horizontal/vertical lines, progress
> > bars, fonts, etc with a very low footprint...)
> >
> > Is this code that I should review to match eCos's structs and commit to
> > CVS? Anyone interested?
>
> Absolutely!  The best way would be to send a patch against the [current]
> CVS to ecos-patches@ecos.sourceware.org  We'll review the patch and then
> apply to the repository, as appropriate.
>
> Of course, don't forget the copyright assignment (we have to have very
> clear ownership of anything included into CVS).  Review the documents
> at http://ecos.sourceware.org/ecos/assign.html
>

Will do that.
As soon as I port the bit bang SPI/I2C to the AEB-1 I'll (try) port the device 
drivers to the eCos way and then send the copyright assignment.

I need to change a little of the code because I currently don't use the 
cyg_drv_.. but the normal/kernel versions (cyg_mutex instead of 
cyg_drv_mutex) but this should not be major problem.

At least, the graphical lib and the nokias display drivers should be usefull 
to someone because of the low footprint. I'm estimating a footprint, 
including driver, fonts and graphical lib of 8/15KB.

It has a frame buffer, optimized update (only the painted areas), some 
optimized primitives and a tiny (6x4) font.

Regarding the copyright assignment, the site refers to company, what if I'm a 
student and this is my hobby and all the work is mine? What should I put?

WBR
Carlos Sobrinho

-- 
#############################################################################
# Old mercenaries never die. They go to hell and regroup.                   #
#############################################################################

Attachment: pgp00000.pgp
Description: PGP signature


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