[ECOS] Driver Development approach

Trenton D. Adams tadams@extremeeng.com
Mon Jun 11 15:06:00 GMT 2001


I've been reading up on driver development.  I want some advice on my
approach.

I was thinking that I could make a driver that simply prints to stdout
when cyg_io_write() or cyg_io_read() are called on it.  I could make a
test harness program, and run it through GDB.  Then when connecting
through GDB, I would know that it's working because the messages would
be output to me.

Will this even work?  If so, is this a good approach to learn how the
drivers interact with the system?



More information about the Ecos-discuss mailing list