我这边也也出现了类似编译报错。我的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 (79.08 KiB) Viewed 10035 times