mirror of
https://github.com/esphome/esphome.git
synced 2026-09-01 18:46:02 +00: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
585 MiB
Languages
C++
56.1%
Python
43.3%
C
0.3%
JavaScript
0.2%
