feat(uart): support uart on ESP32H4

This commit is contained in:
gaoxu
2025-08-06 11:33:04 +08:00
committed by Gao Xu
parent 890229d30b
commit db32e42122
24 changed files with 205 additions and 88 deletions

View File

@@ -12,7 +12,8 @@ menu "Example Configuration"
config EXAMPLE_UART_RXD
int "UART RXD pin number"
range ENV_GPIO_RANGE_MIN ENV_GPIO_IN_RANGE_MAX
default 5
default 5 if !IDF_TARGET_ESP32H4
default 15 if IDF_TARGET_ESP32H4
help
GPIO number for UART RX pin. See UART documentation for more information
about available pin numbers for UART.
@@ -20,7 +21,8 @@ menu "Example Configuration"
config EXAMPLE_UART_TXD
int "UART TXD pin number"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 4
default 4 if !IDF_TARGET_ESP32H4
default 16 if IDF_TARGET_ESP32H4
help
GPIO number for UART TX pin. See UART documentation for more information
about available pin numbers for UART.