Virtual UART
Thomas Doerfler
Thomas.Doerfler at imd-systems.de
Tue Oct 12 19:32:32 UTC 2021
Hi,
would a pseudotty do the job? See
https://devel.rtems.org/browser/rtems/cpukit/telnetd/pty.c
wkr,
Thomas.
Am 12.10.21 um 20:43 schrieb Morgan, Keith S:
> We have need to use an existing 3rd-party library that only knows how to talk to a UART.
>
> Rather than try to modify the library to talk to another communication device, we would like to explore the option of creating a “virtual” software-based termios UART that implements the open,read,write,close,ioctl calls to the UART and translates those calls to the other communication device.
>
> We found the following documentation, but it seems to be specific to console drivers: https://docs.rtems.org/branches/master/bsp-howto/console.html
>
> Can anyone point us to documentation on how to do this for a generic non-console UART?
>
> Also, are there any examples out there you could point us to where someone has created a similar virtual UART for RTEMS?
>
> Thanks.
>
> -Keith
>
> --
> Keith Shearl Morgan
> ISR-3, Space Data Systems
> Los Alamos National Laboratory
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
--
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler Dornierstr. 4
D-82178 Puchheim Germany
email: Thomas.Doerfler at imd-systems.de
PGP public key available on request
More information about the users
mailing list