From a71f233caa8ba8f2dd729d16cd6c7ef84799901d Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Fri, 20 Mar 2020 21:38:03 +0300 Subject: [PATCH] Remove OTA from ESP01 build https://github.com/xoseperez/espurna/pull/2185#issuecomment-601198322 -11KiB --- code/espurna/config/hardware.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 948f478c..268d6ba5 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -4514,7 +4514,7 @@ // ----------------------------------------------------------------------------- // ESP-01 generic esp8266 board with 512 kB flash -// // ----------------------------------------------------------------------------- +// ----------------------------------------------------------------------------- #elif defined(GENERIC_ESP01_512KB) @@ -4528,6 +4528,11 @@ #define RELAY1_TYPE RELAY_TYPE_NORMAL #endif + // No need for OTA + #define OTA_WEB_SUPPORT 0 + #define OTA_ARDUINOOTA_SUPPORT 0 + #define OTA_CLIENT OTA_CLIENT_NONE + // ----------------------------------------------------------------------------- #else