Allow Tasmota32 minimal setup

This commit is contained in:
Stephan Hadinger 2022-01-10 18:39:42 +01:00
parent a757b33313
commit 15668fa8e1
3 changed files with 12 additions and 9 deletions

View File

@ -36,7 +36,9 @@
#include <ESP8266HTTPClient.h> // Ota #include <ESP8266HTTPClient.h> // Ota
#include <ESP8266httpUpdate.h> // Ota #include <ESP8266httpUpdate.h> // Ota
#ifdef ESP32 #ifdef ESP32
#ifdef USE_BERRY
#include "HTTPUpdateLight.h" // Ota over HTTPS for ESP32 #include "HTTPUpdateLight.h" // Ota over HTTPS for ESP32
#endif // USE_BERRY
#endif #endif
#include <StreamString.h> // Webserver, Updater #include <StreamString.h> // Webserver, Updater
#include <ext_printf.h> #include <ext_printf.h>

View File

@ -964,10 +964,13 @@
\*********************************************************************************************/ \*********************************************************************************************/
#ifndef ESP8266_1M #ifndef ESP8266_1M
#define USE_UFILESYS #ifndef FIRMWARE_MINIMAL // there might be a ESP32-minimal
#define GUI_TRASH_FILE #define USE_UFILESYS
#define GUI_EDIT_FILE #define GUI_TRASH_FILE
#define USE_PING #define GUI_EDIT_FILE
#define USE_PING
#endif // FIRMWARE_MINIMAL
#ifdef USE_RULES #ifdef USE_RULES
#define USE_EXPRESSION #define USE_EXPRESSION
#define SUPPORT_IF_STATEMENT #define SUPPORT_IF_STATEMENT

View File

@ -130,8 +130,6 @@ String EthernetMacAddress(void);
#define ARDUINO_CORE_RELEASE ARDUINO_ESP32_RELEASE #define ARDUINO_CORE_RELEASE ARDUINO_ESP32_RELEASE
#endif // ARDUINO_ESP32_RELEASE #endif // ARDUINO_ESP32_RELEASE
#undef FIRMWARE_MINIMAL // Minimal is not supported as not needed
// Hardware has no ESP32 // Hardware has no ESP32
#undef USE_EXS_DIMMER #undef USE_EXS_DIMMER
#undef USE_ARMTRONIX_DIMMERS #undef USE_ARMTRONIX_DIMMERS