[beken-72xx] Increase TCP/IP stack size to fix mDNS stack overflow

This commit is contained in:
Kuba Szczodrzyński
2022-08-31 22:38:54 +02:00
parent 4958690d9e
commit 705b2f794e
2 changed files with 6 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ SPIFFS | ❌ | ❌
BLE | - | ❌
NTP | ❌ | ❌
OTA | ✔️ | ✔️
MDNS | ✔️ | BK7231T only
MDNS | ✔️ | ✔️
MQTT | ✅ | ❌
SD | ❌ | ❌

View File

@@ -8,8 +8,12 @@
// mDNS support
#undef MEMP_NUM_UDP_PCB
#define LWIP_NUM_NETIF_CLIENT_DATA 1
#define LWIP_NUM_NETIF_CLIENT_DATA 2
#define MEMP_NUM_UDP_PCB (MAX_SOCKETS_UDP + 2 + 1)
#define ip_addr ip4_addr
#define ip_addr_t ip4_addr_t
// increase TCP/IP thread stack size (was 512)
#undef TCPIP_THREAD_STACKSIZE
#define TCPIP_THREAD_STACKSIZE 1024