Re: gpio pins -> tty/cua device

From: Warner Losh <imp_at_bsdimp.com>
Date: Fri, 20 Sep 2024 21:54:30 UTC
On Fri, Sep 20, 2024, 10:49 PM Bjoern A. Zeeb <
bzeeb-lists@lists.zabbadoz.net> wrote:

> Hi.
>
> I have one/two GPIO pins for RX/TX (possibly on two controllers) which
> on the other end have a serial console which I would love to read/wwrite
> to.
>
> Do we have any glue which takes two GPIO pins and present them as tty/cua
> device?
>

No. We don't do serial emulation through software. You need high precision
timers paired with it to even start. And input bytes are way harder to get
right. Likely need a dedicated thread for any decent data rates. What speed
were you hoping for?

Warner

/bz
>
> --
> Bjoern A. Zeeb                                                     r15:7
>
>