Closed mzimmersfluidra closed 2 years ago
I got this fixed. When I had installed the IDF, I had deliberately excluded the toolchains for the S2 and S3 variants (to save download time, and because I wouldn't need them). I guess the IDF wizard didn't like this. I reinstalled the IDF with all options, and got the "Use Existing Setup" option. I was also able to build and flash. Thanks for looking at this.
Describe the bug I'm unable to get the extension wizard to give me the "Use Existing Setup Option." As a result, I'm not able to build from VS Code. I'm sure I'm missing a setup step, but I've gone through all the steps in the instructions, and can't see what I'm missing. To Reproduce Install ESP-IDF and toolchain to root level directories Install VS Code (system version, not user version) Open VS Code and install extension Attempt to configure extension
Expected behavior The "Use Existing Setup" option should appear.
Environment (please complete the following information):
Logs Please share the log file which can be obtained from:
{"message":"Cannot access filePath: cmake","stack":"Error: non zero exit code 1\r\n\r\nINFO: Could not find files for the given pattern(s).\r\n\n\tat ChildProcess. (\dist\extension.js:1:4499)\n\tat ChildProcess.emit (node:events:390:28)\n\tat Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)","level":"error","timestamp":"2022-05-17T22:54:35.147Z"}
{"user":true,"message":"Something went wrong while trying to build the project","stack":"Error: CMake or Ninja executables not found\n\tat p. (\dist\extension.js:1:100837)\n\tat Generator.next ()\n\tat s (\dist\extension.js:1:99205)","level":"error","timestamp":"2022-05-17T22:54:35.248Z"}
{"message":"non zero exit code 1\r\n\r\nINFO: Could not find files for the given pattern(s).\r\n","stack":"Error: non zero exit code 1\r\n\r\nINFO: Could not find files for the given pattern(s).\r\n\n\tat ChildProcess. (\dist\extension.js:1:4499)\n\tat ChildProcess.emit (node:events:390:28)\n\tat Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)","level":"error","timestamp":"2022-05-17T22:55:57.409Z"}
{"message":"Cannot access filePath: cmake","stack":"Error: non zero exit code 1\r\n\r\nINFO: Could not find files for the given pattern(s).\r\n\n\tat ChildProcess. (\dist\extension.js:1:4499)\n\tat ChildProcess.emit (node:events:390:28)\n\tat Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)","level":"error","timestamp":"2022-05-17T22:55:57.409Z"}
{"user":true,"message":"Something went wrong while trying to build the project","stack":"Error: CMake or Ninja executables not found\n\tat p. (\dist\extension.js:1:100837)\n\tat Generator.next ()\n\tat s (\dist\extension.js:1:99205)","level":"error","timestamp":"2022-05-17T22:55:57.497Z"}
Extension Configuration settings "idf.gitPath": "C:espressif\tools\idf-git\2.34.2\cmd\git.exe", "idf.espIdfPathWin": "C:\Espressif\frameworks\esp-idf-v4.4.1", "idf.pythonBinPathWin": "C:espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe", "idf.toolsPathWin": "C:espressif\", "idf.customExtraPaths": "C:espressif\tools\xtensa-esp32-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32-elf\bin;C:espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32s2-elf\bin;C:espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32s3-elf\bin;C:espressif\tools\riscv32-esp-elf\esp-2021r2-patch3-8.4.0\riscv32-esp-elf\bin;C:espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:espressif\tools\cmake\3.20.3\bin;C:espressif\tools\openocd-esp32\v0.11.0-esp32-20211220\openocd-esp32\bin;C:espressif\tools\ninja\1.10.2;C:espressif\tools\idf-exe\1.0.3;C:espressif\tools\ccache\4.3\ccache-4.3-windows-64;C:espressif\tools\dfu-util\0.9\dfu-util-0.9-win64", "idf.customExtraVars": "{\"OPENOCD_SCRIPTS\":\"C:\\Users\\Michael.Zimmers\\.espressif\\tools\\openocd-esp32\\v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts\",\"IDF_CCACHE_ENABLE\":\"1\"}",