ftd2xx
ftd2xx copied to clipboard
Emulate FTDI device for test CI
QEMU has an FT232B emulator built-in. Would be neat if we could use that somehow to test the library in CI/
That would be cool. I have not used qemu but have been meaning to.
I've been thinking how to do CI for embedded systems and peripherals. QEMU may be one way to do it without increasing complexity a lot.
Anycase, this is just to serve as a note for now. I don't think I'll get to it anytime soon.
I think if we use usb_add serial:tcp:0.0.0.0:8080
to map port 8080 to virtual ftdi device, we could use just connect to that with our 'embedded' device. See serial
here: http://people.redhat.com/pbonzini/qemu-test-doc/_build/topics/pcsys_005fusb.html
Interesting, that'd be neat. Unfortunately, I have no time to go into it. I'd take a PR though. :)
nice idea :)