Pico Led Controller
1.0.3
A project to control LEDs using Raspberry Pi Pico W
lwipopts.h
Go to the documentation of this file.
1
#ifndef _LWIPOPTS_H
2
#define _LWIPOPTS_H
3
4
#ifndef NO_SYS
5
#define NO_SYS 1
6
#endif
7
8
#ifndef LWIP_SOCKET
9
#define LWIP_SOCKET 0
10
#endif
11
12
#if PICO_CYW43_ARCH_POLL
13
#define MEM_LIBC_MALLOC 1
14
#else
15
// MEM_LIBC_MALLOC is incompatible with non polling versions
16
#define MEM_LIBC_MALLOC 0
17
#endif
18
#define MEM_ALIGNMENT 4
19
#define MEM_SIZE 4000
20
#define MEMP_NUM_TCP_SEG 32
21
#define MEMP_NUM_ARP_QUEUE 10
22
#define PBUF_POOL_SIZE 24
23
#define LWIP_ARP 1
24
#define LWIP_ETHERNET 1
25
#define LWIP_ICMP 1
26
#define LWIP_RAW 1
27
#define TCP_WND (8 * TCP_MSS)
28
#define TCP_MSS 1460
29
#define TCP_SND_BUF (8 * TCP_MSS)
30
#define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1)) / (TCP_MSS))
31
#define LWIP_NETIF_STATUS_CALLBACK 1
32
#define LWIP_NETIF_LINK_CALLBACK 1
33
#define LWIP_NETIF_HOSTNAME 1
34
#define LWIP_NETCONN 0
35
#define MEM_STATS 0
36
#define SYS_STATS 0
37
#define MEMP_STATS 0
38
#define LINK_STATS 0
39
// #define ETH_PAD_SIZE 2
40
#define LWIP_CHKSUM_ALGORITHM 3
41
#define LWIP_DHCP 1
42
#define LWIP_IPV4 1
43
#define LWIP_TCP 1
44
#define LWIP_UDP 1
45
#define LWIP_DNS 1
46
#define LWIP_TCP_KEEPALIVE 1
47
#define LWIP_NETIF_TX_SINGLE_PBUF 1
48
#define DHCP_DOES_ARP_CHECK 0
49
#define LWIP_DHCP_DOES_ACD_CHECK 0
50
#define LWIP_MULTICAST_PING 1
51
52
#ifndef NDEBUG
53
#define LWIP_DEBUG 1
54
#define LWIP_STATS 1
55
#define LWIP_STATS_DISPLAY 1
56
#endif
57
58
#define ETHARP_DEBUG LWIP_DBG_OFF
59
#define NETIF_DEBUG LWIP_DBG_OFF
60
#define PBUF_DEBUG LWIP_DBG_OFF
61
#define API_LIB_DEBUG LWIP_DBG_OFF
62
#define API_MSG_DEBUG LWIP_DBG_OFF
63
#define SOCKETS_DEBUG LWIP_DBG_OFF
64
#define ICMP_DEBUG LWIP_DBG_OFF
65
#define INET_DEBUG LWIP_DBG_OFF
66
#define IP_DEBUG LWIP_DBG_OFF
67
#define IP_REASS_DEBUG LWIP_DBG_OFF
68
#define RAW_DEBUG LWIP_DBG_OFF
69
#define MEM_DEBUG LWIP_DBG_OFF
70
#define MEMP_DEBUG LWIP_DBG_OFF
71
#define SYS_DEBUG LWIP_DBG_OFF
72
#define TCP_DEBUG LWIP_DBG_OFF
73
#define TCP_INPUT_DEBUG LWIP_DBG_OFF
74
#define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
75
#define TCP_RTO_DEBUG LWIP_DBG_OFF
76
#define TCP_CWND_DEBUG LWIP_DBG_OFF
77
#define TCP_WND_DEBUG LWIP_DBG_OFF
78
#define TCP_FR_DEBUG LWIP_DBG_OFF
79
#define TCP_QLEN_DEBUG LWIP_DBG_OFF
80
#define TCP_RST_DEBUG LWIP_DBG_OFF
81
#define UDP_DEBUG LWIP_DBG_OFF
82
#define TCPIP_DEBUG LWIP_DBG_OFF
83
#define PPP_DEBUG LWIP_DBG_OFF
84
#define SLIP_DEBUG LWIP_DBG_OFF
85
#define DHCP_DEBUG LWIP_DBG_OFF
86
87
#define LWIP_HTTPD 10
88
#define LWIP_HTTPD_SSI 10
89
#define LWIP_HTTPD_CGI 10
90
#define LWIP_HTTPD_SSI_INCLUDE_TAG 0
91
#define HTTPD_FSDATA_FILE "html_data.c"
92
93
#endif
led_controller
src
lwipopts.h
Generated by
1.9.1