mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
esp-netif: Added esp_netif slip support, slip_modem component and example
Merges https://github.com/espressif/esp-idf/pull/4985
This commit is contained in:
@@ -474,6 +474,27 @@
|
||||
------------------------------------
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_LWIP_SLIP_SUPPORT
|
||||
|
||||
/**
|
||||
* Enable SLIP receive from ISR functions
|
||||
*/
|
||||
#define SLIP_RX_FROM_ISR CONFIG_LWIP_SLIP_RX_FROM_ISR
|
||||
|
||||
/**
|
||||
* PPP_DEBUG: Enable debugging for PPP.
|
||||
*/
|
||||
#define SLIP_DEBUG_ON CONFIG_LWIP_SLIP_DEBUG_ON
|
||||
|
||||
#if SLIP_DEBUG_ON
|
||||
#define SLIP_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define SLIP_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
------------------------------------
|
||||
---------- Thread options ----------
|
||||
|
Reference in New Issue
Block a user