33 |
#define __LWIPOPTS_H__ |
#define __LWIPOPTS_H__ |
34 |
|
|
35 |
#define NO_SYS 1 |
#define NO_SYS 1 |
36 |
#define LWIP_EVENT_API 1 |
/* #define LWIP_EVENT_API 1 */ |
37 |
|
|
38 |
/* ---------- Memory options ---------- */ |
/* ---------- Memory options ---------- */ |
39 |
/* MEM_ALIGNMENT: should be set to the alignment of the CPU for which |
/* MEM_ALIGNMENT: should be set to the alignment of the CPU for which |
43 |
|
|
44 |
/* MEM_SIZE: the size of the heap memory. If the application will send |
/* MEM_SIZE: the size of the heap memory. If the application will send |
45 |
a lot of data that needs to be copied, this should be set high. */ |
a lot of data that needs to be copied, this should be set high. */ |
46 |
#define MEM_SIZE 3000 |
#define MEM_SIZE 6000 |
47 |
|
|
48 |
/* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application |
/* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application |
49 |
sends a lot of data out of ROM (or other static memory), this |
sends a lot of data out of ROM (or other static memory), this |
82 |
|
|
83 |
/* ---------- Pbuf options ---------- */ |
/* ---------- Pbuf options ---------- */ |
84 |
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */ |
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */ |
85 |
#define PBUF_POOL_SIZE 8 |
#define PBUF_POOL_SIZE 16 |
86 |
|
|
87 |
/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */ |
/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */ |
88 |
#define PBUF_POOL_BUFSIZE 128 |
#define PBUF_POOL_BUFSIZE 128 |
152 |
|
|
153 |
|
|
154 |
/* ---------- Statistics options ---------- */ |
/* ---------- Statistics options ---------- */ |
155 |
/*#define LWIP_STATS 1*/ |
#define LWIP_STATS 1 |
156 |
|
|
157 |
#ifdef LWIP_STATS |
#ifdef LWIP_STATS |
158 |
#define LINK_STATS 1 |
#define LINK_STATS 0 |
159 |
#define IP_STATS 1 |
#define IP_STATS 0 |
160 |
#define ICMP_STATS 1 |
#define ICMP_STATS 0 |
161 |
#define UDP_STATS 1 |
#define UDP_STATS 0 |
162 |
#define TCP_STATS 1 |
#define TCP_STATS 0 |
163 |
#define MEM_STATS 1 |
#define MEM_STATS 1 |
164 |
#define MEMP_STATS 1 |
#define MEMP_STATS 1 |
165 |
#define PBUF_STATS 1 |
#define PBUF_STATS 1 |
166 |
#define SYS_STATS 1 |
#define SYS_STATS 0 |
167 |
#else |
#else |
168 |
#define LINK_STATS 0 |
#define LINK_STATS 0 |
169 |
#define IP_STATS 0 |
#define IP_STATS 0 |
176 |
#define SYS_STATS 0 |
#define SYS_STATS 0 |
177 |
#endif /* LWIP_STATS */ |
#endif /* LWIP_STATS */ |
178 |
|
|
179 |
|
/** print only debug messages with this level or higher */ |
180 |
|
#define DBG_MIN_LEVEL 0 |
181 |
|
|
182 |
|
#define DBG_TYPES_ON (DBG_ON | DBG_TRACE | DBG_STATE | DBG_FRESH) |
183 |
|
|
184 |
|
/** |
185 |
|
* Enable/disable debugging per module |
186 |
|
*/ |
187 |
|
#define DEMO_DEBUG DBG_OFF |
188 |
|
#define ETHARP_DEBUG DBG_OFF |
189 |
|
#define NETIF_DEBUG DBG_OFF |
190 |
|
#define PBUF_DEBUG DBG_ON |
191 |
|
#define DELIF_DEBUG DBG_OFF |
192 |
|
#define DROPIF_DEBUG DBG_OFF |
193 |
|
#define TUNIF_DEBUG DBG_OFF |
194 |
|
#define UNIXIF_DEBUG DBG_OFF |
195 |
|
#define TAPIF_DEBUG DBG_OFF |
196 |
|
#define SIO_FIFO_DEBUG DBG_OFF |
197 |
|
#define PPP_DEBUG DBG_OFF |
198 |
|
#define API_LIB_DEBUG DBG_OFF |
199 |
|
#define API_MSG_DEBUG DBG_OFF |
200 |
|
#define SOCKETS_DEBUG DBG_OFF |
201 |
|
#define ICMP_DEBUG DBG_OFF |
202 |
|
#define INET_DEBUG DBG_OFF |
203 |
|
#define IP_DEBUG DBG_OFF |
204 |
|
#define IP_REASS_DEBUG DBG_OFF |
205 |
|
#define MEM_DEBUG DBG_ON |
206 |
|
#define MEMP_DEBUG DBG_ON |
207 |
|
#define SYS_DEBUG DBG_OFF |
208 |
|
#define TCP_DEBUG DBG_ON |
209 |
|
#define TCP_INPUT_DEBUG DBG_ON |
210 |
|
#define TCP_FR_DEBUG DBG_OFF |
211 |
|
#define TCP_RTO_DEBUG DBG_OFF |
212 |
|
#define TCP_REXMIT_DEBUG DBG_OFF |
213 |
|
#define TCP_CWND_DEBUG DBG_OFF |
214 |
|
#define TCP_WND_DEBUG DBG_OFF |
215 |
|
#define TCP_OUTPUT_DEBUG DBG_OFF |
216 |
|
#define TCP_RST_DEBUG DBG_OFF |
217 |
|
#define TCP_QLEN_DEBUG DBG_OFF |
218 |
|
#define UDP_DEBUG DBG_OFF |
219 |
|
#define TCPIP_DEBUG DBG_OFF |
220 |
|
#define TCPDUMP_DEBUG DBG_OFF |
221 |
|
#define DHCP_DEBUG DBG_OFF |
222 |
|
|
223 |
#endif /* __LWIPOPTS_H__ */ |
#endif /* __LWIPOPTS_H__ */ |