mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
8a8540b247bd0de99b4d832dadffc4b60381a6cb
Switch statements generate CSWTCH jump tables in RAM on ESP8266. PROGMEM_STRING_TABLE causes LoadStoreError from flash cache conflicts in API subscribe paths. If-else with LOG_STR avoids both: strings stay in flash via PSTR, and comparison branches don't need a data table. Zero RAM overhead confirmed via nm.
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
546 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
