stm32/lwip_inc: Allocate additional MEMP_SYS_TIMEOUT when mDNS enabled.
Since v2.1 of lwIP mDNS uses a MEMP_SYS_TIMEOUT slot, so allocate an extra one when this feature is enabled.
This commit is contained in:
parent
cb84e22ac6
commit
b0e17bbb9d
@ -32,8 +32,9 @@
|
||||
#define LWIP_MDNS_RESPONDER 1
|
||||
#define LWIP_IGMP 1
|
||||
|
||||
#define LWIP_NUM_NETIF_CLIENT_DATA 1 // mDNS responder requires 1
|
||||
#define MEMP_NUM_UDP_PCB 5 // mDNS responder requires 1
|
||||
#define LWIP_NUM_NETIF_CLIENT_DATA LWIP_MDNS_RESPONDER
|
||||
#define MEMP_NUM_UDP_PCB (4 + LWIP_MDNS_RESPONDER)
|
||||
#define MEMP_NUM_SYS_TIMEOUT (LWIP_NUM_SYS_TIMEOUT_INTERNAL + LWIP_MDNS_RESPONDER)
|
||||
|
||||
#define SO_REUSE 1
|
||||
#define TCP_LISTEN_BACKLOG 1
|
||||
|
Loading…
Reference in New Issue
Block a user