uart: support examples and tests on esp32c6

This commit is contained in:
laokaiyao
2022-11-15 18:22:50 +08:00
parent 7778ab6d5c
commit 888ca08cb2
13 changed files with 62 additions and 116 deletions
@@ -6,8 +6,8 @@ menu "Echo Example Configuration"
int "UART port number"
range 0 2 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S3
default 2 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S3
range 0 1 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H4
default 1 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H4
range 0 1
default 1
help
UART communication port number for the example.
See UART documentation for available port numbers.