This is the mail archive of the ecos-discuss@sources.redhat.com 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]

forwarded message from Robert Cragie




Can I assign stdin and stdout to /dev/tty0 easily? IIRC on the 1.3.1 version
it seemed to be tied to /dev/ttydiag.

> -----Original Message-----
> From: jskov@thinktwice.zoftcorp.dk
> [mailto:jskov@thinktwice.zoftcorp.dk]On Behalf Of Jesper Skov
> Sent: 13 March 2001 10:11
> To: Robert Cragie
> Cc: ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] Blocking input on diagnostics
>
>
> >>>>> "Robert" == Robert Cragie <rcc@jennic.com> writes:
>
> Robert> Everything works OK, except that I notice that stdin through
> Robert> the diagnostics uses a busy wait, which is undesirable for the
>
> They are just that - diagnostics routines. Intended for debug output
> only.
>
> Robert> usual reasons. I notice also that the interrupt handler only
> Robert> seems to cater for ctrl-c handling. The comms. stuff seems to
> Robert> have been abstracted out through the CYGACC_COMM_xxx
> Robert> interface, and there doesn't seem to be any catering for
> Robert> handling all characters via ISR.
>
> Robert> Is there a 'proper' way to put in blocking wait for all
> Robert> characters via ISR on the serial input?
>
> Yes, use the serial driver.
>
> Jesper




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