Skip to content

Commit b99f977

Browse files
authored
ESP32: Fix the menuconfig option description for LwIP thread safety (#37483)
1 parent d0e4459 commit b99f977

File tree

1 file changed

+3
-2
lines changed
  • config/esp32/components/chip

1 file changed

+3
-2
lines changed

config/esp32/components/chip/Kconfig

+3-2
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,15 @@ menu "CHIP Core"
228228
help
229229
Enable this option to start a UDP Endpoint queue filter for mDNS Broadcast packets
230230

231-
config ENABLE_LWIP_THREAD_SAFETY
232-
bool "Enable LwIP Thread safety options"
231+
config USE_TCPIP_CORE_LOCK_FOR_THREAD_SAFETY
232+
bool "Use TCPIP core locking for LwIP thread safety"
233233
default y
234234
select LWIP_TCPIP_CORE_LOCKING
235235
select LWIP_CHECK_THREAD_SAFETY
236236
help
237237
CHIP SDK performs LwIP core locking before calling an LwIP API.
238238
To make the calls thread safe we have to enable LWIP_TCPIP_CORE_LOCKING.
239+
Otherwise CHIP SDK will post LwIP APIs to TCPIP task to ensure thread safety.
239240
Here, we are also enabling LWIP_CHECK_THREAD_SAFETY which will assert when
240241
LwIP code gets called from any other context or without holding the LwIP lock.
241242

0 commit comments

Comments
 (0)