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 云服务平台

更多推荐