Page 1 of 1

在VSCode软件上运行idf.py -p COM3 flash出现了这个错误,这是怎么回事???

Posted: Mon Sep 27, 2021 7:26 am
by fst202130609
FAILED: CMakeFiles/flash
cmd.exe /C "cd /D E:\esp\esp_idf\components\esptool_py && E:\esp\.espressif\tools\cmake\3.16.4\bin\cmake.exe -D IDF_PATH="E:/esp/esp_idf" -D SERIAL_TOOL="E:/esp/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe E:/esp/esp_idf/components/esptool_py/esptool/esptool.py --chip esp32c3" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="E:/esp/esp_idf/examples/wifi/fast_scan/build" -P E:/esp/esp_idf/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1