On Thu, Nov 4, 2021 at 11:19 AM Fotis Panagiotopoulos wrote: > > No, The emulated UART is designed to work with the real UART on host. > Oh, now I understand how it works! > > In my case, however, I also wanted a "simulated" UART, not a physical one. > So I run: > > socat PTY,link=/dev/ttySIM0 PTY,link=/dev/ttyNX > > and indeed our software was perfectly capable of communicating with the > simulation. > Both softwares now run unaltered, both "thinking" of talking to each other > through a UART, as in a the real-world case. > Perfect!
SOCAT ROX! Thanks! :-) > Needless to say that this is a killer feature of NuttX. > It opens up a huge array of possibilities for testing (especially automated > / CI), and development without the strict need of hardware. Yup :-) NuttX amazes me more and more too :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info