mirror of
https://github.com/esphome/esphome.git
synced 2026-09-13 16:18:41 +00:00
d5cc5206dd84568034be47423caf540685991f43
Splits the partition-table OTA implementation out of the shared ota_backend_esp_idf.cpp into a new translation unit gated by USE_OTA_PARTITIONS. Builds without allow_partition_access compile strictly less code and don't link esp_image_format / nvs_flash; the common app-OTA backend is also easier to read without ~340 lines of unrelated partition handling interleaved. What moves: validate_new_partition_table_, update_partition_table, get_running_app_position, the file-static running-app cache, the NvsReinitGuard RAII helper, and the find_app_partition_at / check_overlap helpers. What stays: begin/write/end/abort and the factory. Behaviour-preserving refactor.
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
593 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
