Skip to content

Commit

Permalink
Merge branch 'bugfix/uart_bitrate_max_value_c2_v5.0' into 'release/v5.0'
Browse files Browse the repository at this point in the history
fix(uart): correct C2 UART_BITRATE_MAX value (v5.0)

See merge request espressif/esp-idf!30461
  • Loading branch information
suda-morris committed Apr 26, 2024
2 parents 6371dcb + 4727357 commit 3087b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/soc/esp32c2/include/soc/Kconfig.soc_caps.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion components/soc/esp32c2/include/soc/soc_caps.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3087b28

Please sign in to comment.