diff --git a/esphome/analyze_memory/cli.py b/esphome/analyze_memory/cli.py index ab590cdedc..d38f1f403a 100644 --- a/esphome/analyze_memory/cli.py +++ b/esphome/analyze_memory/cli.py @@ -29,7 +29,7 @@ class MemoryAnalyzerCLI(MemoryAnalyzer): # Symbol size threshold for detailed analysis SYMBOL_SIZE_THRESHOLD: int = ( - 100 # Show symbols larger than this in detailed analysis + 10 # Show symbols larger than this in detailed analysis ) # Lower threshold for RAM symbols (RAM is more constrained) RAM_SYMBOL_SIZE_THRESHOLD: int = 24 diff --git a/esphome/core/application.h b/esphome/core/application.h index 541ec57ff1..1ae4275f7d 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -637,19 +637,8 @@ class Application { /// Wake the main event loop from any context (ISR, thread, or main loop). /// Detects the calling context and uses the appropriate FreeRTOS API. static void IRAM_ATTR wake_loop_any_context() { esphome_lwip_wake_main_loop_any_context(); } -#elif defined(USE_ESP8266) && defined(USE_SOCKET_IMPL_LWIP_TCP) - /// Wake the main event loop from any context (ISR, thread, or main loop). - /// On ESP8266: sets the socket wake flag and calls esp_schedule() to exit esp_delay() early. - static void IRAM_ATTR wake_loop_any_context() { socket::socket_wake(); } #endif #endif -#endif - -#if defined(USE_ESP8266) && defined(USE_SOCKET_IMPL_LWIP_TCP) - /// Wake the main event loop from any context (ISR, thread, or main loop). - /// On ESP8266: sets the socket wake flag and calls esp_schedule() to exit esp_delay() early. - static void IRAM_ATTR wake_loop_any_context() { socket::socket_wake(); } -#endif #if defined(USE_ESP8266) && defined(USE_SOCKET_IMPL_LWIP_TCP) /// Wake the main event loop from any context (ISR, thread, or main loop).