-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails when enabling LWIP_TCPIP_CORE_LOCKING (IDFGH-9063) #10466
Comments
@wuyuanyi135 Sorry for the inconvenience. This option is currently broken on master and |
@david-cermak thanks for the heads up! |
Would you backport the fix to stable branches (v5.0 and v4.4)? |
Yes, will backport to both |
Just remind I still cannot find the fix in v5.0 and v4.4. |
or in the latest v5.0.1 |
Any update? BTW, please also add the missing esp_sntp_enabled() to v5.0. |
* Fix thread safety issues in non-core locking * Add option to verify thread safety issues in lwip (core-lock assertion) * Make esp_sntp.h thread safe API * Fix sntp example (v4.4 - fixes minor merge issue that duplicated DHCP_DEFINE_CUSTOM_TIMEOUTS and DHCP_REQUEST_TIMEOUT_SEQUENCE) Closes #9908 Closes #10502 Closes #10466
Answers checklist.
IDF version.
v5.1-dev-2606-ga74ae7fba7
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
LWIP_TCPIP_CORE_LOCKING option should compile
What is the actual behavior?
Compilation failed due to
https://github.com/espressif/esp-lwip/blob/705dd71d46779bf29653f1f1d7b1af5a09fb2aa7/src/core/init.c#L241
Note that
LWIP_NETCONN_SEM_PER_THREAD
is set to zero by this line whileLWIP_NETCONN_FULLDUPLEX
is hard coded to 1 by the option.Steps to reproduce.
Enable tcpip core locking
Build or installation Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: