fix(uart): correct C2 UART_BITRATE_MAX value

This commit is contained in:
Song Ruo Jing
2024-03-22 11:24:07 +08:00
parent 0ed5284eb9
commit 4727357067
2 changed files with 2 additions and 2 deletions

View File

@ -505,7 +505,7 @@ config SOC_UART_FIFO_LEN
config SOC_UART_BITRATE_MAX
int
default 5000000
default 2500000
config SOC_UART_SUPPORT_WAKEUP_INT
bool

View File

@ -250,7 +250,7 @@
// ESP32-C2 has 2 UARTs
#define SOC_UART_NUM (2)
#define SOC_UART_FIFO_LEN (128) /*!< The UART hardware FIFO length */
#define SOC_UART_BITRATE_MAX (5000000) /*!< Max bit rate supported by UART */
#define SOC_UART_BITRATE_MAX (2500000) /*!< Max bit rate supported by UART */
#define SOC_UART_SUPPORT_WAKEUP_INT (1) /*!< Support UART wakeup interrupt */
#define SOC_UART_SUPPORT_PLL_F40M_CLK (1) /*!< Support APB as the clock source */
#define SOC_UART_SUPPORT_RTC_CLK (1) /*!< Support RTC clock as the clock source */