GithubHelp home page GithubHelp logo

kevincoooool / esp32s3_openmv_lvgl Goto Github PK

View Code? Open in Web Editor NEW
138.0 6.0 44.0 243.12 MB

License: MIT License

CMake 0.08% Makefile 0.21% C 95.45% Python 0.85% C++ 1.62% Shell 0.11% Ruby 0.01% HTML 0.14% Batchfile 0.01% Assembly 1.43% Roff 0.04% Perl 0.02% Tcl 0.01% SmPL 0.01% GDB 0.01% CSS 0.01% JavaScript 0.01% LLVM 0.01% Yacc 0.01% C# 0.01%

esp32s3_openmv_lvgl's Introduction

esp32s3_openmv_lvgl

安装编译指南

1. 需要在Ubuntu下安装 ESP-IDF 依赖环境

当前验证过的环境: idf: release v4.4

2. 克隆工程

本工程代码使用submodule来管理openmv和micropython的官方代码,clone 本工程时:

git clone https://github.com/Kevincoooool/esp32s3_openmv_lvgl/

3. 编译工程

现在您可以从 esp32s3_openmv_lvgl/project/ksdiy编译您的固件

首先进入 /project/ksdiy 文件目录

  • 执行 make 编译代码(首次编译,需要先执行make)

如果编译没有出错,您在目录 project/ksdiy/ 中应该可以看到新创建的 build-GENERIC_S3文件夹。在这个文件夹中,有编译生成的 application.bin 等文件。

其它可能经常会用到指令包括

  • 执行 make erase 擦除模块的flash
  • 执行 make flash 编译并烧录固件

4. 串口工具

因为本工程固件支持repl模式,所以可以使用 pytty等串口工具来进行repl调试。 点击下载putty

5. 连接你的设备

将ESP32S3自带的USB端口连接上电脑,使用OpenMV IDE连接设备或者用Thonny IDE连接都可以进行编辑和运行。

6. 当前固件性能

RGB QVGA 15FPS JPEG VGA 20FPS

TODO

  • 导入esp-sr,实现语音识别
  • 导入esp-dl,基于esp-who实现人脸识别,提升openmv的识别速度
  • 当前RGB图像 屏幕显示和openmv ide的显示是反色的,如果openmvide显示的话,屏幕就不正常,要屏幕正常的话,ide显示就不正常,需修复
  • 提升USB到IDE的图像传输速度,特别是RGB图像传输时速度太慢,可尝试增大缓冲区
  • 导入esp-adf的components,实现adf的mpy

esp32s3_openmv_lvgl's People

Contributors

kevincoooool avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

esp32s3_openmv_lvgl's Issues

把flash大小改成4M编译报错

我通过idf.py menuconfig修改了flash大小,但是编译报错,原来8M不会报错
ake[3]: 进入目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
[ 1%] Generating ../../partition_table/partition-table.bin
make[3]: 离开目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
[ 1%] Built target _project_elf_src
[ 1%] Built target custom_bundle
[ 1%] Built target model
[ 1%] Generating memory.ld linker script...
[ 2%] Built target micropy_extmod_btree
make[3]: 离开目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
[ 2%] Built target memory_ld
make[3]: 进入目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
Scanning dependencies of target __idf_ulp
Partitions tables occupies 5.1MB of flash (5308416 bytes) which does not fit in configured flash size 4MB. Change the flash size in menuconfig under the 'Serial Flasher Config' menu.
make[3]: *** [esp-idf/partition_table/CMakeFiles/partition_table_bin.dir/build.make:63:partition_table/partition-table.bin] 错误 2
make[3]: 离开目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
make[2]: *** [CMakeFiles/Makefile2:3542:esp-idf/partition_table/CMakeFiles/partition_table_bin.dir/all] 错误 2
make[2]: *** 正在等待未完成的任务....
make[3]: 离开目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
make[3]: 进入目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
[ 2%] Building C object esp-idf/ulp/CMakeFiles/__idf_ulp.dir/ulp.c.obj
[ 2%] Building C object esp-idf/ulp/CMakeFiles/__idf_ulp.dir/ulp_macro.c.obj
[ 2%] Linking C static library libulp.a
make[3]: 离开目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
[ 2%] Built target __idf_ulp
make[2]: 离开目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
make[1]: *** [Makefile:130:all] 错误 2
make[1]: 离开目录“/home/youth/esp32s3_openmv_lvgl/project/ksdiy/build-GENERIC_S3”
make failed with exit code 2
make: *** [Makefile:33:all] 错误 2

Compile problem

Hello, I wish to compile this source for ESP32-CAM module.

There is a compilation problem with below ports of ESP32
make BARD=GENERIC_SIPRAM
make BARD=GENERIC

There is no compilation problem for
make BARD=GENERIC_S3

command-line>: note: this is the location of the previous definition
Traceback (most recent call last):
  File "/home/engin/esp32s3_openmv_lvgl/submodule/micropython/py/makeqstrdefs.py", line 188, in <module>
    preprocess()
  File "/home/engin/esp32s3_openmv_lvgl/submodule/micropython/py/makeqstrdefs.py", line 62, in preprocess
    for output in p.imap(pp(flags), chunks):
  File "/usr/lib/python3.10/multiprocessing/pool.py", line 870, in next
    raise value
  File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/home/engin/esp32s3_openmv_lvgl/submodule/micropython/py/makeqstrdefs.py", line 46, in run
    return subprocess.check_output(args.pp + flags + files)
  File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.