mirror of
https://github.com/espressif/esp-protocols.git
synced 2026-05-05 12:24:12 +02:00
feat(eppp): Add support for UART flow control
Closes https://github.com/espressif/esp-protocols/issues/870
This commit is contained in:
@@ -34,6 +34,9 @@ extern "C" {
|
||||
.rx_io = 26, \
|
||||
.queue_size = 16, \
|
||||
.rx_buffer_size = 1024, \
|
||||
.rts_io = -1, \
|
||||
.cts_io = -1, \
|
||||
.flow_control = 0, \
|
||||
}, \
|
||||
|
||||
#define EPPP_DEFAULT_SDIO_CONFIG() \
|
||||
@@ -135,6 +138,9 @@ typedef struct eppp_config_t {
|
||||
int rx_io;
|
||||
int queue_size;
|
||||
int rx_buffer_size;
|
||||
int rts_io;
|
||||
int cts_io;
|
||||
int flow_control;
|
||||
} uart;
|
||||
|
||||
struct eppp_config_sdio_s {
|
||||
|
||||
Reference in New Issue
Block a user