public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Trenton D. Adams" <tadams@extremeeng.com>
To: "'eCos Discussion'" <ecos-discuss@sourceware.cygnus.com>
Subject: [ECOS] Driver Development approach
Date: Mon, 11 Jun 2001 15:06:00 -0000	[thread overview]
Message-ID: <000e01c0f2c2$77c59ab0$090110ac@BURN> (raw)

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?

             reply	other threads:[~2001-06-11 15:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11 15:06 Trenton D. Adams [this message]
2001-06-12 11:09 ` Jonathan Larmour
2001-06-12 13:07   ` Trenton D. Adams
2001-06-12 15:59     ` Lewin A.R.W. Edwards
2001-06-12 15:57 Dan Conti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000e01c0f2c2$77c59ab0$090110ac@BURN' \
    --to=tadams@extremeeng.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).