-1 if the receive FIFO is
empty and some implementations do a busy waiting for new characters.
Best regards,
Daniel Krüger
--
SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergrund
Telefon : +49 (0) 3765 38600-0
Fax : +49 (0) 3765 38600-4100
Email : daniel.krue...@systec
Am 20.03.2015 um 11:11 schrieb Sebastian Huber:
On 20/03/15 11:03, Daniel Krüger wrote:
Am 20.03.2015 um 10:02 schrieb Sebastian Huber:
On 20/03/15 09:42, Daniel Krüger wrote:
Am 06.03.2015 um 11:20 schrieb Sebastian Huber:
I would not use the C stdio for this and instead directly use the
Am 20.03.2015 um 10:02 schrieb Sebastian Huber:
On 20/03/15 09:42, Daniel Krüger wrote:
Am 06.03.2015 um 11:20 schrieb Sebastian Huber:
I would not use the C stdio for this and instead directly use the POSIX
read/write. You have to set up the right Termios settings. In case you
use RTEMS
gards,
Daniel Krüger
On 06/03/15 10:52, Daniel Krüger wrote:
Hello,
what is the right implementation for the UART driver read function
(console_fns .deviceRead)? It seems to be implemented differently from
target to target. Some implementations return -1 if the receive FIFO
is empty and some imp
nd modules (e.g. console*.c,
rtems_termios*, ...) involved between getchar() and the UART driver's
read function. So it's a little bit hard to dig into that issue and to
find a good solution.
Best regards,
Daniel Krüger
--
SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergru
stion,
feel free to contact me any time!
Best regards,
Daniel Krüger
--
SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergrund
Telefon : +49 (0) 3765 38600-0
Fax : +49 (0) 3765 38600-4100
Email : daniel.krue...@systec-electronic.com
Website : http://www.systec-electronic.com
Man