mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
30d694e62e9f501cba99732b6af396f0d94df50c
Allocate all MEMP pools (TCP PCBs, UDP PCBs, netconns, TCP segments, pbufs, etc.) from the heap on demand instead of pre-allocated static arrays. Saves ~20KB RAM on BK7231N (87,312 B free vs 67,144 B before). Safe because the BK WiFi driver's receive path runs in task context (core_thread pops from g_wifi_core.io_queue), not ISR context. ESP32 and ESP8266 both ship with MEMP_MEM_MALLOC=1. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
545 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
