mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 09:25:34 +00:00
c622ee6a6e13fa69271b78dc94ddefd786a8756a
When flashing an ESP32 via serial, esptool prints the detected crystal frequency. This change parses that output in real-time and warns the user if it doesn't match the configured CONFIG_XTAL_FREQ in sdkconfig. This is particularly important for ESP32-C2 (ESP8684) boards where some modules use 26MHz crystals but the default sdkconfig assumes 40MHz, causing UART logging and other clock-dependent features to silently fail. Also adds a generic line_callbacks mechanism to RedirectText so future output-based checks can be added without modifying the class directly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
529 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
