compilation failure in ESP-IDF 4.4.2 - code for ESP32
Posted: Thu Oct 20, 2022 1:09 pm
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
------------------------------------
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