this error occurs after downloading ESP-IDF 4.4.2:
------------------------------------
C:/esp/esp-idf-442/components/esp-tls/esp_tls_mbedtls.c:27:10: fatal error: mbedtls/atca_mbedtls_wrap.h: No such file or directory
#include "mbedtls/atca_mbedtls_wrap.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
------------------------------------
For the ESP-IDF version update I followed this document:
https://github.com/espressif/vscode-esp ... install.md
I've downloaded the ESP-IDF 4.4.2 (and updated accordingly c_cpp_properties.json / settings.json) and I'm having errors in the compilation of a project that was fine in 4.4.
According to the error message I found that the version 4.4 includes the directory "esp-cryptoauthlib" that is missing in the version 4.4.2.
I tried to re-create the environment by copying it by hands:
"C:\esp\esp-idf-442\components\esp-cryptoauthlib"
It did not work, and I copied just the " mbedtls" directory in the "C:/esp/esp-idf-442/components/esp-tls/" directory. It worked, but more errors occur, and the compilation fails.
Is this a problem already known?
In case, does it exist a solution?
If it is not a known problem, why am I facing it? What's wrong with the updating procedure I followed?
Thank you
compilation failure in ESP-IDF 4.4.2 - code for ESP32
-
- Posts: 48
- Joined: Wed Feb 05, 2020 6:29 pm
Re: compilation failure in ESP-IDF 4.4.2 - code for ESP32
Hi sergiomarina,
I can find "esp-cryptoauthlib" in https://github.com/espressif/esp-idf/tr ... components. You can execute "git submodule update --init --recursive" to download submodule.
I can find "esp-cryptoauthlib" in https://github.com/espressif/esp-idf/tr ... components. You can execute "git submodule update --init --recursive" to download submodule.
-
- Posts: 48
- Joined: Wed Feb 05, 2020 6:29 pm
Re: compilation failure in ESP-IDF 4.4.2 - code for ESP32
Hi ESP-YJM,
understand the API functions are not stored in a unique central folder, but they can be everywhere in the package and "git" works in order to find related submodules and compare them for proper updating.
Is that correct?
After that I need a manual to run the "git" command suggested in your POST, since I do not know-how
Is a manual available?
Please, help me in this delicate though fundamental job.
Thank you.
understand the API functions are not stored in a unique central folder, but they can be everywhere in the package and "git" works in order to find related submodules and compare them for proper updating.
Is that correct?
After that I need a manual to run the "git" command suggested in your POST, since I do not know-how
Is a manual available?
Please, help me in this delicate though fundamental job.
Thank you.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 123 guests