RT1062 - Building the Firmware

Hello,

On a Win11 machine I installed Ubuntu via WSL.

I followed the instructions described in openmv/src at master · openmv/openmv · GitHub

  • I cloned the entire repo with " git clone --recursive … "
  • I compiled micropython with " make -j8 -C src/lib/micropython/mpy-cross " → everything was ok
  • Then I ran " make -j8 TARGET=OPENMV_RT1060 -C src "

On the terminal I see:

  • make: Entering directory ‘/home/user/openmv/src’
  • make: *** No rule to make target ‘.WAIT’, needed by ‘all’. Stop.
  • make: *** Waiting for unfinished jobs…
  • make[1]: Entering directory ‘/home/user/openmv/src/hal/cmsis’
  • CC src/mimxrt/startup_MIMXRT1062.S
  • CC src/mimxrt/system_MIMXRT1062.c
  • CC src/dsp/CommonTables/CommonTables.c
    followed by a lot of “CC …” messages

After one minute, the last messages are:

  • CC ports/mimxrt/omv_i2c.c
  • CC ports/mimxrt/omv_spi.c
  • make[1]: Leaving directory ‘/home/user/openmv/src/omv’
  • make: Leaving directory ‘/home/user/openmv/src’
    and the “src/build/bin” folder is empty.

Any suggestions?
Thanks a lot !!

Hi, we have an automated build system in the cloud you can follow. Here’s the script: openmv/.github/workflows/firmware.yml at master · openmv/openmv · GitHub

It uses this tool: openmv/tools/ci.sh at master · openmv/openmv · GitHub

Please follow the workflow steps; you should have no problem building the firmware.

Hi,

following how the workflow uses the ci.sh script, the firmware build is now perfect.

Thank you very much!