mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
UART: add uart wakeup event for esp32c3 and esp32s3 Closes IDF-3416 See merge request espressif/esp-idf!14482
This commit is contained in:
@@ -583,6 +583,10 @@ config SOC_UART_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
config SOC_UART_SUPPORT_WAKEUP_INT
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_UART_SUPPORT_REF_TICK
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -277,6 +277,7 @@
|
||||
/*-------------------------- UART CAPS ---------------------------------------*/
|
||||
// ESP32-S2 has 2 UART.
|
||||
#define SOC_UART_NUM (2)
|
||||
#define SOC_UART_SUPPORT_WAKEUP_INT (1) /*!< Support UART wakeup interrupt */
|
||||
#define SOC_UART_SUPPORT_REF_TICK (1) /*!< Support REF_TICK as the clock source */
|
||||
#define SOC_UART_FIFO_LEN (128) /*!< The UART hardware FIFO length */
|
||||
#define SOC_UART_BITRATE_MAX (5000000) /*!< Max bit rate supported by UART */
|
||||
|
||||
Reference in New Issue
Block a user