lwip without any alloc and sending and receiving UDP via slip

This commit is contained in:
2023-11-03 17:08:26 +01:00
parent 450eeede33
commit 701d3dca7f
3 changed files with 49 additions and 35 deletions

View File

@ -32,12 +32,8 @@
#ifndef LWIP_LWIPOPTS_H
#define LWIP_LWIPOPTS_H
#ifdef LWIP_OPTTEST_FILE
#include "lwipopts_test.h"
#else /* LWIP_OPTTEST_FILE */
#define LWIP_IPV4 1
#define LWIP_IPV6 1
#define LWIP_IPV6 0
#define NO_SYS 1
#define LWIP_SOCKET (NO_SYS==0)
@ -74,7 +70,7 @@
#define LWIP_NETIF_STATUS_CALLBACK 1
#define LWIP_NETIF_EXT_STATUS_CALLBACK 1
#define LWIP_DEBUG
//#define LWIP_DEBUG
#ifdef LWIP_DEBUG
@ -320,8 +316,6 @@ a lot of data that needs to be copied, this should be set high. */
#endif /* PPP_SUPPORT */
#endif /* LWIP_OPTTEST_FILE */
// Disable slip task
#define SLIP_USE_RX_THREAD 0