mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
e67fac704c7512538c72e7eebdd8399344179ac5
Following the zephyr_mcumgr precedent, keep the single-instance pointer as a file-scope static inside ota_esphome.cpp instead of plumbing an ota_wake_component_ slot and setter through Application. The extern "C" wake trampoline also lives in the same TU now, so nothing in core/ touches OTA-specific state. Guard the C and C++ call sites on USE_OTA_PLATFORM_ESPHOME (added as a -D flag from components/esphome/ota/__init__.py) instead of the broader ESPHOME_USE_OTA that base ota/ used to emit — the trampoline symbol only exists when the esphome OTA platform is actually compiled in. Also drop the dead host yield_with_select_ wake hook (host has no OTA platform today).
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
594 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
