Experimental support for CH340, FT232RL & CP2101 devices
Experimental support for CH340, FT232RL & CP2102 devices.
Tested with ESP8266 D1 mini clone, ESP-WROOM-32 board and FTDI232 boards.
Currently baud rates are table driven so baud rates are limited to: 9600, 19200, 38400, 57600 & 115200 but can be easily expanded.
Looks good to me!
Does the C header need updating?
I fixed an issue with CH340 clones and I'm adding CH341 today.
I'll also update the header file.
Is it good to merge?
rebased and launched CI just to check
@tr1p1ea what is the status of this PR? Also @commandblockguy, which struct fields can we deprecate to make everything reserved?
We can probably deprecate everything except for the USB device handle.
Great :)
After testing I've come to the conclusion that there is some further work to do to improve compatibility with some devices.
Should I recall this PR until that's complete?
Also did you want the struct optimisation to be part of this too?
@tr1p1ea yes to the struct optimization and any fun new status updates for us :)
It's fine to just keep it in this PR