mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-22 17:10:28 +00:00
refactor(uart): add support to be able to test LP_UART port
Increase LP_UART_EMPTY_THRESH_DEFAULT value to 4. The original value could cause the FIFO become empty before filling next data into the FIFO when the buadrate is high. TX_DONE interrupt would raise before actual transmission complete in such case.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
static const char *UART_TAG = "uart";
|
||||
|
||||
#define UART_EMPTY_THRESH_DEFAULT (10)
|
||||
#define LP_UART_EMPTY_THRESH_DEFAULT (2)
|
||||
#define LP_UART_EMPTY_THRESH_DEFAULT (4)
|
||||
#define UART_FULL_THRESH_DEFAULT (120)
|
||||
#define LP_UART_FULL_THRESH_DEFAULT (10)
|
||||
#define UART_TOUT_THRESH_DEFAULT (10)
|
||||
|
Reference in New Issue
Block a user