From ba8d9b00182a4f93f782c5485ed259812387eabd Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Fri, 2 Nov 2018 20:21:50 +0100 Subject: [PATCH] lwipopts.h: Raise number of UDP PCBs Was not sufficient when all apps are enabled --- contrib/examples/example_app/lwipopts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/examples/example_app/lwipopts.h b/contrib/examples/example_app/lwipopts.h index 5acbe98a..664027c5 100644 --- a/contrib/examples/example_app/lwipopts.h +++ b/contrib/examples/example_app/lwipopts.h @@ -129,7 +129,7 @@ a lot of data that needs to be copied, this should be set high. */ #define MEMP_NUM_RAW_PCB 3 /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One per active UDP "connection". */ -#define MEMP_NUM_UDP_PCB 4 +#define MEMP_NUM_UDP_PCB 8 /* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP connections. */ #define MEMP_NUM_TCP_PCB 5 @@ -148,7 +148,7 @@ a lot of data that needs to be copied, this should be set high. */ /* MEMP_NUM_NETBUF: the number of struct netbufs. */ #define MEMP_NUM_NETBUF 2 /* MEMP_NUM_NETCONN: the number of struct netconns. */ -#define MEMP_NUM_NETCONN 10 +#define MEMP_NUM_NETCONN 12 /* MEMP_NUM_TCPIP_MSG_*: the number of struct tcpip_msg, which is used for sequential API communication and incoming packets. Used in src/api/tcpip.c. */