Add CH341 emulation class driver
Describe the PR Adds CH341 USB to serial emulation class.
Additional context The CDC driver (for windows at-least) is problematic which is probably why all of the USB to serial IC manufacturers use their own proprietary driver. In my case, I was trying to implement an ESP32 programmer with a CDC interface only to discover that the windows CDC driver (usbser.sys) doesn't handle the RTS signal properly so there was no way to get it to work without modifying the esp scripts.
This CH341 emulation class supports all of the signals. DTR RTS CTS DSR RI DCD as well as BREAK.
Everything is working as of now with the latest master branch and an RP2040. I didn't look at the other bsp's so there may be a small amount of additional work to do.
Regards, Travis Robinson [email protected] (libusb-win32, libusbK, LibUsbDotNet)
I have build_arm and build_aarch64 workflows fully green lit. Hopefully the others will go through too. I had to setup my own self-hosted runner to get through your workflow maze. You can't even have a printf in the example code. yikes!