Hi
I am having the same problem.
I checked out version 5.0.2 of IDF since it is the latest supported by MicroPython but I keep getting
CMake Error at /home/dvbit/esp-idf/tools/cmake/build.cmake:245 (message):
Failed to resolve component 'esp_adc_cal'.
Call Stack (most recent call first):
/home/dvbit/esp-idf/tools/cmake/build.cmake:281 (__build_resolve_and_add_req)
/home/dvbit/esp-idf/tools/cmake/build.cmake:282 (__build_expand_requirements)
/home/dvbit/esp-idf/tools/cmake/build.cmake:574 (__build_expand_requirements)
/home/dvbit/esp-idf/tools/cmake/project.cmake:447 (idf_build_process)
CMakeLists.txt:67 (project)
-- Configuring incomplete, errors occurred!
See also "/home/dvbit/esp-idf/lv_micropython/ports/esp32/build-LOLIN_C3_MINI/CMakeFiles/CMakeOutput.log".
HINT: The component esp_adc_cal could not be found. This could be because: component name was misspelled, the component was not added to the build, the component has been moved to the IDF component manager or has been removed and refactored into some other component.
Please look out for component in 'https://components.espressif.com' and add using 'idf.py add-dependency' command.
Refer to the migration guide for more details about moved components.
Refer to the build-system guide for more details about how components are found and included in the build.
when executing:
make -C ports/esp32 LV_CFLAGS="-DLV_COLOR_DEPTH=16" BOARD=LOLIN_C3_MINI