Closed Tim4497 closed 11 months ago
Only happening after switching IDF Version, not on new project.
@Tim4497 You have CONFIG_MBEDTLS_HAVE_TIME
set in your sdkconfig? If not, please try enabling it once.
I have it enabled and still same error!
Hello @Tim4497,
This issue would arise if your mbedtls
version is not up-to-date or the sdkconfig that you are using has been generated for a different ESP-IDF version. The ESP-IDF version that you are using (v5.1.1-577-g6b1f40b9bf
), is not a release tag and looks like some between the above v5.1.1
and v5.1.2
.
I think you should first clean building the project (removing the existing sdkconfig and the build folder). I would also suggest you to try using a newer release of ESP-IDF, v5.1.2
which contains the updated version (v3.5.0
) of mbedtls
(https://github.com/espressif/esp-idf/commit/9ca8f3d45bbeca2983ede0cb2e1c95548517d4a5) once and let me know does this solves your issue?
Thanks!
Closing due to lack of response, feel free to reopen if you are still facing the problem
Answers checklist.
IDF version.
v5.1.1-577-g6b1f40b9bf
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Build correctly
What is the actual behavior?
Build failed on C Object [49/1166] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform_util.c.objFAILED: esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform_util.c.obj
Steps to reproduce.
Installing ESP-Matter on main, ESP-IDF on v5.1.1-577-g6b1f40b9bf
Build or installation Logs.
More Information.
No response