File tree 1 file changed +3
-2
lines changed
config/esp32/components/chip
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -228,14 +228,15 @@ menu "CHIP Core"
228
228
help
229
229
Enable this option to start a UDP Endpoint queue filter for mDNS Broadcast packets
230
230
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"
233
233
default y
234
234
select LWIP_TCPIP_CORE_LOCKING
235
235
select LWIP_CHECK_THREAD_SAFETY
236
236
help
237
237
CHIP SDK performs LwIP core locking before calling an LwIP API.
238
238
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.
239
240
Here, we are also enabling LWIP_CHECK_THREAD_SAFETY which will assert when
240
241
LwIP code gets called from any other context or without holding the LwIP lock.
241
242
You can’t perform that action at this time.
0 commit comments