VScode extension June 2023 Version is breaking my workspace

Hello,

Since 4 days ago, when the extensions were updated, my vscode workspace is not working properly.

I have a custom module with Kconfigs, drivres and boards in it situated at the root of my workspace (same folder as the nrf and zephyr folders).
With the April version of the extensions, it work fine but when I use the latest version, the extensions don't find my custom boards on the new config screen and I can't open the Kconfig GUI.

Here are some screens of the errors.

For the missing customs boards:

And for the Kconfig error:

To be clear, when I downgrade the extensions, it's working correctly.

Is it possible to check this issue ?

Kind regards,

Andrew

  • Hi Andrew,

    I have conveyed this internally to the team and will get back to you with a response soon.

    Best Regards,

    Priyanka

  • Hello,

    After restarting my computer it seems even the version of April is not working all the time for Kconfig (sometimes it work but not always).

    It was working fine last week.

    Regards,

    Andrew

  • HI Andrew,

    Could you attach the Support Information? You can find it by clicking on the "Generate Support Information" option.

    -Priyanka

  • Hello,

    Here is the Support Information.

    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 Home",
        "osKernel": "10.0.22621",
        "vscode": "1.79.2",
        "electron": "22.5.7",
        "node": "v16.17.1"
      },
      "system": {
        "date": "2023-07-05T08:28:39.454Z",
        "vscodeRoot": "c:\\Users\\atome\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:00:26",
        "osUptime": "481:20:11",
        "cpu": {
          "model": "AMD Ryzen 9 5900HX with Radeon Graphics",
          "speed": "3294 MHz",
          "count": 8
        },
        "memory": {
          "total": "15.41 GB",
          "free": "4.19 GB"
        }
      },
      "workspace": {
        "name": "safehear_workspace (Espace de travail)",
        "workspaceFile": "c:\\Users\\atome\\Documents\\safehear\\safehear_workspace\\safehear\\safehear_workspace.code-workspace",
        "folders": [
          "c:\\Users\\atome\\Documents\\safehear\\safehear_workspace"
        ]
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2023.6.345",
            "path": "c:\\Users\\atome\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.6.345-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2023.6.78",
            "path": "c:\\Users\\atome\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2023.6.78",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2023.6.108",
            "path": "c:\\Users\\atome\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2023.6.108",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2023.6.51",
            "path": "c:\\Users\\atome\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2023.6.51",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.16.3",
          "ms-vscode-remote.remote-wsl-recommender": "0.0.19",
          "ms-vscode.js-debug": "1.78.0",
          "ms-vscode.js-debug-companion": "1.0.18",
          "ms-vscode.vscode-js-profile-table": "1.0.3",
          "eamodio.gitlens": "14.0.1",
          "foxundermoon.shell-format": "7.2.5",
          "GitHub.copilot": "1.95.233",
          "jeff-hykin.better-cpp-syntax": "1.17.2",
          "josetr.cmake-language-support-vscode": "0.0.9",
          "mcu-debug.debug-tracker-vscode": "0.0.15",
          "mcu-debug.memory-view": "0.0.22",
          "mcu-debug.peripheral-viewer": "1.4.6",
          "mcu-debug.rtos-views": "0.0.7",
          "monokai.theme-monokai-pro-vscode": "1.2.1",
          "MS-CEINTL.vscode-language-pack-fr": "1.79.2023061409",
          "ms-dotnettools.vscode-dotnet-runtime": "1.6.0",
          "ms-vscode.cpptools-extension-pack": "1.3.0",
          "ms-vscode.cpptools-themes": "2.0.0",
          "ms-vscode.hexeditor": "1.9.11",
          "ms-vsliveshare.vsliveshare": "1.0.5873",
          "PKief.material-icon-theme": "4.28.0",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "twxs.cmake": "0.0.17",
          "WakaTime.vscode-wakatime": "24.2.0",
          "yzhang.markdown-all-in-one": "3.5.1"
        }
      },
      "tools": {
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.16.0",
        "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe": "7.80c",
        "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.22.0",
        "nrfutil": "Not found",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\cmake.exe": "3.20.5",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Scripts\\west.exe": "1.0.0",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\python.exe": "3.8.2",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\ninja.exe": "1.9.0",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gperf.exe": "3.1",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\dtc.exe": "1.4.7",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gn.exe": "2105",
        "C:\\ncs\\toolchains\\31f4403e35\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
        "gdbPath": "c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe"
      },
      "sdks": [
        {
          "version": "2.3.0",
          "path": "c:\\ncs\\v2.3.0"
        },
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\v2.4.0"
        },
        {
          "version": "2.4.0",
          "path": "c:\\Users\\atome\\Documents\\safehear\\safehear_workspace"
        }
      ],
      "toolchains": [
        {
          "version": "2.3.0",
          "path": "c:\\ncs\\toolchains\\v2.3.0"
        },
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\toolchains\\31f4403e35"
        }
      ],
      "connectedDevices": [
        {
          "serialNumber": "851005731"
        }
      ],
      "deviceProvider": "nrfjprog",
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "${workspaceFolder}",
          "toolchain": {
            "path": "${nrf-connect.toolchain:2.4.0}"
          },
          "ozonePath": "C:\\Program Files\\SEGGER\\Ozone\\Ozone.exe",
          "applications": [
            "${workspaceFolder}\\applications\\Louis",
            "${workspaceFolder}\\applications\\versailles",
            "${workspaceFolder}\\applications\\utils\\radio_test",
            "${workspaceFolder}\\applications\\utils\\802154_phy_test",
            "${workspaceFolder}\\applications\\utils\\rtu_server",
            "${workspaceFolder}\\applications\\utils\\audio_notif"
          ],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig",
            "executeInDefaultShell": true
          },
          "welcome": {
            "showOnStartup": false
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [
            "${workspaceFolder}/safehear"
          ],
          "taskBindings": {},
          "debugging": {
            "flash": true,
            "bindings": {}
          },
          "activeAppFollowActiveEditor": true,
          "deviceProvider": "nrfjprog",
          "enableTelemetry": true
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        }
      },
      "environment": {
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\atome",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\atome",
          "PATH": "C:\\ncs\\toolchains\\31f4403e35;C:\\ncs\\toolchains\\31f4403e35\\mingw64\\bin;C:\\ncs\\toolchains\\31f4403e35\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Scripts;C:\\ncs\\toolchains\\31f4403e35\\opt\\nanopb\\generator-bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\aarch64-zephyr-elf\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\x86_64-zephyr-elf\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;c:\\Users\\atome\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.6.345-win32-x64\\platform\\nrfutil\\lib\\nrfutil-toolchain-manager;C:\\Program Files\\Renode\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files\\SEGGER\\JLink\\;C:\\Program Files (x86)\\GnuWin32\\bin\\;C:\\Program Files\\Cppcheck\\;C:\\Program Files\\Git\\usr\\bin\\;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\Program Files\\Go\\bin;C:\\arm\\openOCD\\bin;C:\\Program Files\\MATLAB\\R2022b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2022b\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\ncs\\toolchains\\31f4403e35\\opt;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\Users\\atome\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\atome\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\atome\\AppData\\Local\\gitkraken\\bin;C:\\Users\\atome\\spicetify-cli;C:\\Program Files\\SEGGER\\JLink\\;C:\\Program Files (x86)\\GnuWin32\\bin\\;C:\\Program Files\\Cppcheck\\;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\Users\\atome\\go\\bin;C:\\Users\\atome\\AppData\\Local\\Microsoft\\WindowsApps;",
          "ZEPHYR_BASE": "c:\\Users\\atome\\Documents\\safehear\\safehear_workspace\\zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk",
          "PYTHONPATH": "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Lib;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Lib\\site-packages"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\atome",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\atome",
          "Path": "C:\\Program Files\\Renode\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files\\SEGGER\\JLink\\;C:\\Program Files (x86)\\GnuWin32\\bin\\;C:\\Program Files\\Cppcheck\\;C:\\Program Files\\Git\\usr\\bin\\;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\Program Files\\Go\\bin;C:\\arm\\openOCD\\bin;C:\\Program Files\\MATLAB\\R2022b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2022b\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\ncs\\toolchains\\31f4403e35\\opt;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\Users\\atome\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\atome\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\atome\\AppData\\Local\\gitkraken\\bin;C:\\Users\\atome\\spicetify-cli;C:\\Program Files\\SEGGER\\JLink\\;C:\\Program Files (x86)\\GnuWin32\\bin\\;C:\\Program Files\\Cppcheck\\;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\Users\\atome\\go\\bin;C:\\Users\\atome\\AppData\\Local\\Microsoft\\WindowsApps;",
          "PATH": "C:\\Program Files\\Renode\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PuTTY\\;C:\\Program Files\\SEGGER\\JLink\\;C:\\Program Files (x86)\\GnuWin32\\bin\\;C:\\Program Files\\Cppcheck\\;C:\\Program Files\\Git\\usr\\bin\\;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\Program Files\\Go\\bin;C:\\arm\\openOCD\\bin;C:\\Program Files\\MATLAB\\R2022b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2022b\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\ncs\\toolchains\\31f4403e35\\opt;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\Users\\atome\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\atome\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\atome\\AppData\\Local\\gitkraken\\bin;C:\\Users\\atome\\spicetify-cli;C:\\Program Files\\SEGGER\\JLink\\;C:\\Program Files (x86)\\GnuWin32\\bin\\;C:\\Program Files\\Cppcheck\\;C:\\Users\\atome\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\Users\\atome\\go\\bin;C:\\Users\\atome\\AppData\\Local\\Microsoft\\WindowsApps;"
        },
        "toolchainPath": "c:\\ncs\\toolchains\\31f4403e35",
        "toolchainBinPath": "c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin",
        "toolchainVersion": "2.4.0"
      },
      "terminal": {
        "shell": null,
        "defaultProfile": null
      }
    }
    
    

    Andrew

  • If the boards cannot be found automatically, then as a quick fix, the extension must follow the configuration: https://nrfconnect.github.io/vscode-nrf-connect/reference/settings.html#nrf-connectboardroots 

    -Priyanka

Related