You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is sucesssful to make firmware for ESP32, but when I am making a new firmware for my ESP32-CMA, I met the following 2 issues:
.. ....
[1094/1336] Generating ../../genhdr/qstrdefs.collected.h
QSTR updated
[1097/1336] cd /home/geya/esp/micropython/ports/esp32/build-ESP32_CAM/esp-idf/main && /ho...thon/ports/esp32/build-ESP32_CAM -f-march=xtensawin --mpy-tool-flags= /boards/manifest.py
freeze error executing "/boards/manifest.py": Error in manifest file: /boards/manifest.py: [Errno 2] No such file or directory: '/boards/manifest.py'
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
... ...
Q1:Is it due to the latest version of micropython, not the required one( MicroPython v1.18-63-feeeb5ea3-dirty )for CAM?
Q2:Is location issue of /boards/manifest.py? Which manifest.py shall be care about?
If anyone met the same or similar issues like me, plese help ad many thanks in advance!
Have a nice day!
George
The text was updated successfully, but these errors were encountered:
you should replace
set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py)
to
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
in ./boards/ESP32_CAM/mpconfigboard.cmake
also you should create folder ./boards/ESP32_CAM/modules
and comment
#define MICROPY_PY_BLUETOOTH (0)
at ./boards/ESP32_CAM/mpconfigboard.h
in case of ERROR: Call to MP_REGISTER_MODULE(camera, mp_module_camera_system, (1)
replace
MP_REGISTER_MODULE(MP_QSTR_camera, mp_module_camera_system, MODULE_CAMERA_ENABLED);
to
MP_REGISTER_MODULE(MP_QSTR_camera, mp_module_camera_system);
at ./src/modcamera.c
Good day!
I am new here and just a new comer.
It is sucesssful to make firmware for ESP32, but when I am making a new firmware for my ESP32-CMA, I met the following 2 issues:
.. ....
[1094/1336] Generating ../../genhdr/qstrdefs.collected.h
QSTR updated
[1097/1336] cd /home/geya/esp/micropython/ports/esp32/build-ESP32_CAM/esp-idf/main && /ho...thon/ports/esp32/build-ESP32_CAM -f-march=xtensawin --mpy-tool-flags= /boards/manifest.py
FAILED: esp-idf/main/CMakeFiles/BUILD_FROZEN_CONTENT frozen_content.c
cd /home/geya/esp/micropython/ports/esp32/build-ESP32_CAM/esp-idf/main && /home/geya/.espressif/python_env/idf4.4_py3.8_env/bin/python3.8 /home/geya/esp/micropython/tools/makemanifest.py -o /home/geya/esp/micropython/ports/esp32/build-ESP32_CAM/frozen_content.c -v MPY_DIR=/home/geya/esp/micropython -v MPY_LIB_DIR=/home/geya/esp/micropython/lib/micropython-lib -v PORT_DIR=/home/geya/esp/micropython/ports/esp32 -v BOARD_DIR=/home/geya/esp/micropython/ports/esp32/boards/ESP32_CAM -b /home/geya/esp/micropython/ports/esp32/build-ESP32_CAM -f-march=xtensawin --mpy-tool-flags= /boards/manifest.py
freeze error executing "/boards/manifest.py": Error in manifest file: /boards/manifest.py: [Errno 2] No such file or directory: '/boards/manifest.py'
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
... ...
Q1:Is it due to the latest version of micropython, not the required one( MicroPython v1.18-63-feeeb5ea3-dirty )for CAM?
Q2:Is location issue of /boards/manifest.py? Which manifest.py shall be care about?
If anyone met the same or similar issues like me, plese help ad many thanks in advance!
Have a nice day!
George
The text was updated successfully, but these errors were encountered: