mirror of
https://github.com/esphome/esphome.git
synced 2026-09-02 11:06:04 +00:00
a4919f25044dad4a35f23c534b245be2a20175a1
On platforms without USE_STORE_LOG_STR_IN_FLASH (ESP32, RP2040, LibreTiny), there is only one esp_log_printf_ overload, so the separate esp_log_vprintf_ function just adds an unnecessary call frame. Inline the logger dispatch directly into esp_log_printf_ for these platforms. The const char* esp_log_vprintf_ is still provided unconditionally for direct callers (e.g. midea component). On ESP8266 (USE_STORE_LOG_STR_IN_FLASH), the two esp_log_printf_ overloads continue to share esp_log_vprintf_ as before. Measured: 32 bytes flash saved on ESP32, no change on ESP8266.
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
605 MiB
Languages
C++
56.1%
Python
43.3%
C
0.3%
JavaScript
0.2%
