请问需要修改哪些文件内容呢?有哪位知道的么
xywd
@xywd
xywd 发布的帖子
-
打开源码里自动对焦的宏定义也不能实现自动对焦吗?
将源码里src/omv/boards/OPENMV4P/omv_boardconfig.h
#define OMV_ENABLE_OV5640_AF (1)
打开这个宏定义重新生成固件并烧录到板子也不能自动对焦?? -
usb串口或UART3发送什么数据会进入REPL模式?
usb串口或UART3发送什么数据会进入REPL模式?
有时候会莫名的进入REPL模式去,且出不来,要重启设备才行。 -
编译源码时出现错误,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 -
RE: 报异常e:Frame capture has timed out.
固件已是最新: 4.4.2, 现在的情况是出现这个异常时, 在异常处理except里执行machine.reset()软件重启设备还是会报这个异常, 但是断电再上电的时候又不会出现了?
-
报异常e:Frame capture has timed out.
您好, 为什么出现e:Frame capture has timed out.异常之后, 使用machine.reset()软件重启也不能恢复正常? 但是断开再上电又是可以恢复正常的, 为什么呢? 这个异常一般是在哪个api被调用之后会出现的?
-
RE: 自己做的IDE要怎么才能收到板子usb上print输出的信息?
就是通过usb线传输自定义的报文到设备, 设备也会响应信息, 但是不知道怎么打印调试信息回来. 看你们的openmvIDE是可以看打印信息的, 也能传图像, 这是怎么做的?