使用esp_idf后的idf.py set-target esp32s3不能设置目标芯片的一个原因?

1)visual studio code报了一个错误,以下为错误内容:

Failed to set target esp32s3: non zero exit code 2CMakeLists.txt not found in project directoryC:\Users\sf\Desktoplesp\esp_eda Adding "set-target"'sdependency "fullclean" to list of commands with default set ofoptions, Executing action: fullclean Build directory'C:\Users\sf\Desktoplespiesp_edabuild' is empty, Nothing toclean, Executing action: set-target Set Target to: esp32s3, newsdkconfig will be created.

2,发生错误的一个原因:

image

3,解决方法:实际是你拖动esp_eda1至visual studio code 中,应该是拖动sample_project至visual studio code.

 

posted @ 2025-11-30 11:39  sfxhjc  阅读(0)  评论(0)    收藏  举报