UART driver: read function

Daniel Krüger daniel.krueger at systec-electronic.com
Fri Mar 20 14:59:44 UTC 2015


Beside some problems/differences between newlibc and glibc, one 
RTEMS-specific questions remains unanswered:

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 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.krueger at systec-electronic.com
Website : http://www.systec-electronic.com

Managing Director   : Dipl.-Phys. Siegmar Schmidt
Commercial registry : Amtsgericht Chemnitz, HRB 28082



More information about the devel mailing list