J. Nick Koston 54f6c44118 [uart] Restore gpio_func_sel for RX pins removed in ESP-IDF 5.5+
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
2026-02-21 18:23:08 -06:00
2023-06-12 17:00:34 +12:00
2022-09-06 15:48:01 +12:00
2025-12-21 09:26:03 -05:00
2024-03-28 10:20:51 +13:00
2025-07-17 22:40:28 +12:00
2025-12-08 14:37:45 -05:00
2026-02-20 10:17:12 -05:00
2025-07-17 22:40:28 +12:00
2026-02-11 22:11:48 -05:00
2025-12-05 08:48:04 -05:00
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 478 MiB
Languages
C++ 64.1%
Python 35.6%
C 0.2%