public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* Serial VS Diagnostic interface
@ 2009-01-13 19:58 andrew wiggin
  2009-01-14  0:21 ` Chris Zimman
  0 siblings, 1 reply; 13+ messages in thread
From: andrew wiggin @ 2009-01-13 19:58 UTC (permalink / raw)
  To: ecos-devel

Hi all,

I am working with eCos on an AT91 platform for several month now, and
I have always used the serial port as a diagnostic interface for
debugging purpose. However, now I need to use it as a standard serial
in order to be able to use the O_NONBLOCK flag but I couldn't find a
way to use the 16x55 serial driver instead of the haldiag interface:
whatever I do, only the haldiag interface is selected, and removing
the haldiag seems to make it impossible to compile.

I know I can use the solution consisting in replacing the GETC
function with a nonblocking one, and patching whatever function may
need blocking calls on it, but I can't imagine there is no way in eCos
to select whether my only serial port shall be considered as a
diagnostic interface or a _real_ serial port.

Any clue will be welcome.

Thanks,

-- 
Andrew W.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-01-16 19:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-13 19:58 Serial VS Diagnostic interface andrew wiggin
2009-01-14  0:21 ` Chris Zimman
2009-01-14 13:03   ` andrew wiggin
2009-01-14 13:25     ` Chris Zimman
2009-01-14 13:30       ` damien millescamps
2009-01-14 14:19         ` Nick Garnett
2009-01-14 14:58           ` damien millescamps
2009-01-14 15:10             ` Nick Garnett
2009-01-16 16:20               ` andrew wiggin
2009-01-16 16:23                 ` Chris Zimman
2009-01-16 17:35                   ` Jonathan Larmour
2009-01-16 19:02                     ` andrew wiggin
2009-01-14 13:45       ` Chris Zimman

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).