File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
features/FEATURE_LWIP/lwip-interface Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 106
106
#define LWIP_RAM_HEAP_POINTER lwip_ram_heap
107
107
108
108
#ifndef PBUF_POOL_SIZE
109
+ /// Each requires 684 bytes of RAM.
109
110
#define PBUF_POOL_SIZE 5
110
111
#endif
111
112
#ifndef MEMP_NUM_TCP_PCB_LISTEN
113
+ /// One is needed for each TCPServer.
114
+ /// Each requires 72 bytes of RAM.
112
115
#define MEMP_NUM_TCP_PCB_LISTEN 4
113
116
#endif
114
117
#ifndef MEMP_NUM_TCP_PCB
118
+ /// One is needed for each TCPSocket.
119
+ /// Each requires 196 bytes of RAM.
115
120
#define MEMP_NUM_TCP_PCB 4
116
121
#endif
117
122
#ifndef MEMP_NUM_UDP_PCB
123
+ /// One is needed for each UDPSocket.
124
+ /// Each requires 84 bytes of RAM (rounded to multiple of 512).
118
125
#define MEMP_NUM_UDP_PCB 4
119
126
#endif
120
127
#ifndef MEMP_NUM_PBUF
128
+ /// Each requires 92 bytes of RAM.
121
129
#define MEMP_NUM_PBUF 8
122
130
#endif
123
131
#ifndef MEMP_NUM_NETBUF
132
+ /// Each requires 64 bytes of RAM.
124
133
#define MEMP_NUM_NETBUF 8
125
134
#endif
126
135
#ifndef MEMP_NUM_NETCONN
136
+ /// One netconn is needed for each UDPSocket, TCPSocket or TCPServer.
137
+ /// Each requires 236 bytes of RAM (rounded to multiple of 512).
127
138
#define MEMP_NUM_NETCONN 4
128
139
#endif
129
140
You can’t perform that action at this time.
0 commit comments