Open ryan-summers opened 2 years ago
The largest hurdle (if one at all; I have yet to dive back into it) is refactoring the direct ioctl calls out. Its purpose is to mimic the configuration that screen /path/to/dev <baud rate>
applies, specifically for FT232 variants.
The serial
module that calls ioctl (upstream in itm
) can probably be replaced completely with serialport
.
Currently, the various packages of rtic-scope require *nix IOTCTL commands for communicating with the TTY and there's some unix socket streams used as a mechanism to move data between the various sources and sinks.
It would be desirable to remove all uses of os-primitives to develop rtic-scope to be platform-independent. Given that probe-rs and other core utilities run on Windows and other supported OSes, it seems like thsi shouldn't be too difficult to refactor