首页 > Python资料 博客日记

立创实战派ESP32-S3环境搭建错误经验分享,卡python,ESP-IDF(部分官方例程无法烧录)

2025-01-05 09:00:05Python资料围观51

这篇文章介绍了立创实战派ESP32-S3环境搭建错误经验分享,卡python,ESP-IDF(部分官方例程无法烧录),分享给大家做个参考,收藏Python资料网收获更多编程知识

之前用的是esp离线版本下载,就是按照立创实战派c3的教程来搭建环境,但是一直有一些问题,部分官方历程会报错,出现无法烧录的情况,会出现以下报错

C:\Espressif\frameworks\esp-idf-v5.2.3>idf.py reconfigure
Executing action: reconfigure
Running cmake in directory C:\Espressif\frameworks\esp-idf-v5.2.3\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 C:\Espressif\frameworks\esp-idf-v5.2.3"...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Didn't find assembler
CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_ASM_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
See also "C:/Espressif/frameworks/esp-idf-v5.2.3/build/CMakeFiles/CMakeOutput.log".
See also "C:/Espressif/frameworks/esp-idf-v5.2.3/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1, output of the command is in the C:\Espressif\frameworks\esp-idf-v5.2.3\build\log\idf_py_stderr_output_9840 and C:\Espressif\frameworks\esp-idf-v5.2.3\build\log\idf_py_stdout_output_9840

C:\Espressif\frameworks\esp-idf-v5.2.3>

有的官方例程会出现以下报错

试过重新安装离线版本也没解决。最后解决方法是彻底删除离线版本,然后挂ti zi(不挂可能会卡在最后一步),按照实战派s3的教程下载在线版本。


版权声明:本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:jacktools123@163.com进行投诉反馈,一经查实,立即删除!

标签:

相关文章

本站推荐