- {"message":"Open On-Chip Debugger v0.10.0-esp32-20210401 (2021-04-01-15:46)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.10.0-esp32-20210401 (2021-04-01-15:46)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:6907\n\tat ChildProcess.exithandler (child_process.js:308:7)\n\tat ChildProcess.emit (events.js:315:20)\n\tat maybeClose (internal/child_process.js:1048:16)\n\tat Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)","level":"error","timestamp":"2021-09-07T08:55:50.694Z"}
- {"message":"CMake Error at C:/Users/XXXX/esp/esp-idf/tools/cmake/component.cmake:224 (message):\n CMake Error at\n C:/Users/XXXX/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:97\n (include):\n\n include called with wrong number of arguments. include() only takes one\n file.\n\n Call Stack (most recent call first):\n\n C:/Users/XXXX/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:115 (__component_get_requirements)\n\n \n","stack":"Error: CMake Error at C:/Users/XXXX/esp/esp-idf/tools/cmake/component.cmake:224 (message):\n CMake Error at\n C:/Users/XXXX/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:97\n (include):\n\n include called with wrong number of arguments. include() only takes one\n file.\n\n Call Stack (most recent call first):\n\n C:/Users/XXXX/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:115 (__component_get_requirements)\n\n \n\n\tat m.printError (c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:27954)\n\tat Socket.<anonymous> (c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:27383)\n\tat Socket.emit (events.js:315:20)\n\tat addChunk (internal/streams/readable.js:309:12)\n\tat readableAddChunk (internal/streams/readable.js:284:9)\n\tat Socket.Readable.push (internal/streams/readable.js:223:10)\n\tat Pipe.onStreamRead (internal/stream_base_commons.js:188:23)","level":"error","timestamp":"2021-09-07T08:56:14.043Z"}
- {"message":"\n \n\nCall Stack (most recent call first):\n C:/Users/XXXX/esp/esp-idf/tools/cmake/build.cmake:414 (__component_get_requirements)\n C:/Users/XXXX/esp/esp-idf/tools/cmake/project.cmake:396 (idf_build_process)\n CMakeLists.txt:6 (project)\n\n\n","stack":"Error: \n \n\nCall Stack (most recent call first):\n C:/Users/XXXX/esp/esp-idf/tools/cmake/build.cmake:414 (__component_get_requirements)\n C:/Users/XXXX/esp/esp-idf/tools/cmake/project.cmake:396 (idf_build_process)\n CMakeLists.txt:6 (project)\n\n\n\n\tat m.printError (c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:27954)\n\tat Socket.<anonymous> (c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:27383)\n\tat Socket.emit (events.js:315:20)\n\tat addChunk (internal/streams/readable.js:309:12)\n\tat readableAddChunk (internal/streams/readable.js:284:9)\n\tat Socket.Readable.push (internal/streams/readable.js:223:10)\n\tat Pipe.onStreamRead (internal/stream_base_commons.js:188:23)","level":"error","timestamp":"2021-09-07T08:56:14.044Z"}
- {"message":"cmake failed with exit code 1\r\n","stack":"Error: cmake failed with exit code 1\r\n\n\tat m.printError (c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:27954)\n\tat Socket.<anonymous> (c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:27383)\n\tat Socket.emit (events.js:315:20)\n\tat addChunk (internal/streams/readable.js:309:12)\n\tat readableAddChunk (internal/streams/readable.js:284:9)\n\tat Socket.Readable.push (internal/streams/readable.js:223:10)\n\tat Pipe.onStreamRead (internal/stream_base_commons.js:188:23)","level":"error","timestamp":"2021-09-07T08:56:14.075Z"}
- {"message":"SDK Configuration editor confserver process exited with code: 2","stack":"Error: SDK Configuration editor confserver process exited with code: 2\n\tat m.printError (c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:27954)\n\tat ChildProcess.<anonymous> (c:\\Users\\XXXX\\.vscode\\extensions\\espressif.esp-idf-extension-1.1.1\\dist\\extension.js:1:27560)\n\tat ChildProcess.emit (events.js:315:20)\n\tat Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)","level":"error","timestamp":"2021-09-07T08:56:14.099Z"}
Hi,
I m a new user, I have installed ESP-IDF onto my windows 10 machine through visual studio code (https://github.com/espressif/vscode-esp ... install.md).
There appeared to be no errors, I have created an example blink project successfully and selected the target as an ESP-32.
When I reach step 5 in the intructions (https://github.com/espressif/vscode-esp ... sic_use.md) aftrer running ESP-IDF: SDK Configuration editor it never completes, the loading bar is stuck and there are no errors in the terminal, I have attached a screen shot.
I have run the ESP-IDF:Doctor Command, below is the output:
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report ---------------------------------------------
OS win32 x64 10.0.19042
System environment variable PATH
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MATLAB\R2019a\bin;C:\Program Files\MATLAB\R2018b\bin;C:\Program Files\MATLAB\R2015b\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Vector CANdb++ 3.1\Exec32;C:\Program Files\PuTTY\;C:\WindRiver\diab\5.9.4.8\WIN32\bin;C:\Users\joe.holdsworth\AppData\Local\Microsoft\WindowsApps;C:\Users\joe.holdsworth\.dotnet\tools;C:\Users\joe.holdsworth\AppData\Local\Apps\Tcl86\bin;C:\Users\joe.holdsworth\AppData\Local\Programs\Microsoft VS Code\bin
Visual Studio Code version 1.60.0
Visual Studio Code language en
Visual Studio Code shell C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
ESP-IDF Extension version 1.1.1
---------------------------------------------------- Extension configuration settings ------------------------------------------------------
ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH}
ESP-IDF Path (idf.espIdfPath) C:\Users\joe.holdsworth\esp\esp-idf
ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH}
Custom extra paths (idf.customExtraPaths) C:\Users\joe.holdsworth\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;C:\Users\joe.holdsworth\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin;C:\Users\joe.holdsworth\.espressif\tools\xtensa-esp32s3-elf\esp-2020r3-8.4.0\xtensa-esp32s3-elf\bin;C:\Users\joe.holdsworth\.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf\bin;C:\Users\joe.holdsworth\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:\Users\joe.holdsworth\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:\Users\joe.holdsworth\.espressif\tools\cmake\3.16.4\bin;C:\Users\joe.holdsworth\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin;C:\Users\joe.holdsworth\.espressif\tools\ninja\1.10.2;C:\Users\joe.holdsworth\.espressif\tools\idf-exe\1.0.1;C:\Users\joe.holdsworth\.espressif\tools\ccache\3.7;C:\Users\joe.holdsworth\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Users\joe.holdsworth\.espressif\tools\idf-python-wheels\idf4.3_py3.9_2021-01-07
Custom extra vars (idf.customExtraVars) {"OPENOCD_SCRIPTS":"C:\\Users\\joe.holdsworth\\.espressif\\tools\\openocd-esp32\\v0.10.0-esp32-20210401/openocd-esp32/share/openocd/scripts","IDF_CCACHE_ENABLE":"1"}
Virtual env Python Path (idf.pythonBinPath) C:\Users\joe.holdsworth\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe
Serial port (idf.port) COM1
OpenOCD Configs (idf.openOcdConfigs) interface/ftdi/esp32_devkitj_v1.cfg,target/esp32.cfg
ESP-IDF Tools Path (idf.toolsPath) C:\Users\joe.holdsworth\.espressif
Git Path (idf.gitPath) C:\Users\joe.holdsworth\.espressif\tools\idf-git\2.30.1\cmd\git.exe
-------------------------------------------------------- Configurations access -------------------------------------------------------------
Access to ESP-ADF Path (idf.espIdfPath) false
Access to ESP-IDF Path (idf.espIdfPath) true
Access to ESP-MDF Path (idf.espIdfPath) false
Access to ESP-IDF Custom extra paths
Access to C:\Users\joe.holdsworth\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin: true
Access to C:\Users\joe.holdsworth\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin: true
Access to C:\Users\joe.holdsworth\.espressif\tools\xtensa-esp32s3-elf\esp-2020r3-8.4.0\xtensa-esp32s3-elf\bin: true
Access to C:\Users\joe.holdsworth\.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf\bin: true
Access to C:\Users\joe.holdsworth\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin: true
Access to C:\Users\joe.holdsworth\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin: true
Access to C:\Users\joe.holdsworth\.espressif\tools\cmake\3.16.4\bin: true
Access to C:\Users\joe.holdsworth\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin: true
Access to C:\Users\joe.holdsworth\.espressif\tools\ninja\1.10.2: true
Access to C:\Users\joe.holdsworth\.espressif\tools\idf-exe\1.0.1: true
Access to C:\Users\joe.holdsworth\.espressif\tools\ccache\3.7: true
Access to C:\Users\joe.holdsworth\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64: true
Access to C:\Users\joe.holdsworth\.espressif\tools\idf-python-wheels\idf4.3_py3.9_2021-01-07: true
Access to Virtual env Python Path (idf.pythonBinPath) true
Access to CMake in environment PATH undefined
Access to Ninja in environment PATH undefined
Access to ESP-IDF Tools Path (idf.toolsPath) true
----------------------------------------------------------- Executables Versions -----------------------------------------------------------
Git version 2.30.1.windows.1
ESP-IDF version 4.3
Python version 3.8.7
Python's pip version 20.3.3
-------------------------------------------------- Python packages in idf.pythonBinPath ----------------------------------------------------
bitstring version: 3.1.9
Brotli version: 1.0.9
certifi version: 2021.5.30
cffi version: 1.14.6
charset-normalizer version: 2.0.4
click version: 8.0.1
colorama version: 0.4.4
construct version: 2.10.54
contextlib2 version: 21.6.0
cryptography version: 3.4.8
ecdsa version: 0.17.0
esp-windows-curses version: 0.1
Flask version: 0.12.5
Flask-Compress version: 1.10.1
Flask-SocketIO version: 2.9.6
future version: 0.18.2
gcovr version: 5.0
gdbgui version: 0.13.2.0
gevent version: 1.5.0
greenlet version: 1.1.1
idf-component-manager version: 0.2.100b0
idna version: 3.2
itsdangerous version: 2.0.1
Jinja2 version: 3.0.1
kconfiglib version: 13.7.1
lxml version: 4.6.3
MarkupSafe version: 2.0.1
pip version: 20.3.3
psutil version: 5.8.0
pycparser version: 2.20
pyelftools version: 0.27
pygdbmi version: 0.9.0.2
Pygments version: 2.10.0
pyparsing version: 2.3.1
pyserial version: 3.5
python-engineio version: 3.14.2
python-socketio version: 4.6.1
pywin32 version: 301
PyYAML version: 5.4.1
reedsolo version: 1.5.4
requests version: 2.26.0
requests-toolbelt version: 0.9.1
schema version: 0.7.4
semantic-version version: 2.8.5
setuptools version: 58.0.0
six version: 1.16.0
tqdm version: 4.62.2
urllib3 version: 1.26.6
websocket-client version: 1.2.1
Werkzeug version: 0.16.1
wheel version: 0.36.2
windows-curses version: 2.2.0
xmlrunner version: 1.7.7
---------------------------------------------------- Check ESP-IDF python requirements.txt -------------------------------------------------
Check ESP-IDF Python packages Python requirements from C:\Users\joe.holdsworth\esp\esp-idf\requirements.txt are satisfied.
---------------------------------------------------- Check extension requirements.txt ------------------------------------------------------
Check Extension Python packages Python requirements from c:\Users\joe.holdsworth\.vscode\extensions\espressif.esp-idf-extension-1.1.1\requirements.txt are satisfied.
---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------
Check Debug AdapterPython packages Python requirements from c:\Users\joe.holdsworth\.vscode\extensions\espressif.esp-idf-extension-1.1.1\esp_debug_adapter\requirements.txt are satisfied.
---------------------------------------------------- Visual Studio Code launch.json --------------------------------------------------------
{
"version": "0.2.0",
"configurations": [
{
"type": "espidf",
"name": "Launch",
"request": "launch"
}
]
}
---------------------------------------------------- Visual Studio Code c_cpp_properties.json ----------------------------------------------
{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "C:\\Users\\joe.holdsworth\\.espressif\\tools\\xtensa-esp32-elf\\esp-2020r3-8.4.0\\xtensa-esp32-elf\\bin\\xtensa-esp32-elf-gcc.exe",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${config:idf.espIdfPath}/components/**",
"${config:idf.espIdfPathWin}/components/**",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false
}
}
],
"version": 4
}
--------------------------------------------------------------------------------------------------------------------------------------------