mirror of
https://github.com/esphome/esphome.git
synced 2026-02-24 02:08:23 -07:00
fix-uart-rx-gpio-func-sel
ESP-IDF 5.5 removed the gpio_func_sel(PIN_FUNC_GPIO) call for RX pins in uart_set_pin() (espressif/esp-idf@1d6bcb86ba), considering it unnecessary for GPIO matrix input routing. However, without this call, pins remain in their default IOMUX function after cold boot (e.g. GPIO4 on ESP32-C3 defaults to MTMS/JTAG function), which prevents UART RX from working via the GPIO matrix. This was masked until ESPHome 2025.11.0 because pin->setup() (which calls gpio_config() -> gpio_func_sel()) was always called. When #11914 made pin->setup() conditional to fix #11823, both paths that set PIN_FUNC_GPIO were eliminated simultaneously. Fixes #13310
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
476 MiB
Languages
C++
64.1%
Python
35.6%
C
0.2%
