INF2004-Project v0.1
 
Loading...
Searching...
No Matches
lwipopts.h
1#ifndef _LWIPOPTS_H
2#define _LWIPOPTS_H
3
4// Generally you would define your own explicit list of lwIP options
5// (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html)
6//
7// This example uses a common include to avoid repetition
8#include "lwipopts_examples_common.h"
9
10#if !NO_SYS
11#define TCPIP_THREAD_STACKSIZE 1024
12#define DEFAULT_THREAD_STACKSIZE 1024
13#define DEFAULT_RAW_RECVMBOX_SIZE 8
14#define TCPIP_MBOX_SIZE 8
15#define LWIP_TIMEVAL_PRIVATE 0
16
17// not necessary, can be done either way
18#define LWIP_TCPIP_CORE_LOCKING_INPUT 1
19
20// ping_thread sets socket receive timeout, so enable this feature
21#define LWIP_SO_RCVTIMEO 1
22#endif
23
24
25#endif