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 <ESP8266httpUpdate.h> // Ota
#ifdef ESP32
#ifdef USE_BERRY
#include "HTTPUpdateLight.h" // Ota over HTTPS for ESP32
#endif // USE_BERRY
#endif
#include <StreamString.h> // Webserver, Updater
#include <ext_printf.h>

View File

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

View File

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