mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 18:04:19 -07: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
518 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
