• 免费好用的星瞳AI云服务上线!简单标注,云端训练,支持OpenMV H7和OpenMV H7 Plus。可以替代edge impulse。 https://forum.singtown.com/topic/9519
  • 我们只解决官方正版的OpenMV的问题(STM32),其他的分支有很多兼容问题,我们无法解决。
  • 如果有产品硬件故障问题,比如无法开机,论坛很难解决。可以直接找售后维修
  • 发帖子之前,请确认看过所有的视频教程,https://singtown.com/learn/ 和所有的上手教程http://book.openmv.cc/
  • 每一个新的提问,单独发一个新帖子
  • 帖子需要目的,你要做什么?
  • 如果涉及代码,需要报错提示全部代码文本,请注意不要贴代码图片
  • 必看:玩转星瞳论坛了解一下图片上传,代码格式等问题。
  • 编译源码时出现错误,TypeError: 'NoneType' object is not iterable



    • 需要的软件和库都按照“编译固件章节”安装了,就是卡在这里过不了,不知道什么原因?

      root@ubuntu:/home/jacky/Documents/openmv-master# sudo make -j$(nproc) -C src/micropython/mpy-cross
      make: Entering directory '/home/jacky/Documents/openmv-master/src/micropython/mpy-cross'
      Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
      Traceback (most recent call last):
      File "../py/makeversionhdr.py", line 106, in
      make_version_header(sys.argv[1])
      File "../py/makeversionhdr.py", line 73, in make_version_header
      omv_git_tag, omv_git_hash = get_version_info_from_git(omv_repo)
      TypeError: 'NoneType' object is not iterable
      ../py/py.mk:241: recipe for target 'build/genhdr/mpversion.h' failed
      make: *** [build/genhdr/mpversion.h] Error 1
      make: Leaving directory '/home/jacky/Documents/openmv-master/src/micropython/mpy-cross'
      root@ubuntu:/home/jacky/Documents/openmv-master#

      交叉编码工具版本:
      root@ubuntu:/home/jacky/Documents/openmv-master# arm-none-eabi-gcc -v
      Using built-in specs.
      COLLECT_GCC=arm-none-eabi-gcc
      COLLECT_LTO_WRAPPER=/usr/bin/../lib/gcc/arm-none-eabi/7.3.1/lto-wrapper
      Target: arm-none-eabi
      Configured with: /build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/src/gcc/configure --target=arm-none-eabi --prefix=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native --libexecdir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/lib --infodir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/share/doc/gcc-arm-none-eabi/info --mandir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/share/doc/gcc-arm-none-eabi/man --htmldir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/share/doc/gcc-arm-none-eabi/html --pdfdir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-plugins --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/arm-none-eabi --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for Arm Embedded Processors 7-2018-q3-update' --with-multilib-list=rmprofile
      Thread model: single
      gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (GNU Tools for Arm Embedded Processors 7-2018-q3-update)

      python3版本:
      Python 3.5.2 (default, Jan 26 2021, 13:30:48)
      [GCC 5.4.0 20160609] on linux



    • 你可以按照这个文档来编译:https://github.com/openmv/openmv/tree/master/src