6baab6a4f8554d267f490addbc132e22d80dc697
2 ------------------------------------
3 ---------- Memory options ----------
4 ------------------------------------
7 /* This combo allows us to implement malloc, free, and realloc ourselves */
8 #define MEM_LIBC_MALLOC 1
9 #define MEMP_MEM_MALLOC 1
11 /* Define LWIP_COMPAT_MUTEX if the port has no mutexes and binary semaphores
12 should be used instead */
13 #define LWIP_COMPAT_MUTEX 1
15 #define MEM_ALIGNMENT 4
19 #define ARP_QUEUEING 0
21 #define ETH_PAD_SIZE 2
25 #define IP_REASS_MAX_PBUFS 0xFFFFFFFF
27 #define IP_DEFAULT_TTL 128
29 #define IP_SOF_BROADCAST 1
31 #define IP_SOF_BROADCAST_RECV 1
49 #define LWIP_UDPLITE 0
53 #define TCP_QUEUE_OOSEQ 1
57 #define TCP_SND_BUF (TCP_MSS * 8)
59 #define TCP_SND_QUEUELEN (8 * (TCP_SND_BUF / TCP_MSS))
61 #define TCP_SNDLOWAT TCP_MSS
63 #define TCP_WND 0xFFFF
67 #define TCP_SYNMAXRTX 4
69 #define TCP_LISTEN_BACKLOG 1
71 #define LWIP_TCP_TIMESTAMPS 1
73 #define LWIP_CALLBACK_API 1
75 #define LWIP_NETIF_API 1
79 #define LWIP_NETCONN 0
81 #define LWIP_NETIF_HWADDRHINT 0
89 #define PPPOE_SUPPORT 0
91 #define PPPOS_SUPPORT 0
94 ---------------------------------------
95 ---------- Debugging options ----------
96 ---------------------------------------
99 * LWIP_DBG_MIN_LEVEL: After masking, the value of the debug is
100 * compared against this value. If it is smaller, then debugging
101 * messages are written.
103 #define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
106 * LWIP_DBG_TYPES_ON: A mask that can be used to globally enable/disable
107 * debug messages of certain types.
109 #define LWIP_DBG_TYPES_ON LWIP_DBG_ON
112 * NETIF_DEBUG: Enable debugging in netif.c.
114 #define NETIF_DEBUG LWIP_DBG_OFF
117 * PBUF_DEBUG: Enable debugging in pbuf.c.
119 #define PBUF_DEBUG LWIP_DBG_OFF
122 * INET_DEBUG: Enable debugging in inet.c.
124 #define INET_DEBUG LWIP_DBG_OFF
127 * IP_DEBUG: Enable debugging for IP.
129 #define IP_DEBUG LWIP_DBG_OFF
132 * IP_REASS_DEBUG: Enable debugging in ip_frag.c for both frag & reass.
134 #define IP_REASS_DEBUG LWIP_DBG_OFF
137 * MEM_DEBUG: Enable debugging in mem.c.
139 #define MEM_DEBUG LWIP_DBG_OFF
142 * MEMP_DEBUG: Enable debugging in memp.c.
144 #define MEMP_DEBUG LWIP_DBG_OFF
147 * SYS_DEBUG: Enable debugging in sys.c.
149 #define SYS_DEBUG LWIP_DBG_OFF
152 * TCP_DEBUG: Enable debugging for TCP.
154 #define TCP_DEBUG LWIP_DBG_ON
157 * TCP_INPUT_DEBUG: Enable debugging in tcp_in.c for incoming debug.
159 #define TCP_INPUT_DEBUG LWIP_DBG_OFF
162 * TCP_FR_DEBUG: Enable debugging in tcp_in.c for fast retransmit.
164 #define TCP_FR_DEBUG LWIP_DBG_OFF
167 * TCP_RTO_DEBUG: Enable debugging in TCP for retransmit
170 #define TCP_RTO_DEBUG LWIP_DBG_OFF
173 * TCP_CWND_DEBUG: Enable debugging for TCP congestion window.
175 #define TCP_CWND_DEBUG LWIP_DBG_OFF
178 * TCP_WND_DEBUG: Enable debugging in tcp_in.c for window updating.
180 #define TCP_WND_DEBUG LWIP_DBG_OFF
183 * TCP_OUTPUT_DEBUG: Enable debugging in tcp_out.c output functions.
185 #define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
188 * TCP_RST_DEBUG: Enable debugging for TCP with the RST message.
190 #define TCP_RST_DEBUG LWIP_DBG_OFF
193 * TCP_QLEN_DEBUG: Enable debugging for TCP queue lengths.
195 #define TCP_QLEN_DEBUG LWIP_DBG_OFF
198 * TCPIP_DEBUG: Enable debugging in tcpip.c.
200 #define TCPIP_DEBUG LWIP_DBG_OFF