Initial commit
This commit is contained in:
37
basic-udp/lwipopts.h
Normal file
37
basic-udp/lwipopts.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#ifndef LWIPOPTS_H
|
||||
#define LWIPOPTS_H
|
||||
|
||||
/* Platform */
|
||||
#define NO_SYS 1
|
||||
#define LWIP_SOCKET 0
|
||||
#define LWIP_NETCONN 0
|
||||
#define LWIP_TIMEVAL_PRIVATE 0
|
||||
|
||||
/* Memory */
|
||||
#define MEM_ALIGNMENT 4
|
||||
#define MEM_SIZE (8 * 1024)
|
||||
#define MEMP_NUM_PBUF 16
|
||||
#define MEMP_NUM_UDP_PCB 4
|
||||
#define MEMP_NUM_TCP_PCB 4
|
||||
#define MEMP_NUM_TCP_PCB_LISTEN 4
|
||||
#define MEMP_NUM_SYS_TIMEOUT 8
|
||||
|
||||
/* Pbufs */
|
||||
#define PBUF_POOL_SIZE 16
|
||||
#define PBUF_POOL_BUFSIZE 1520
|
||||
|
||||
/* IP */
|
||||
#define LWIP_IPV4 1
|
||||
#define LWIP_IPV6 0
|
||||
#define LWIP_ICMP 1
|
||||
#define LWIP_DHCP 1
|
||||
#define LWIP_UDP 1
|
||||
#define LWIP_TCP 1
|
||||
|
||||
/* Checksums */
|
||||
#define CHECKSUM_BY_HARDWARE 1
|
||||
|
||||
/* Debug */
|
||||
#define LWIP_DEBUG 0
|
||||
|
||||
#endif /* LWIPOPTS_H */
|
||||
Reference in New Issue
Block a user