From: Andrew Lunn <[EMAIL PROTECTED]>
To: wang cui <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [email protected]
Subject: Re: [ECOS] How to check the input of STDIN channel?
Date: Fri, 3 Nov 2006 09:22:13 +0100
On Fri, Nov 03, 2006 at 08:09:46AM +0000, wang cui wrote:
> Thanks for your reply.
>
> If I use the full interrupt driven serial driver for console, I think
the
> driver will be intialised until the "cyg_io_init()", then the ealier
output
> will be missing?
>
> And I also want to printf messages in ISRs, can the "full interrupt
driven
> serial driver" be used?
Both the diag TTY and the full serial driver can share the same
device. So in your ISRs use diag_printf().
Andrew
Thanks.
The STDIO defaultly use the "/dev/ttydiag", how to shift it to another
device, like "/dev/tty0"?
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss