From b903c6a8434f1156547a6b3beba626c038a4117e Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:18:19 +0100 Subject: [PATCH] enable Ethernet in all safeboot firmware (except c2) (#21983) * enable Ethernet in all safeboot firmware (except c2) * undef SPI for C2 in variant minimal --- tasmota/include/tasmota_configurations_ESP32.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tasmota/include/tasmota_configurations_ESP32.h b/tasmota/include/tasmota_configurations_ESP32.h index 82524e9f5..2bcbd27f2 100644 --- a/tasmota/include/tasmota_configurations_ESP32.h +++ b/tasmota/include/tasmota_configurations_ESP32.h @@ -190,14 +190,12 @@ #undef USE_ESP32_WDT // disable watchdog on SAFEBOOT until more testing is done -#if CONFIG_IDF_TARGET_ESP32 -#if CONFIG_FREERTOS_UNICORE - #undef USE_MQTT_TLS +#if CONFIG_FREERTOS_UNICORE || CONFIG_IDF_TARGET_ESP32S3 +// #undef USE_MQTT_TLS // #define USE_SERIAL_BRIDGE // Add support for software Serial Bridge console Tee (+4.5k code) #define USE_SPI // Make SPI Ethernet adapters useable (+124 bytes) #define USE_ETHERNET -#endif // CONFIG_FREERTOS_UNICORE -#endif // CONFIG_IDF_TARGET_ESP32 +#endif // CONFIG_FREERTOS_UNICORE || CONFIG_IDF_TARGET_ESP32S3 #endif // FIRMWARE_SAFEBOOT @@ -839,6 +837,9 @@ #ifdef CONFIG_IDF_TARGET_ESP32C2 #undef USE_ETHERNET + #ifdef FIRMWARE_MINIMAL + #undef USE_SPI + #endif // FIRMWARE_MINIMAL #endif // CONFIG_IDF_TARGET_ESP32C2 #endif // ESP32