Have you done a:
Code: Select all
sudo apt upgrade
Code: Select all
sudo apt dist-upgrade
Code: Select all
sudo apt autoremove
Code: Select all
sudo apt upgrade
Code: Select all
sudo apt dist-upgrade
Code: Select all
sudo apt autoremove
Uhm none I think, I always use the 64-bit, but the Ubuntu version was 16.04, and the latest is already 20.4 or something, so it was very outdated.
Code: Select all
-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
CMake Error at /home/peugot206/esp/esp-idf/tools/cmake/build.cmake:197 (message):
Failed to resolve component 'tcpip_adapter'.
Call Stack (most recent call first):
/home/peugot206/esp/esp-idf/tools/cmake/build.cmake:225 (__build_resolve_and_add_req)
/home/peugot206/esp/esp-idf/tools/cmake/build.cmake:512 (__build_expand_requirements)
/home/peugot206/esp/esp-idf/tools/cmake/project.cmake:422 (idf_build_process)
CMakeLists.txt:58 (project)
-- Configuring incomplete, errors occurred!
See also "/home/peugot206/micropython/ports/esp32/build-GENERIC/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
make: *** [Makefile:34: all] Error 2
It works!! I switched to the version in the ESP32 readme (even though I have been following this readme all the time, I somehow managed to ignore this specific version..)
Code: Select all
git checkout v4.2
Code: Select all
import ir_rx.file_1