Skip to content

Can't compile for ESP32-C3 #236

@tetopik

Description

@tetopik

Sorry to bother you (again), Kevin. But this time I failed to finish building the firmware for ESP32-C3 via the command:
python3 make.py esp32 clean BOARD=ESP32_GENERIC_C3 DISPLAY=st7789

[1019/1929] cd /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/esp-idf/main_esp32c3 && /usr/bin/cmake -E make_directory /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/genhdr && /home/tetopik/.espressif/python_env/idf5.2_py3.12_env/bin/python /home/tetopik/micropython/lvgl_micropython/lib/micropython/py/makeversionhdr.py /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/genhdr/mpversion.h
GEN /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/genhdr/mpversion.h
[1021/1929] Building C object esp-idf/espressif__mdns/CMakeFiles/__idf_espressif[1022/1929] Generating /home/tetopik/micropython/lvgl_micropython/lib/micropython/mpy-cross/build/mpy-cross  
make[1]: Entering directory '/home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/esp-idf/main_esp32c3'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
make[1]: Leaving directory '/home/tetopik/micropython/lvgl_micropython/lib/micropython/mpy-cross'
[1023/1929] Building C object esp-idf/espressif__mdns/CMakeFiles/__idf_espressif[1024/1929] Linking C static library esp-idf/espressif__mdns/libespressif__mdns.[1025/1929] Linking C static library esp-idf/esp_local_ctrl/libesp_local_ctrl.a [1029/1929] Generating ../../genhdr/root_pointers.collected                    
Root pointer registrations updated
[1031/1929] Generating ../../genhdr/qstrdefs.collected.h
QSTR updated
[1034/1929] cd /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/esp-idf/main_esp32c3 && /home/tetopik/.espressif/python_env/idf5.2_py3.12_env/bin/python /home/tetopik/micropython/lvgl_micropython/lib/micropython/tools/makemanifest.py -o /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/frozen_content.c -v BOARD_DIR=/home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/boards/ESP32_GENERIC_C3 -v MPY_DIR=/home/tetopik/micropython/lvgl_micropython/lib/micropython -v MPY_LIB_DIR=/home/tetopik/micropython/lvgl_micropython/lib/micropython/lib/micropython-lib -v PORT_DIR=/home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32 -b /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3 --mpy-tool-flags= /home/tetopik/micropython/lvgl_micropython/build/manifest.py
FAILED: esp-idf/main_esp32c3/CMakeFiles/BUILD_FROZEN_CONTENT frozen_content.c /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/esp-idf/main_esp32c3/CMakeFiles/BUILD_FROZEN_CONTENT /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/frozen_content.c
cd /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/esp-idf/main_esp32c3 && /home/tetopik/.espressif/python_env/idf5.2_py3.12_env/bin/python /home/tetopik/micropython/lvgl_micropython/lib/micropython/tools/makemanifest.py -o /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/frozen_content.c -v BOARD_DIR=/home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/boards/ESP32_GENERIC_C3 -v MPY_DIR=/home/tetopik/micropython/lvgl_micropython/lib/micropython -v MPY_LIB_DIR=/home/tetopik/micropython/lvgl_micropython/lib/micropython/lib/micropython-lib -v PORT_DIR=/home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32 -b /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3 --mpy-tool-flags= /home/tetopik/micropython/lvgl_micropython/build/manifest.py
MPY spi3wire.py                
error compiling spi3wire.py:
Traceback (most recent call last):
File "spi3wire.py", line 88, in Spi3Wire
SyntaxError: invalid arch
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/log/idf_py_stderr_output_14825 and /home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_C3/log/idf_py_stdout_output_14825
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: Leaving directory '/home/tetopik/micropython/lvgl_micropython/lib/micropython/ports/esp32'
make: *** [Makefile:71: all] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions