mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 16:56:34 +00:00
Shrink safeboot size for non ESP32 MCU (#21115)
* Ethernet in safeboot only for ESP32
This commit is contained in:
parent
b9a0ae98df
commit
8a06984947
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user