Compilation failure

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Victor
Posts: 2
Joined: Wed Apr 14, 2021 12:11 pm

Compilation failure

Post by Victor » Sun Apr 18, 2021 9:40 am

Hi!
I am trying to compile micropython with ESP-IDF v3.3.5
why do I need LAN port and OTA updates. but I have this error:
===============================================
CMake Error at /home/victor/esp/micropython/ports/esp32/main/CMakeLists.txt:5 (include):
include could not find load file:

//py/py.cmake
Call Stack (most recent call first):
/home/victor/esp/esp-idf/tools/cmake/scripts/expand_requirements.cmake:107 (include)
/home/victor/esp/esp-idf/tools/cmake/scripts/expand_requirements.cmake:217 (expand_component_requirements)


CMake Error at /home/victor/esp/esp-idf/tools/cmake/idf_functions.cmake:339 (message):
Failed to expand component requirements
Call Stack (most recent call first):
/home/victor/esp/esp-idf/tools/cmake/project.cmake:173 (idf_import_components)
CMakeLists.txt:38 (project)


-- Configuring incomplete, errors occurred!
See also "/home/victor/esp/micropython/ports/esp32/build-GENERIC_OTA/CMakeFiles/CMakeOutput.log".
See also "/home/victor/esp/micropython/ports/esp32/build-GENERIC_OTA/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
make: *** [Makefile:30: all] Error 2
==============================================================


the "py.cmake" file is on your site.
can it be a cmake problem?
although I have updated it to version 3.5.1
i am using debian on WSL2
Thanks for the help!

postscript:
forgive my google translator english
greetings from Spain!

Post Reply