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