完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
买了一块ESP32-S3的开发板,在VSCODE环境下安装ESP-IDFV4.3.2成功,编译加烧写均可以完成,但烧写后开发板上运行不正常,到论坛上查到说明需要ESP-IDF V4.4,安装后编译总有问题。
> Executing task: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 .. < -- Found Git: D:/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1") fatal: not a git repository (or any of the parent directories): .git -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- The ASM compiler identification is GNU -- Found assembler: D:/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: D:/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER. -- Building ESP-IDF components for target esp32s3 -- Project sdkconfig file E:/ESP32-S3/esp32_demo/hello_world/sdkconfig CMake Error at D:/ESP32/esp-idf/tools/cmake/component.cmake:301 (message): Include directory 'D:/ESP32/esp-idf/components/mbedtls/mbedtls/include' is not a directory. Call Stack (most recent call first): D:/ESP32/esp-idf/tools/cmake/component.cmake:472 (__component_add_include_dirs) D:/ESP32/esp-idf/components/mbedtls/CMakeLists.txt:10 (idf_component_register) -- Configuring incomplete, errors occurred! See also "E:/ESP32-S3/esp32_demo/hello_world/build/CMakeFiles/CMakeOutput.log". 终端进程“C:WINDOWSSystem32WindowsPowerShellv1.0powershell.exe -Command cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 ..”已终止,退出代码: 1。 |
|
相关推荐
1个回答
|
|
以下是一些建议和可能的原因:
1. 确保您的ESP32-S3开发板与ESP-IDF V4.4兼容。虽然大多数功能应该兼容,但某些特定功能可能需要更新或修改。 2. 检查您的ESP-IDF V4.4是否正确安装。根据错误信息,似乎您的项目目录不是一个Git仓库,或者没有正确配置。您可以尝试以下操作: - 确保您的项目目录是一个Git仓库,或者将其克隆为Git仓库。 - 如果您不需要使用Git功能,可以尝试在CMakeLists.txt文件中注释掉与Git相关的行。 3. 确保您的工具链和依赖项已正确安装。根据错误信息,您的C编译器版本为GNU 8.4.0。请确保您的工具链与ESP-IDF V4.4兼容。您可以在ESP-IDF文档中查看支持的工具链版本。 4. 检查您的VSCode设置和扩展。确保您已安装并配置了适用于ESP-IDF的VSCode扩展,例如Espressif的ESP-IDF Extension。此外,检查您的设置,确保所有路径和配置正确。 5. 如果问题仍然存在,您可以尝试以下操作: - 清理项目并重新编译。删除build目录,然后重新运行编译命令。 - 查看编译过程中的错误和警告信息,以便更好地了解问题所在。 |
|
|
|
只有小组成员才能发言,加入小组>>
180个成员聚集在这个小组
加入小组450 浏览 1 评论
1445 浏览 1 评论
615浏览 6评论
511浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
489浏览 5评论
493浏览 4评论
479浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-1 15:52 , Processed in 0.343874 second(s), Total 42, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号