mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-03 15:04:39 +00:00
feat(uart): support uart on ESP32H4
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user