Giter VIP home page Giter VIP logo

Comments (4)

genereese avatar genereese commented on September 3, 2024

As an update, I ran:

make USER_C_MODULES=../../../s3lcd/src/micropython.cmake

-with an absolute path, instead:

make USER_C_MODULES=/home/greese/esp32/s3lcd/src/micropython.cmake

-and I made further progress in the build but it still failed citing:

FAILED: .bin_timestamp /home/greese/esp/micropython/ports/esp32/build-GENERIC/bootloader/.bin_timestamp cd /home/greese/esp/micropython/ports/esp32/build-GENERIC/bootloader && /home/greese/.espressif/python_env/idf4.4_py3.11_env/bin/python /home/greese/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 elf2image --flash_mode dio --flash_freq 40m --flash_size 4MB -o /home/greese/esp/micropython/ports/esp32/build-GENERIC/bootloader/bootloader.bin /home/greese/esp/micropython/ports/esp32/build-GENERIC/bootloader/bootloader.elf && /usr/bin/cmake -E echo "Generated /home/greese/esp/micropython/ports/esp32/build-GENERIC/bootloader/bootloader.bin" && /usr/bin/cmake -E md5sum /home/greese/esp/micropython/ports/esp32/build-GENERIC/bootloader/bootloader.bin > /home/greese/esp/micropython/ports/esp32/build-GENERIC/bootloader/.bin_timestamp /home/greese/.espressif/python_env/idf4.4_py3.11_env/bin/python: can't open file '/home/greese/esp/esp-idf/components/esptool_py/esptool/esptool.py': [Errno 2] No such file or directory ninja: build stopped: subcommand failed. [360/1414] Building C object esp-idf/wpa_supplicant/CMakeFiles/__idf_wpa_supplicant.dir/esp_supplicant/src/esp_wps.c.obj ninja: build stopped: subcommand failed. ninja failed with exit code 1

esptool.py definitely does not exist that that location with the v4.4.4 checkout of ESP-IDF - but it does exist there in the latest master checkout of ESP-IDF.

from s3lcd.

genereese avatar genereese commented on September 3, 2024

Ok, I had to do quite a bit to get this to work, but I was finally able to.

If you clone version v5.1.1 of ESP-IDF and use v1.21.0 of micropython, then modify uart.c under micropython/ports/esp32 to include:

#include "soc/uart_periph.h"

-THEN build using your instructions, everything seems to build OK.

Much appreciated.

from s3lcd.

russhughes avatar russhughes commented on September 3, 2024

MicroPython is using esp-idf 5.0.2. The BOARD names have changed, and there is a new BOARD_VARIANT as well. For the S3, if your BOARD has Octal PSRAM, add BOARD_VARIANT=SPIRAM_OCT.

cd micropython/ports/esp32
make submodules
make BOARD=ESP32_GENERIC_S3 USER_C_MODULES=/Volumes/MicroPython/s3lcd/src/micropython.cmake

Builds clean for me without modifications.

from s3lcd.

genereese avatar genereese commented on September 3, 2024

Yes, I wanted to try to get a build working with at least ESP-IDF v5.1.

Again, thanks for your work and I appreciate your reply, regardless.

from s3lcd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.