mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-11 17:14:27 +00:00
[Network] Disable ETH for ESP32-xx Display builds to make builds fit
This commit is contained in:
@@ -77,7 +77,7 @@ build_flags = ${esp32c3_common_LittleFS.build_flags}
|
||||
-D PLUGIN_ENERGY_COLLECTION
|
||||
|
||||
|
||||
[env:display_ESP32c3_4M316k_LittleFS_ETH]
|
||||
[env:display_ESP32c3_4M316k_LittleFS]
|
||||
extends = esp32c3_common_LittleFS
|
||||
build_flags = ${esp32c3_common_LittleFS.build_flags}
|
||||
-D PLUGIN_DISPLAY_COLLECTION
|
||||
|
||||
@@ -35,7 +35,7 @@ build_flags = ${esp32c6_common_LittleFS.build_flags}
|
||||
-D PLUGIN_ENERGY_COLLECTION
|
||||
|
||||
|
||||
[env:display_ESP32c6_4M316k_LittleFS_ETH]
|
||||
[env:display_ESP32c6_4M316k_LittleFS]
|
||||
extends = esp32c6_common_LittleFS
|
||||
build_flags = ${esp32c6_common_LittleFS.build_flags}
|
||||
-D PLUGIN_DISPLAY_COLLECTION
|
||||
|
||||
@@ -112,7 +112,7 @@ board = esp32s2cdc
|
||||
build_flags = ${esp32s2_common_LittleFS.build_flags}
|
||||
-D PLUGIN_ENERGY_COLLECTION
|
||||
|
||||
[env:display_ESP32s2_4M316k_LittleFS_ETH]
|
||||
[env:display_ESP32s2_4M316k_LittleFS]
|
||||
extends = esp32s2_common_LittleFS
|
||||
board = esp32s2cdc
|
||||
build_flags = ${esp32s2_common_LittleFS.build_flags}
|
||||
|
||||
@@ -103,7 +103,7 @@ board = esp32s3cdc-qio_qspi
|
||||
build_flags = ${esp32s3_common_LittleFS.build_flags}
|
||||
-D PLUGIN_ENERGY_COLLECTION
|
||||
|
||||
[env:display_ESP32s3_4M316k_LittleFS_ETH]
|
||||
[env:display_ESP32s3_4M316k_LittleFS]
|
||||
extends = esp32s3_common_LittleFS
|
||||
board = esp32s3cdc-qio_qspi
|
||||
build_flags = ${esp32s3_common_LittleFS.build_flags}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "../../ESPEasy/net/Globals/ESPEasyEthEvent.h"
|
||||
|
||||
#include "../../src/Helpers/Network.h"
|
||||
#include "../../src/Helpers/NetworkStatusLED.h"
|
||||
#include "../../src/Helpers/Networking.h"
|
||||
#include "../../src/Helpers/StringConverter.h"
|
||||
#include "../../src/Helpers/MDNS_Helper.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "../../src/Globals/ESPEasy_time.h"
|
||||
#include "../../src/Globals/Settings.h"
|
||||
|
||||
#include "../../src/Helpers/Network.h"
|
||||
#include "../../src/Helpers/NetworkStatusLED.h"
|
||||
#include "../../src/Helpers/Networking.h"
|
||||
#include "../../src/Helpers/StringConverter.h"
|
||||
#include "../../src/Helpers/MDNS_Helper.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
# include "../../../src/Globals/Settings.h"
|
||||
|
||||
# include "../../../src/Helpers/LongTermTimer.h"
|
||||
# include "../../../src/Helpers/Network.h"
|
||||
# include "../../../src/Helpers/NetworkStatusLED.h"
|
||||
# include "../../../src/Helpers/Networking.h"
|
||||
# include "../../../src/Helpers/PeriodicalActions.h"
|
||||
# include "../../../src/Helpers/StringConverter.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
# include "../../../src/Helpers/Convert.h"
|
||||
# include "../../../src/Helpers/ESPEasyRTC.h"
|
||||
# include "../../../src/Helpers/ESPEasy_Storage.h"
|
||||
# include "../../../src/Helpers/Network.h"
|
||||
# include "../../../src/Helpers/NetworkStatusLED.h"
|
||||
# include "../../../src/Helpers/Networking.h"
|
||||
# include "../../../src/Helpers/PeriodicalActions.h"
|
||||
# include "../../../src/Helpers/StringConverter.h"
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
# include "src/ESPEasyCore/Controller.h"
|
||||
# include "src/Globals/Settings.h"
|
||||
# include "src/Helpers/_CPlugin_Helper_mqtt.h"
|
||||
# include "src/Helpers/Network.h"
|
||||
# include "src/Helpers/NetworkStatusLED.h"
|
||||
# include "src/Helpers/PeriodicalActions.h"
|
||||
# include "_Plugin_Helper.h"
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
# include "src/DataStructs/C013_p2p_SensorInfoStruct.h"
|
||||
# include "src/ESPEasyCore/ESPEasyRules.h"
|
||||
# include "src/Helpers/Misc.h"
|
||||
# include "src/Helpers/Network.h"
|
||||
# include "src/Helpers/NetworkStatusLED.h"
|
||||
|
||||
// #######################################################################################################
|
||||
// ########################### Controller Plugin 013: ESPEasy P2P network ################################
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "../../ESPEasy/net/Globals/NetworkState.h"
|
||||
#include "../Globals/Settings.h"
|
||||
#include "../Helpers/Misc.h"
|
||||
#include "../Helpers/Network.h"
|
||||
#include "../Helpers/NetworkStatusLED.h"
|
||||
#include "../Helpers/Networking.h"
|
||||
#include "../Helpers/StringConverter.h"
|
||||
#include "../Helpers/StringParser.h"
|
||||
|
||||
@@ -159,6 +159,13 @@ To create/register a plugin, you have to :
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#if FEATURE_ETHERNET && defined(PLUGIN_DISPLAY_COLLECTION)
|
||||
// Display builds are getting too large, so for now disable ETH for display buikds
|
||||
#undef FEATURE_ETHERNET
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MEMORY_ANALYSIS
|
||||
#ifdef MQTT_ONLY
|
||||
#define USES_C002 // Domoticz MQTT
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
// #include "../Helpers/Memory.h"
|
||||
#include "../Helpers/Misc.h"
|
||||
#include "../Helpers/Network.h"
|
||||
#include "../Helpers/NetworkStatusLED.h"
|
||||
#include "../Helpers/PeriodicalActions.h"
|
||||
#include "../Helpers/PortStatus.h"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "../Helpers/Audio.h"
|
||||
#endif // if FEATURE_RTTTL && FEATURE_ANYRTTTL_LIB && FEATURE_ANYRTTTL_ASYNC
|
||||
#include "../Helpers/ESPEasy_time_calc.h"
|
||||
#include "../Helpers/Network.h"
|
||||
#include "../Helpers/NetworkStatusLED.h"
|
||||
#include "../Helpers/Networking.h"
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "../Helpers/Network.h"
|
||||
#include "../Helpers/NetworkStatusLED.h"
|
||||
|
||||
#include "../../ESPEasy_common.h"
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
# include <esp32-hal-periman.h>
|
||||
#endif // ifdef ESP32
|
||||
|
||||
#define PWMRANGE_FULL 1023
|
||||
#define STATUS_PWM_NORMALVALUE (PWMRANGE_FULL >> 2)
|
||||
#define STATUS_PWM_NORMALFADE (PWMRANGE_FULL >> 8)
|
||||
#define STATUS_PWM_TRAFFICRISE (PWMRANGE_FULL >> 1)
|
||||
|
||||
/********************************************************************************************\
|
||||
Status LED
|
||||
@@ -4,10 +4,6 @@
|
||||
/********************************************************************************************\
|
||||
Status LED
|
||||
\*********************************************************************************************/
|
||||
#define PWMRANGE_FULL 1023
|
||||
#define STATUS_PWM_NORMALVALUE (PWMRANGE_FULL >> 2)
|
||||
#define STATUS_PWM_NORMALFADE (PWMRANGE_FULL >> 8)
|
||||
#define STATUS_PWM_TRAFFICRISE (PWMRANGE_FULL >> 1)
|
||||
|
||||
void statusLED(bool traffic);
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "../Helpers/ESPEasy_time_calc.h"
|
||||
#include "../Helpers/Hardware.h"
|
||||
#include "../Helpers/Misc.h"
|
||||
#include "../Helpers/Network.h"
|
||||
#include "../Helpers/NetworkStatusLED.h"
|
||||
#include "../Helpers/Numerical.h"
|
||||
#include "../Helpers/StringConverter.h"
|
||||
#include "../Helpers/StringProvider.h"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "../Helpers/ESPEasy_time_calc.h"
|
||||
#include "../Helpers/Misc.h"
|
||||
#include "../Helpers/Network.h"
|
||||
#include "../Helpers/NetworkStatusLED.h"
|
||||
#include "../Helpers/Networking.h"
|
||||
#include "../Helpers/StringConverter.h"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "../Globals/Services.h"
|
||||
#include "../Helpers/_CPlugin_init.h"
|
||||
#include "../Helpers/Misc.h"
|
||||
#include "../Helpers/Network.h"
|
||||
#include "../Helpers/NetworkStatusLED.h"
|
||||
#include "../Helpers/Networking.h"
|
||||
#include "../Helpers/Numerical.h"
|
||||
#include "../Helpers/StringConverter.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "../Globals/RamTracker.h"
|
||||
|
||||
#include "../Helpers/ESPEasy_Storage.h"
|
||||
#include "../Helpers/Network.h"
|
||||
#include "../Helpers/NetworkStatusLED.h"
|
||||
#include "../Helpers/Numerical.h"
|
||||
|
||||
#include "../WebServer/CustomPage.h"
|
||||
|
||||
Reference in New Issue
Block a user