Closed 0x0fe closed 1 year ago
Downloading the source zip from the GitHub release does not include the submodules. This is an unfortunate drawback for complex projects like esp-idf and esp-adf which make heavy use of submodules.
Here are the components for v2.6. Note those listed in blue through GitHub.
https://github.com/espressif/esp-adf/tree/v2.6/components
They have to be downloaded separately and placed at that location so that it can find them.
Alternatively, you can use git commands to get esp-adf and all submodules recursively, as described at the bottom of the release notes.
@ftab yes indeed, after a recursive clone i was able to get all submodules and to build correctly.
So, i try to build one of the example project of last ADF 2.6, here are the steps i followed -download ADF 2.6 and unzip -set ADF_PATH from IDF 5.0 CMD with set ADF_PATH=C:\Users\xxxx\Downloads\esp-adf-2.6 -copy one example as work directory : xcopy /e /i %ADF_PATH%\examples\get-started\play_mp3_control play_mp3_control -cd to the work directory : cd C:\Users\xxxx\Downloads\play_mp3_control\ -set the target : idf.py set-target esp32 -attempt to build : idf.py build
unfortunately, it cannot build, with the following errors :
But IDF 5.0 CMD works fine for IDF projects