Shrink safeboot size for non ESP32 MCU (#21115)

* Ethernet in safeboot only for ESP32
This commit is contained in:
Jason2866 2024-04-06 18:27:57 +02:00 committed by GitHub
parent b9a0ae98df
commit 8a06984947
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,6 +21,7 @@
#define _TASMOTA_CONFIGURATIONS_ESP32_H_ #define _TASMOTA_CONFIGURATIONS_ESP32_H_
#ifdef ESP32 #ifdef ESP32
#include "sdkconfig.h"
/*********************************************************************************************\ /*********************************************************************************************\
* [tasmota32x-safeboot.bin] * [tasmota32x-safeboot.bin]
@ -185,8 +186,10 @@
#define USE_WEBSERVER #define USE_WEBSERVER
#define USE_WEBCLIENT #define USE_WEBCLIENT
#define USE_WEBCLIENT_HTTPS #define USE_WEBCLIENT_HTTPS
#define USE_SERIAL_BRIDGE // Add support for software Serial Bridge console Tee (+2k code) #if CONFIG_IDF_TARGET_ESP32
#define USE_ETHERNET #define USE_SERIAL_BRIDGE // Add support for software Serial Bridge console Tee (+2k code)
#define USE_ETHERNET
#endif // CONFIG_IDF_TARGET_ESP32
#endif // FIRMWARE_SAFEBOOT #endif // FIRMWARE_SAFEBOOT