diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cd6b0ae4..02f1b2b90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file. ### Changed ### Fixed +- ESP32S3 UART output mode for Tx ### Removed diff --git a/tasmota/tasmota_xdrv_driver/xdrv_41_tcp_bridge.ino b/tasmota/tasmota_xdrv_driver/xdrv_41_tcp_bridge.ino index f7af10175..0d5545769 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_41_tcp_bridge.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_41_tcp_bridge.ino @@ -149,6 +149,12 @@ void TCPInit(void) { if (!Settings->tcp_baudrate) { Settings->tcp_baudrate = 115200 / 300; } + // patch for ESP32S3 +#if CONFIG_IDF_TARGET_ESP32S3 + pinMode(Pin(GPIO_TCP_TX), OUTPUT); + digitalWrite(Pin(GPIO_TCP_TX), HIGH); + sleep(1); +#endif // CONFIG_IDF_TARGET_ESP32S3 TCPSerial = new TasmotaSerial(Pin(GPIO_TCP_RX), Pin(GPIO_TCP_TX), TasmotaGlobal.seriallog_level ? 1 : 2, 0, TCP_BRIDGE_BUF_SIZE); // set a receive buffer of 256 bytes tcp_serial = TCPSerial->begin(Settings->tcp_baudrate * 300, ConvertSerialConfig(0x7F & Settings->tcp_config)); if (PinUsed(GPIO_TCP_TX_EN)) {