ESP32-Serial-Bridge icon indicating copy to clipboard operation
ESP32-Serial-Bridge copied to clipboard

Please add Support for ESP32-S2

Open fow0ryl opened this issue 1 year ago • 3 comments

The ESP32-S2 is mostly a replacement for ESP8266, but not supported. Please add support.

fow0ryl avatar Mar 13 '24 07:03 fow0ryl

Sorry I don't have a ESP32-S2 for testing, but it only has two serial ports. Since 3 SIOs is one of the main features of this code, the S2 version has limitations compared to the ESP32. The code should be compatible if you adjust the number (NUM_COM) and pins of the serial ports defined in the header file.

AlphaLima avatar May 16 '24 09:05 AlphaLima

Of course, the ESP32-S2 has limitiations. It's more like an ESP8266 than an ESP32. And changing the number of serial ports is the minor problem. The source code did not compile, because USB is handled completely different. And this requires that the source has to be a mix of ESP8266 and ESP32. Unable to handle this with only 1 #define ESP32 ...

fow0ryl avatar May 16 '24 10:05 fow0ryl

The code is designed for an ESP32, not for the ESP32-S2 version! I see no advantages modifing it for a ESP32-S2 since there is only two serial ports.

AlphaLima avatar May 16 '24 13:05 AlphaLima