Open xobs opened 3 years ago
Add support for connecting Wishbone UARTs to a TCP socket. This gives several benefits:
gdb
Drawbacks to this are:
An alternative is to use openpty(3) for each serial port. This also gives several benefits:
openpty(3)
Drawbacks to openpty(3) are:
Overall I'm more inclined to go with the TCP approach simply because of the cross-platform compatibility issue.
Can we just support both?
Add support for connecting Wishbone UARTs to a TCP socket. This gives several benefits:
gdb
to attach to a gdbserver that's normally exposed over serialDrawbacks to this are:
An alternative is to use
openpty(3)
for each serial port. This also gives several benefits:Drawbacks to
openpty(3)
are:openpty(3)
is not part of a standard, and is a BSD-ism. Therefore it does not exist on platforms such as Windows.Overall I'm more inclined to go with the TCP approach simply because of the cross-platform compatibility issue.