mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
On SOC_LP_GPIO_MATRIX_SUPPORTED targets, route LP SPI, I2C, and remapped LP UART pins through lp_gpio_connect_* (rtcio_hal_matrix_* on release branches applies IOMUX and matrix routing). Remove redundant rtc_gpio_set_direction and rtc_gpio_iomux_func_sel before matrix connect for LP SPI and remapped LP UART pins. Non-matrix LP I2C: use rtc_gpio_iomux_output instead of rtc_gpio_iomux_func_sel. Non-matrix LP UART: use rtc_gpio_iomux_output and rtc_gpio_iomux_input for func sel and direction.