esp-who工程 是否支持esp32-s3芯片

lgpww123
Posts: 7
Joined: Tue Feb 08, 2022 9:46 am

esp-who工程 是否支持esp32-s3芯片

Postby lgpww123 » Tue Feb 08, 2022 9:58 am

问一下,esp-who工程 是否支持esp32-s3芯片,我用idf4.3 编译得时候,总提示“rm” “cp”
不是内部指令

ESP_Sandra
Posts: 46
Joined: Mon Dec 10, 2018 10:55 am

Re: esp-who工程 是否支持esp32-s3芯片

Postby ESP_Sandra » Wed Feb 09, 2022 3:41 am

您好~
esp-who 工程已经支持 esp32-S3 芯片。
关于您的问题,请问能否提供完整些的 log?
谢谢

Youngchen
Posts: 2
Joined: Sun Feb 13, 2022 9:08 am

Re: esp-who工程 是否支持esp32-s3芯片

Postby Youngchen » Sun Feb 13, 2022 9:25 am

我这边也也出现了类似编译报错。我的IDF是v4.4 ,ESP-WHO 里面的examples esp32和esp32-s2都可以编译通过,在设置成S3后编译便报如下的错:

-- Configuring done
-- Generating done
-- Build files have been written to: C:/Espressif/frameworks/esp-idf-v4.4/esp-who/examples/human_face_detection/lcd/build
[3/1109] cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf...if/frameworks/esp-idf-v4.4/tools/cmake/scripts/fail.cmake"
FAILED: esp-idf/esp-sr/CMakeFiles/spiffs_model_bin
cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4.4\esp-who\examples\human_face_detection\lcd\build\esp-idf\esp-sr && C:\Espressif\tools\cmake\3.20.3\bin\cmake.exe -E echo "Failed to create SPIFFS image for partition 'model'. " "Check project configuration if using the correct partition table file." && C:\Espressif\tools\cmake\3.20.3\bin\cmake.exe -E remove C:/Espressif/frameworks/esp-idf-v4.4/esp-who/examples/human_face_detection/lcd/build/esp-idf/esp-sr/F8O99.cmake && C:\Espressif\tools\cmake\3.20.3\bin\cmake.exe -E env "FAIL_MESSAGE=Failing the build (see errors on lines above)" C:/Espressif/tools/cmake/3.20.3/bin/cmake.exe -P C:/Espressif/frameworks/esp-idf-v4.4/tools/cmake/scripts/fail.cmake"
Failed to create SPIFFS image for partition 'model'. Check project configuration if using the correct partition table file.
CMake Error at C:/Espressif/frameworks/esp-idf-v4.4/tools/cmake/scripts/fail.cmake:3 (message):
Failing the build (see errors on lines above)


[4/1109] Running move model...
'rm' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'cp' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'cp' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:/Espressif/frameworks/esp-idf-v4.4/esp-who/examples/human_face_detection/lcd/sdkconfig
C:/Espressif/frameworks/esp-idf-v4.4/esp-who/components/esp-sr/model
C:/Espressif/frameworks/esp-idf-v4.4/esp-who/components/esp-sr/model/wakenet_model/alexa8
C:/Espressif/frameworks/esp-idf-v4.4/esp-who/components/esp-sr/model/multinet_model/mn3cn
Recommended model partition size: 500KB
[5/1109] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
factory,app,factory,0x10000,3840K,
nvs,data,nvs,0x3d0000,16K,
fr,data,undefined,0x3e0000,128K,
*******************************************************************************
[12/1109] Building C object esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_uart.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
PS C:\Espressif\frameworks\esp-idf-v4.4\esp-who\examples\human_face_detection\lcd>
1.png
1.png (79.08 KiB) Viewed 6682 times

ESP_Sandra
Posts: 46
Joined: Mon Dec 10, 2018 10:55 am

Re: esp-who工程 是否支持esp32-s3芯片

Postby ESP_Sandra » Mon Feb 14, 2022 7:19 am

hi 请暂时参考 /https://github.com/espressif/esp-who/issues/201 的解决方法
我们后续会修正这个问题。

Youngchen
Posts: 2
Joined: Sun Feb 13, 2022 9:08 am

Re: esp-who工程 是否支持esp32-s3芯片

Postby Youngchen » Tue Feb 15, 2022 1:21 am

感谢楼主,这个问题解决了。
解决过程总结:
1.参照github上ESP-WHO的指导,git clone --recursive https://github.com/espressif/esp-who.git 下载到本地
此项注意事项:要找个好的网络环境完整下载否则会出现各种问题,我第一次网络环境差,esp-who\components\esp-sr ;esp-who\components\esp32-camera这两个子模块很容易下载失败,在次情况下,我就直接单独下拷贝到对应位置,按照第3步处理是不行的;第二次我就买了个翻墙软件找了个好的网络,把原来的ESP-WHO删掉,重新按照这1-2-3操作一遍就OK了
2.更新子模块(不更新也会报错):命令行进入esp-who,然后 git submodule update --recursive --init
3.进入esp-sr的子目录:命令行进入esp-who/components/esp-sr 子目录中,然后: git checkout master 再编译就OK了

Who is online

Users browsing this forum: No registered users and 16 guests