From 880437948d84c0bed039768c4c20139f80f9a4da Mon Sep 17 00:00:00 2001 From: Ben Nicholson Date: Thu, 24 Sep 2026 23:47:31 +1000 Subject: [PATCH] Enable ETH transmit mutex (LLDP/PTP raw TX next to lwIP) CONFIG_ETH_TRANSMIT_MUTEX was off, so LLDP (esp_timer task) could hit the EMAC TX descriptors at the same time as lwIP. PTP adds a third sender. Verified: OTA-installed build passes its self-test, web/status fine. Co-Authored-By: Claude Opus 5.5 --- sdkconfig.defaults | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 9d5270c..05407f4 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -16,3 +16,6 @@ CONFIG_ESP32P4_REV_MIN_100=y # 32 MB flash (esptool flash_id: GigaDevice c8/4019). App slots stay below 16 MB; # cache mapping above 16 MB is experimental in IDF. CONFIG_ESPTOOLPY_FLASHSIZE_32MB=y + +# LLDP and PTP send raw frames from their own tasks next to lwIP: serialise EMAC transmits +CONFIG_ETH_TRANSMIT_MUTEX=y