From fb25554dcb5c5fb3641536e4e7e0ba88d514a0d6 Mon Sep 17 00:00:00 2001 From: liquidraver <504870+liquidraver@users.noreply.github.com> Date: Sat, 25 Apr 2026 13:09:58 +0200 Subject: [PATCH] fix stack overflow on ESP Wifi AP used for OTA --- zephcore/boards/common/wifi_ota.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zephcore/boards/common/wifi_ota.conf b/zephcore/boards/common/wifi_ota.conf index ab23380..85dfa75 100644 --- a/zephcore/boards/common/wifi_ota.conf +++ b/zephcore/boards/common/wifi_ota.conf @@ -52,3 +52,7 @@ CONFIG_IMG_ERASE_PROGRESSIVELY=y # ========== Heap (WiFi + TCP/IP + HTTP needs more than default) ========== CONFIG_HEAP_MEM_POOL_SIZE=65536 +# ========== Stack (DHCPv4 server handler runs on net_socket_service thread; +# upstream default of 2400 bytes overflows on ESP32 when DHCP DISCOVER lands) ========== +CONFIG_NET_SOCKETS_SERVICE_STACK_SIZE=4096 +