uart: Support LP_UART port with UART driver on esp32c6

This commit is contained in:
Song Ruo Jing
2023-03-24 11:42:01 +08:00
parent b77540c285
commit 921713fff4
68 changed files with 1127 additions and 401 deletions

View File

@@ -59,12 +59,12 @@ static inline void esp_gdbstub_uart_init(void)
case 0:
gdb_uart = &UART0;
break;
#if CONFIG_SOC_UART_NUM > 1
#if SOC_UART_HP_NUM > 1
case 1:
gdb_uart = &UART1;
break;
#endif
#if CONFIG_SOC_UART_NUM > 2
#if SOC_UART_HP_NUM > 2
case 2:
gdb_uart = &UART2;
break;