clean up? idk
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#ifndef __LWIPOPTS_H__
|
||||
#define __LWIPOPTS_H__
|
||||
|
||||
#define LWIP_DEBUG 1
|
||||
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
|
||||
// #define LWIP_DEBUG 1
|
||||
// #define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
|
||||
|
||||
// #define UDP_DEBUG LWIP_DBG_ON
|
||||
// #define IP_DEBUG LWIP_DBG_ON
|
||||
// #define DHCP_DEBUG LWIP_DBG_ON
|
||||
#define NETIF_DEBUG LWIP_DBG_ON
|
||||
// #define NETIF_DEBUG LWIP_DBG_ON
|
||||
// #define ETHARP_DEBUG LWIP_DBG_ON
|
||||
|
||||
#define NO_SYS 1
|
||||
@@ -20,8 +20,8 @@
|
||||
#define MEM_SIZE (10 * 1024) // 4KB of RAM for lwIP heap
|
||||
|
||||
// Pbuf options
|
||||
#define PBUF_POOL_SIZE 8
|
||||
#define PBUF_POOL_BUFSIZE 1524
|
||||
#define PBUF_POOL_SIZE 24 // Enough for bursts
|
||||
#define PBUF_POOL_BUFSIZE 600 // ~500 byte typical packet + header
|
||||
|
||||
// TCP options
|
||||
#define LWIP_TCP 1
|
||||
@@ -50,7 +50,8 @@
|
||||
#define LWIP_SOCKET 0
|
||||
|
||||
// Statistics
|
||||
#define LWIP_STATS 0
|
||||
#define LWIP_STATS 1
|
||||
#define LINK_STATS 1
|
||||
|
||||
#define LWIP_HTTPD 1
|
||||
// Use a read-only filesystem populated by makefsdata
|
||||
@@ -62,4 +63,6 @@
|
||||
// #define LWIP_NETIF_LINK_CALLBACK 1
|
||||
#define LWIP_NETIF_STATUS_CALLBACK 1
|
||||
|
||||
#define LWIP_SUPPORT_CUSTOM_PBUF 1
|
||||
|
||||
#endif /* __LWIPOPTS_H__ */
|
||||
|
||||
Reference in New Issue
Block a user