Failed to set target esp32h2: non zero exit code 2 Directory
报这个错误删除 build文件 进行重新编译。
示例路径 报错中有提示 D:\ESP32_H2_P\hello_world\build
Failed to set target esp32h2: non zero exit code 2 Directory ‘D:\ESP32_H2_P\hello_world\build’ doesn’t seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to ‘clean’ it. Adding “set-target”'s dependency “fullclean” to list of commands with default set of options. Executing action: fullclean .

Logo

智能硬件社区聚焦AI智能硬件技术生态,汇聚嵌入式AI、物联网硬件开发者,打造交流分享平台,同步全国赛事资讯、开展 OPC 核心人才招募,助力技术落地与开发者成长。

更多推荐