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:
ryan
2020-05-21 17:55:56 +12:00
committed by David Cermak
parent 95b33895b8
commit 266be00254
26 changed files with 1471 additions and 16 deletions

View File

@@ -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 ----------