mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
8da986d41a1e1364d0f4a717c38713bc7efcab07
Replace three compiler-generated switch tables (CSWTCH) with PROGMEM lookup tables, saving 84 bytes of DRAM on ESP8266. - model_str_(): 56B string pointer table → PROGMEM_STRING_TABLE - get_height_internal(): 14B byte table → PROGMEM struct array - get_width_internal(): 14B byte table → PROGMEM struct array Width and height use a single ModelDimensions struct array for maintainability. All 14 enum values verified with static_assert.
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
361 MiB
Languages
C++
64.2%
Python
35.5%
C
0.2%
