Hello, I tried to using the nRF Connect SDK with VS Code, however when it seems there are some problem while I trying the build. I have read the similar post and trying to figure out what is the problem. I found it cannot find the tools and the "PATH" problem from "Generate Support Information". I have tried to reinstall everything but never fix.
[02:07:45] west build --build-dir e:\nRF_Connect_Projects\hello_world\build_1 e:\nRF_Connect_Projects\hello_world --pristine --board nrf52840dk_nrf52840 -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" [02:07:45] Failure (code 1). IMPORTANT: The data below could contain sensitive or confidential information about your environment. If you do not wish this to be seen by others, please make sure to remove it before sharing. For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/. { "platform": { "os": "win32", "osVersion": "Windows 10 Pro", "osKernel": "10.0.22000", "vscode": "1.65.0", "electron": "13.5.2", "node": "v14.16.0" }, "system": { "date": "2022-03-05T18:10:25.721Z", "vscodeRoot": "c:\\Users\\an811\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app", "nrfConnectForDesktopInstalled": true, "vscodeUptime": "00:02:48", "osUptime": "09:51:02", "cpu": { "model": "AMD Ryzen 5 3600X 6-Core Processor", "speed": "4250 MHz", "count": 6 }, "memory": { "total": "31.93 GB", "free": "22.27 GB" } }, "workspace": { "name": "未命名 (工作區)", "workspaceFile": "1646333481708", "folders": [ "e:\\nRF_Connect_Projects\\hello_world" ] }, "extensions": { "internal": { "nordic-semiconductor.nrf-connect": { "version": "2022.1.192", "path": "c:\\Users\\an811\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2022.1.192", "isActive": true }, "nordic-semiconductor.nrf-terminal": { "version": "2022.1.30", "path": "c:\\Users\\an811\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.1.30", "isActive": true }, "nordic-semiconductor.devicetree": null, "nordic-semiconductor.kconfig": null }, "external": { "marus25.cortex-debug": "1.2.2", "ms-vscode.cpptools": "1.8.4", "ms-vscode-remote.remote-wsl-recommender": "0.0.14", "ms-vscode.js-debug": "1.65.0", "ms-vscode.js-debug-companion": "1.0.15", "ms-vscode.references-view": "0.0.85", "ms-vscode.vscode-js-profile-table": "0.0.18", "MS-CEINTL.vscode-language-pack-zh-hant": "1.65.1", "ms-vscode.cmake-tools": "1.9.2", "trond-snekvik.gnu-mapfiles": "1.1.0", "twxs.cmake": "0.0.17" } }, "tools": { "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe": "7.58b", "nrfjprog": "Not found", "cmake": "Not found", "west": "Not found", "python": "Not found", "ninja": "Not found", "gperf": "Not found", "dtc": "Not found", "gnuarmemb": "Not found", "gn": "Not found", "git": "Not found" }, "connectedDevices": [], "config": { "nordic-semiconductor.nrf-connect": { "topdir": "${nrf-connect.sdk:1.9.1}", "toolchain": { "path": "${nrf-connect.toolchain:1.9.1}" }, "ozonePath": "", "applications": [ "${workspaceFolder}" ], "jlink": { "rtosPlugin": "" }, "kconfig": { "interface": "kconfig" }, "welcome": { "showOnStartup": false }, "west": { "env": { "$base": "terminal" } }, "boardRoots": [], "enableTelemetry": false }, "nordic-semiconductor.nrf-terminal": { "terminalMode": "character" }, "nordic-semiconductor.devicetree": { "modules": [ "${zephyrBase}", "${zephyrBase}/../nrf", "." ], "zephyr": "", "ctxFile": "", "defaultBoard": "" }, "nordic-semiconductor.kconfig": { "root": "", "env": {}, "cfiles": true, "disable": false, "zephyr": { "base": "" }, "python": "", "liveValue": true }, "marus25.cortex-debug": { "armToolchainPath": null, "armToolchainPrefix": "arm-none-eabi", "gdbPath": null, "objdumpPath": null, "JLinkGDBServerPath": null, "openocdPath": null, "pyocdPath": null, "PEGDBServerPath": null, "stutilPath": null, "stlinkPath": null, "stm32cubeprogrammer": null, "enableTelemetry": true, "flattenAnonymous": false, "registerUseNaturalFormat": true, "variableUseNaturalFormat": true, "dbgServerLogfile": null, "showDevDebugOutput": "none" } }, "environment": { "westExe": "c:\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Scripts\\west.exe", "westEnv": { "ELECTRON_RUN_AS_NODE": "1", "HOME": "C:\\SPB_Data", "HOMEDRIVE": "C:", "HOMEPATH": "\\Users\\an811", "Path": "c:\\ncs\\v1.9.1\\toolchain\\mingw64\\bin;c:\\ncs\\v1.9.1\\toolchain\\mingw64\\libexec\\git-core;c:\\ncs\\v1.9.1\\toolchain\\opt\\bin;c:\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Scripts;undefined", "PATH": "C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\IVI Foundation\\IVI\\bin;C:\\Program Files\\IVI Foundation\\IVI\\bin;C:\\Program Files\\PuTTY\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\nodejs\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\120\\DTS\\Binn\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files (x86)\\Pulse Secure\\VC142.CRT\\X64\\;C:\\Program Files (x86)\\Pulse Secure\\VC142.CRT\\X86\\;C:\\Program Files\\MATLAB\\R2021b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2021b\\bin;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\Git\\cmd;C:\\Python310\\Scripts\\;C:\\Python310\\;C:\\Program Files (x86)\\GNU Tools ARM Embedded\\5.4 2016q3\\bin;C:\\Users\\an811\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\an811\\AppData\\Roaming\\npm;C:\\Users\\an811\\AppData\\Local\\Programs\\Microsoft VS Code\\bin", "ZEPHYR_BASE": "c:\\ncs\\v1.9.1\\zephyr", "GNUARMEMB_TOOLCHAIN_PATH": "c:\\ncs\\v1.9.1\\toolchain\\opt", "ZEPHYR_TOOLCHAIN_VARIANT": "gnuarmemb", "PYTHONPATH": "c:\\ncs\\v1.9.1\\toolchain\\opt\\bin;c:\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Lib;c:\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Lib\\site-packages", "Python3_ROOT": "c:\\ncs\\v1.9.1\\toolchain\\opt\\bin" }, "toolchainPath": "c:\\ncs\\v1.9.1\\toolchain", "toolchainBinPath": "c:\\ncs\\v1.9.1\\toolchain\\opt\\bin", "toolchainVersion": "1.9.1" }, "terminal": { "shell": null, "defaultProfile": null } } [02:23:00] west build --build-dir e:\nRF_Connect_Projects\hello_world\build_2 e:\nRF_Connect_Projects\hello_world --pristine --board nrf52840dk_nrf52840 -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" [02:23:01] Failure (code 1). IMPORTANT: The data below could contain sensitive or confidential information about your environment. If you do not wish this to be seen by others, please make sure to remove it before sharing. For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/. { "platform": { "os": "win32", "osVersion": "Windows 10 Pro", "osKernel": "10.0.22000", "vscode": "1.65.0", "electron": "13.5.2", "node": "v14.16.0" }, "system": { "date": "2022-03-05T18:26:50.016Z", "vscodeRoot": "c:\\Users\\an811\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app", "nrfConnectForDesktopInstalled": true, "vscodeUptime": "00:19:12", "osUptime": "10:07:26", "cpu": { "model": "AMD Ryzen 5 3600X 6-Core Processor", "speed": "4250 MHz", "count": 6 }, "memory": { "total": "31.93 GB", "free": "21.40 GB" } }, "workspace": { "name": "未命名 (工作區)", "workspaceFile": "1646333481708", "folders": [ "e:\\nRF_Connect_Projects\\hello_world" ] }, "extensions": { "internal": { "nordic-semiconductor.nrf-connect": { "version": "2022.1.192", "path": "c:\\Users\\an811\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2022.1.192", "isActive": true }, "nordic-semiconductor.nrf-terminal": { "version": "2022.1.30", "path": "c:\\Users\\an811\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.1.30", "isActive": true }, "nordic-semiconductor.devicetree": null, "nordic-semiconductor.kconfig": null }, "external": { "marus25.cortex-debug": "1.2.2", "ms-vscode.cpptools": "1.8.4", "ms-vscode-remote.remote-wsl-recommender": "0.0.14", "ms-vscode.js-debug": "1.65.0", "ms-vscode.js-debug-companion": "1.0.15", "ms-vscode.references-view": "0.0.85", "ms-vscode.vscode-js-profile-table": "0.0.18", "MS-CEINTL.vscode-language-pack-zh-hant": "1.65.1", "ms-vscode.cmake-tools": "1.9.2", "trond-snekvik.gnu-mapfiles": "1.1.0", "twxs.cmake": "0.0.17" } }, "tools": { "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe": "7.58b", "nrfjprog": "Not found", "cmake": "Not found", "west": "Not found", "python": "Not found", "ninja": "Not found", "gperf": "Not found", "dtc": "Not found", "gnuarmemb": "Not found", "gn": "Not found", "git": "Not found" }, "connectedDevices": [], "config": { "nordic-semiconductor.nrf-connect": { "topdir": "${nrf-connect.sdk:1.9.1}", "toolchain": { "path": "${nrf-connect.toolchain:1.9.1}" }, "ozonePath": "", "applications": [ "${workspaceFolder}" ], "jlink": { "rtosPlugin": "" }, "kconfig": { "interface": "kconfig" }, "welcome": { "showOnStartup": false }, "west": { "env": { "$base": "terminal" } }, "boardRoots": [], "enableTelemetry": false }, "nordic-semiconductor.nrf-terminal": { "terminalMode": "character" }, "nordic-semiconductor.devicetree": { "modules": [ "${zephyrBase}", "${zephyrBase}/../nrf", "." ], "zephyr": "", "ctxFile": "", "defaultBoard": "" }, "nordic-semiconductor.kconfig": { "root": "", "env": {}, "cfiles": true, "disable": false, "zephyr": { "base": "" }, "python": "", "liveValue": true }, "marus25.cortex-debug": { "armToolchainPath": null, "armToolchainPrefix": "arm-none-eabi", "gdbPath": null, "objdumpPath": null, "JLinkGDBServerPath": null, "openocdPath": null, "pyocdPath": null, "PEGDBServerPath": null, "stutilPath": null, "stlinkPath": null, "stm32cubeprogrammer": null, "enableTelemetry": true, "flattenAnonymous": false, "registerUseNaturalFormat": true, "variableUseNaturalFormat": true, "dbgServerLogfile": null, "showDevDebugOutput": "none" } }, "environment": { "westExe": "c:\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Scripts\\west.exe", "westEnv": { "ELECTRON_RUN_AS_NODE": "1", "HOME": "C:\\SPB_Data", "HOMEDRIVE": "C:", "HOMEPATH": "\\Users\\an811", "Path": "c:\\ncs\\v1.9.1\\toolchain\\mingw64\\bin;c:\\ncs\\v1.9.1\\toolchain\\mingw64\\libexec\\git-core;c:\\ncs\\v1.9.1\\toolchain\\opt\\bin;c:\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Scripts;undefined", "PATH": "C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\IVI Foundation\\IVI\\bin;C:\\Program Files\\IVI Foundation\\IVI\\bin;C:\\Program Files\\PuTTY\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\nodejs\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\120\\DTS\\Binn\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files (x86)\\Pulse Secure\\VC142.CRT\\X64\\;C:\\Program Files (x86)\\Pulse Secure\\VC142.CRT\\X86\\;C:\\Program Files\\MATLAB\\R2021b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2021b\\bin;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\Git\\cmd;C:\\Python310\\Scripts\\;C:\\Python310\\;C:\\Program Files (x86)\\GNU Tools ARM Embedded\\5.4 2016q3\\bin;C:\\Users\\an811\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\an811\\AppData\\Roaming\\npm;C:\\Users\\an811\\AppData\\Local\\Programs\\Microsoft VS Code\\bin", "ZEPHYR_BASE": "c:\\ncs\\v1.9.1\\zephyr", "GNUARMEMB_TOOLCHAIN_PATH": "c:\\ncs\\v1.9.1\\toolchain\\opt", "ZEPHYR_TOOLCHAIN_VARIANT": "gnuarmemb", "PYTHONPATH": "c:\\ncs\\v1.9.1\\toolchain\\opt\\bin;c:\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Lib;c:\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Lib\\site-packages", "Python3_ROOT": "c:\\ncs\\v1.9.1\\toolchain\\opt\\bin" }, "toolchainPath": "c:\\ncs\\v1.9.1\\toolchain", "toolchainBinPath": "c:\\ncs\\v1.9.1\\toolchain\\opt\\bin", "toolchainVersion": "1.9.1" }, "terminal": { "shell": null, "defaultProfile": null } }