mirror of
https://github.com/esphome/esphome.git
synced 2026-09-21 20:18:43 +00:00
623f7249b81a93eed745118f76333762256f3e3c
constrained_env combines three conditions: scheduler not running, in ISR, or cache disabled. Only the first is safe for flash access. Check xPortInIsrContext() (IRAM-resident) explicitly: - In ISR: output tag only via esp_rom_printf (ROM). Flash may be inaccessible. This matches V1 behavior where ISR logging was best-effort. - Not in ISR (scheduler not running, PHY init): call flash-resident esp_log_format_early_ which formats the full message. This ensures the override is safe for all constrained env cases without pulling in esp_rom_vprintf (1.2KB IRAM).
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
609 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
