This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Blocking input on diagnostics
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Blocking input on diagnostics
- From: "Robert Cragie" <rcc at jennic dot com>
- Date: Tue, 13 Mar 2001 08:57:54 -0000
I have upgraded to the recent CVS version and have done a port to the ARM
integrator platform based on my 1.3.1 port and looking at the changes to the
PID board.
Everything works OK, except that I notice that stdin through the diagnostics
uses a busy wait, which is undesirable for the usual reasons. I notice also
that the interrupt handler only seems to cater for ctrl-c handling. The
comms. stuff seems to have been abstracted out through the CYGACC_COMM_xxx
interface, and there doesn't seem to be any catering for handling all
characters via ISR.
Is there a 'proper' way to put in blocking wait for all characters via ISR
on the serial input?
TIA
Robert Cragie
Design Engineer
Jennic Ltd.
Furnival Street
Sheffield
S1 4QT
United Kingdom
Tel: +44 (0) 114 281 4512
Fax: +44 (0) 114 281 2951
mailto:rcc@jennic.com
http://www.jennic.com