ESP32 Arduino Lib Builder fails because project depends on idf (>=5.0.0,<5.1.0)
Posted: Thu Aug 10, 2023 2:46 pm
Hey,
I am trying to build a version of the Arduino-ESP32 because I need MbedTLS' CMAC, which is not compiled into the static Arduino version of IDF by default.
Unfortunately the build process fails with the following error message:
I use the following incantation to get the build process started:
I created a file config/defconfig.mbedtls_cmac that contains the following line to include CMAC in the build:
I tried to get as clode as possible to the current Arduino-ESP32 (2.0.11) requirements which should be based on ESP-IDF v4.4.5.
The error itself does not make any sense to me, since the idea is to explicitly compile for version 4.4.5 and _not_ 5.0.0.
I tried the same procedure with IDF release/v5.0 and commit tag v5.0.0, just to see what happens and got a message, that Arduino-ESP32 does not support IDF versions higher than 4.4 yet. Just as expected.
I tried the process without my modifications (mbedtls_cmac) and get the same results.
I have no clue which component causes these issues and a grep for any occurences of "5.0.0" did not reveal any obvious misconfigurations of dependency requirements that I could find.
I would be very thankful for any clues, hints or ideas that might help!
Thank you!
I am trying to build a version of the Arduino-ESP32 because I need MbedTLS' CMAC, which is not compiled into the static Arduino version of IDF by default.
Unfortunately the build process fails with the following error message:
Code: Select all
Dependencies lock doesn't exist, solving dependencies.
Skipping optional dependency: espressif/mdns
Skipping optional dependency: espressif/mdns
.......Skipping optional dependency: espressif/mdns
CMake Error at esp-idf/tools/cmake/build.cmake:464 (message):
ERROR: Because project depends on idf (>=5.0.0,<5.1.0) which doesn't match
any versions, version solving failed.
Call Stack (most recent call first):
esp-idf/tools/cmake/project.cmake:393 (idf_build_process)
CMakeLists.txt:9 (project)
Code: Select all
./build.sh \
-A master \
-I release/v4.4 \
-i v4.4.5 \
-c ~/.platformio/packages/framework-arduinoespressif32 \
-t esp32s3 \
-b build \
mbedtls_cmac
Code: Select all
CONFIG_MBEDTLS_CMAC_C=y
The error itself does not make any sense to me, since the idea is to explicitly compile for version 4.4.5 and _not_ 5.0.0.
I tried the same procedure with IDF release/v5.0 and commit tag v5.0.0, just to see what happens and got a message, that Arduino-ESP32 does not support IDF versions higher than 4.4 yet. Just as expected.
I tried the process without my modifications (mbedtls_cmac) and get the same results.
I have no clue which component causes these issues and a grep for any occurences of "5.0.0" did not reveal any obvious misconfigurations of dependency requirements that I could find.
I would be very thankful for any clues, hints or ideas that might help!
Thank you!