File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
components/net/lwip-1.4.1/src Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 123123#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
124124#endif
125125
126- /* The following four are used only with the sequential API and can be
127- set to 0 if the application only will use the raw API. */
126+ /*
127+ * You can re-define following setting in rtcofnig.h to overwrite the default
128+ * setting in the lwip opts.h
129+ */
128130/* MEMP_NUM_NETBUF: the number of struct netbufs. */
129- #define MEMP_NUM_NETBUF 2
131+ // #define MEMP_NUM_NETBUF 2
130132/* MEMP_NUM_NETCONN: the number of struct netconns. */
131- #define MEMP_NUM_NETCONN 4
133+ // #define MEMP_NUM_NETCONN 4
134+
132135/* MEMP_NUM_TCPIP_MSG_*: the number of struct tcpip_msg, which is used
133136 for sequential API communication and incoming packets. Used in
134137 src/api/tcpip.c. */
135- #define MEMP_NUM_TCPIP_MSG_API 16
136- #define MEMP_NUM_TCPIP_MSG_INPKT 16
138+ // #define MEMP_NUM_TCPIP_MSG_API 16
139+ // #define MEMP_NUM_TCPIP_MSG_INPKT 16
137140
138141/* ---------- Pbuf options ---------- */
139142/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
You can’t perform that action at this time.
0 commit comments