esp-idf/v6.0: CMake Error at ... components/mbedtls/mbedtls/tf-psa-crypto/core MISSING

Drohne
Posts: 7
Joined: Tue Nov 14, 2023 11:48 am

esp-idf/v6.0: CMake Error at ... components/mbedtls/mbedtls/tf-psa-crypto/core MISSING

Postby Drohne » Fri Mar 13, 2026 12:44 pm

Hello,

I'm with the lost FreeBSD community trying to get ESP-IDF running for small projects. A couple of days ago I did the last git fetch/rebase on IDF v6.0, everything worked so far. But as of today, another pull leaves the ESP-IDF tree corrupt:

[...]
CMake Error at /PATH/esp-idf-idf60/tools/cmake/component.cmake:321 (message):
Include directory
'/PATH/esp-idf-idf60/components/mbedtls/mbedtls/tf-psa-crypto/core'
is not a directory.
Call Stack (most recent call first):
/PATH/esp-idf-idf60/tools/cmake/component.cmake:496 (__component_add_include_dirs)
/PATH/esp-idf-idf60/components/mbedtls/CMakeLists.txt:49 (idf_component_register)

This seems to me like another flaw of missing commits, the directory
components/mbedtls/mbedtls/tf-psa-crypto/
does only contain 'doxygen' - nothing more. Everything required by the build framework ist missing ...

slazyhw
Posts: 5
Joined: Thu Mar 19, 2026 12:01 pm

Re: esp-idf/v6.0: CMake Error at ... components/mbedtls/mbedtls/tf-psa-crypto/core MISSING

Postby slazyhw » Mon Mar 23, 2026 9:36 am

Same error here. Any progress on this?

slazyhw
Posts: 5
Joined: Thu Mar 19, 2026 12:01 pm

Re: esp-idf/v6.0: CMake Error at ... components/mbedtls/mbedtls/tf-psa-crypto/core MISSING

Postby slazyhw » Mon Mar 23, 2026 11:24 am

Did you clone the entire esp-idf repository again or did you just switch to the new version tag in your old local copy?

mbedtls is a git submodule and I think that just switching the tag will not touch the submodules at all which would still fit your prior idf version.

Get a new, clean copy of the repo and then switch to the tag before your first build. That fixed it for me.

Who is online

Users browsing this forum: Amazon [Bot], Baidu [Spider], Bing [Bot], PetalBot, Qwantbot and 3 guests