mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
fe5088c6e19bca24a13c524df9bcb7a9bae02e30
Replace SmallBufferWithHeapFallback with a fixed stack buffer sized to the physical storage limit. No single preference can exceed the storage it resides in, so heap allocation is never needed. ESP8266: buffer sized to max(flash_storage, rtc_normal_region) — 128 words (512B) with restore_from_flash, 96 words (384B) without. RP2040: buffer sized to flash storage (512B). Eliminates new[]/delete[] codegen from save()/load() virtual methods.
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%
