Virtual UART

Петр Борисенко peter at awsmtek.com
Mon Oct 18 12:41:29 UTC 2021


Hi!
> Can anyone point us to documentation on how to do this for a generic
non-console UART?
The simplest way is to disable compilation of the console from your bsp
build settings or switch console-mapped uart to another one.


Best regards.
Peter Borisenko
Awesome Technologies, Ltd.
http://awsmtek.com
hardware at awsmtek.com
+79062165482


On Tue, Oct 12, 2021 at 9:43 PM Morgan, Keith S <morgank at lanl.gov> wrote:

> 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


More information about the users mailing list