This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VSCode update NCS

Hello,

VSCode,  i change NCS1.9.1 to v1.9.99,

restart computer,but got error:

OUTPUT can not use compilerPath“D:\Program\v1.9.1\toolchain\opt\bin\arm-none-eabi-gcc.exe”

TERMINAL CMake Error: Generator: execution of make failed. Make command was: D:/Program/v1.9.1/toolchain/opt/bin/ninja.exe && 

 

  

  

Best regards

Parents
  • Hello, 

    The Toolchain Manager is not designed to run nRF Connect SDK v1.9.99-dev1 out of the box. You will need to install nRF Connect SDK manually in order for this to work.

    Kind regards,
    Øyvind

  • Hi,

    i've copy toolchain folder from v1.9.1.

    and config

    and now i've manually install.

    >set GNUARMEMB_TOOLCHAIN_PATH=C:\gnuarmemb\

    i don't know,why VSCode still need  find tool in v1.9.1 folder.

      

    Best regards

  • Hi,

    Generate Support Information:

    why toolchains still point 1.9.1 folder? where to change it?

      

    thanks

    Best regards

  • Please provide the output as a text file and not as screenshot.

    yoyou said:
    why toolchains still point 1.9.1 folder? where to change it?

    I am very confused. Are you trying to do git pull to the v1.9.99-dev1 folder that you initialized with west init? You are supposed to update within v1.9.1 folder if installed using Toolchain Manager. 


    If not, please manually install the nRF Connect SDK following manual steps.

  • Hi,

    Generate Support Information: text

    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.67.1",
        "electron": "17.4.1",
        "node": "v16.13.0"
      },
      "system": {
        "date": "2022-05-11T09:28:33.938Z",
        "vscodeRoot": "d:\\Program\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:33:42",
        "osUptime": "03:51:23",
        "cpu": {
          "model": "Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz",
          "speed": "2660 MHz",
          "count": 4
        },
        "memory": {
          "total": "7.99 GB",
          "free": "1.67 GB"
        }
      },
      "workspace": {
        "name": "nRF5_Work (Workspace)",
        "workspaceFile": "d:\\nRF5_Work\\nRF5_Work.code-workspace",
        "folders": [
          "d:\\nRF5_Work"
        ]
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2022.4.219",
            "path": "c:\\Users\\Administrator\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2022.4.219",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2022.4.61",
            "path": "c:\\Users\\Administrator\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2022.4.61",
            "isActive": true
          },
          "nordic-semiconductor.devicetree": null,
          "nordic-semiconductor.kconfig": null
        },
        "external": {
          "marus25.cortex-debug": "1.4.4",
          "ms-vscode.cpptools": "1.9.8",
          "ms-vscode-remote.remote-wsl-recommender": "0.0.15",
          "ms-vscode.js-debug": "1.67.2",
          "ms-vscode.js-debug-companion": "1.0.18",
          "ms-vscode.references-view": "0.0.89",
          "ms-vscode.vscode-js-profile-table": "1.0.1",
          "cschlosser.doxdocgen": "1.4.0",
          "endercat.one-dark-github": "0.0.1",
          "jeff-hykin.better-cpp-syntax": "1.15.13",
          "ms-vscode-remote.remote-containers": "0.234.0",
          "ms-vscode-remote.remote-ssh": "0.80.0",
          "ms-vscode-remote.remote-ssh-edit": "0.80.0",
          "ms-vscode-remote.remote-wsl": "0.66.2",
          "ms-vscode.cpptools-extension-pack": "1.2.0",
          "ms-vscode.cpptools-themes": "1.0.0",
          "trond-snekvik.gnu-mapfiles": "1.1.0"
        }
      },
      "tools": {
        "C:\\Program Files\\SEGGER\\JLink\\JLink.exe": "7.52d",
        "C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.15.0",
        "nrfutil": "Not found",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\cmake.exe": "3.20.5",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Scripts\\west.exe": "0.12.0",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\python.exe": "3.8.2",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\ninja.exe": "1.9.0",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\gperf.exe": "3.1",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\dtc.exe": "1.4.7",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\arm-none-eabi-gcc.exe": "9-2019-q4-major",
        "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\gn.exe": "1977",
        "d:\\Program\\v1.9.99\\toolchain\\mingw64\\bin\\git.exe": "2.26.2.windows.1"
      },
      "sdks": [],
      "toolchains": [
        {
          "version": "1.9.1",
          "path": "d:\\Program\\v1.9.1\\toolchain"
        }
      ],
      "connectedDevices": [
        {
          "serialNumber": "1050074424"
        }
      ],
      "deviceProviders": [
        "nrfjprog"
      ],
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "d:\\Program\\v1.9.99\\",
          "toolchain": {
            "path": "d:\\Program\\v1.9.99\\toolchain"
          },
          "ozonePath": "",
          "applications": [
            "${workspaceFolder}\\spi_loopback",
            "${workspaceFolder}\\i2c_api",
            "${workspaceFolder}\\spi_flash",
            "${workspaceFolder}\\display",
            "${workspaceFolder}\\system_off",
            "${workspaceFolder}\\cli",
            "${workspaceFolder}\\peripheral_uart",
            "${workspaceFolder}\\battery",
            "${workspaceFolder}\\adc",
            "${workspaceFolder}\\hello_world",
            "${workspaceFolder}\\hci_pwr_ctrl",
            "${workspaceFolder}\\peripheral_lbs",
            "${workspaceFolder}\\button",
            "${workspaceFolder}\\nvs",
            "${workspaceFolder}\\record_text",
            "${workspaceFolder}\\qspi",
            "${workspaceFolder}\\lpuart"
          ],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig"
          },
          "welcome": {
            "showOnStartup": false
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "enableTelemetry": true
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        },
        "nordic-semiconductor.devicetree": {
          "modules": [
            "${zephyrBase}",
            "${zephyrBase}/../nrf",
            "."
          ],
          "zephyr": "D:\\Program\\v1.9.99\\zephyr\\",
          "ctxFile": "",
          "defaultBoard": "nrf5340dk_nrf5340_cpuapp"
        },
        "nordic-semiconductor.kconfig": {
          "python": "D:\\Program\\v1.9.99\\toolchain\\opt\\bin\\python.exe"
        },
        "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,
          "showRTOS": false,
          "showDevDebugOutput": "none"
        }
      },
      "environment": {
        "westExe": "d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Scripts\\west.exe",
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\Administrator",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\Administrator",
          "Path": "d:\\Program\\v1.9.99\\toolchain\\mingw64\\bin;d:\\Program\\v1.9.99\\toolchain\\mingw64\\libexec\\git-core;d:\\Program\\v1.9.99\\toolchain\\opt\\bin;d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Scripts;C:\\Program Files\\Eclipse Foundation\\jdk-8.0.302.8-hotspot\\bin;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin\\;C:\\Program Files\\IVI Foundation\\VISA\\Win64\\Bin\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin;D:\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\CMake\\bin;C:\\Program Files\\Git\\cmd;D:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Scripts;D:\\Program\\v1.9.99\\toolchain\\opt\\bin;D:\\Program\\v1.9.99\\toolchain\\bin;D:\\Program\\v1.9.1\\toolchain\\opt\\bin\\Scripts;D:\\Program\\v1.9.1\\toolchain\\opt\\bin;D:\\Program\\v1.9.1\\toolchain\\bin;C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Administrator\\.dotnet\\tools;D:\\Program\\Microsoft VS Code\\bin;D:\\Program\\Python\\Scripts;D:\\Program\\Python;C:\\Users\\Administrator\\AppData\\Local\\GitHubDesktop\\bin;",
          "ZEPHYR_BASE": "d:\\Program\\v1.9.99\\zephyr",
          "GNUARMEMB_TOOLCHAIN_PATH": "d:\\Program\\v1.9.99\\toolchain\\opt",
          "ZEPHYR_TOOLCHAIN_VARIANT": "gnuarmemb",
          "PYTHONPATH": "d:\\Program\\v1.9.99\\toolchain\\opt\\bin;d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Lib;d:\\Program\\v1.9.99\\toolchain\\opt\\bin\\Lib\\site-packages",
          "Python3_ROOT": "d:\\Program\\v1.9.99\\toolchain\\opt\\bin"
        },
        "toolchainPath": "d:\\Program\\v1.9.99\\toolchain",
        "toolchainBinPath": "d:\\Program\\v1.9.99\\toolchain\\opt\\bin",
        "toolchainVersion": "1.9.99"
      },
      "terminal": {
        "shell": null,
        "defaultProfile": null
      }
    }
    
    

  • I'm not able to see anything out of the ordinary. Have you been able to solve this issue?

  • HI,

    thanks for reply.

    i try delete all build, redo add build.

    now it can delete v1.9.1 folder,

      

    Best regards

Reply Children
No Data
Related