Visual Studio Code not recognizing gnuarmemb folder

Good morning/afternoon/evening to whoever is reading this.

I am fairly new to working with nRF tools, this is in fact my first time working with this. I have a linux virtual machine that is running Ubuntu 20.04, I have been following the manual installation guide for setting up the nRF Connect SDK and also nRF Toolchain. For some reason when I run visual studio code and I use the nRF Connect extension for some reason it is unable to recognize the gnuarmemb folder. I have tried many times to search for this online, but have come to no solution. 

If anyone knows a way to fix this issue please let me know.

Thank you for your time.

Parents Reply Children
  • I'm using Ubuntu 20.04. I already added this to PATH but still got problems.
    I'm not able to find out where is the problem.

    {
      "platform": {
        "os": "linux",
        "osVersion": "#33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022",
        "osKernel": "5.13.0-30-generic",
        "vscode": "1.65.0",
        "electron": "13.5.2",
        "node": "v14.16.0"
      },
      "system": {
        "date": "2022-03-04T04:19:40.012Z",
        "vscodeRoot": "/usr/share/code/resources/app",
        "nrfConnectForDesktopInstalled": "unknown",
        "vscodeUptime": "00:05:09",
        "osUptime": "01:19:38",
        "cpu": {
          "model": "Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz",
          "speed": "2693 MHz",
          "count": 2
        },
        "memory": {
          "total": "15.54 GB",
          "free": "7.90 GB"
        }
      },
      "workspace": {
        "name": "ncs",
        "workspaceFile": null,
        "folders": [
          "/home/caetanowagner/ncs"
        ]
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2022.1.192",
            "path": "/home/caetanowagner/.vscode/extensions/nordic-semiconductor.nrf-connect-2022.1.192",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2022.1.30",
            "path": "/home/caetanowagner/.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.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",
          "cschlosser.doxdocgen": "1.4.0",
          "Dart-Code.dart-code": "3.36.0",
          "Dart-Code.flutter": "3.36.0",
          "espressif.esp-idf-extension": "1.4.0",
          "jeff-hykin.better-cpp-syntax": "1.15.13",
          "ms-vscode-remote.remote-containers": "0.224.2",
          "ms-vscode-remote.remote-ssh": "0.76.1",
          "ms-vscode-remote.remote-ssh-edit": "0.76.1",
          "ms-vscode-remote.remote-wsl": "0.64.2",
          "ms-vscode.cmake-tools": "1.9.2",
          "ms-vscode.cpptools-extension-pack": "1.1.0",
          "ms-vscode.cpptools-themes": "1.0.0",
          "redhat.java": "1.4.0",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "twxs.cmake": "0.0.17",
          "VisualStudioExptTeam.vscodeintellicode": "1.2.17",
          "vscjava.vscode-java-debug": "0.38.0",
          "vscjava.vscode-java-dependency": "0.19.0",
          "vscjava.vscode-java-pack": "0.21.0",
          "vscjava.vscode-java-test": "0.34.1",
          "vscjava.vscode-maven": "0.35.1"
        }
      },
      "tools": {
        "/opt/SEGGER/JLink/JLinkExe": "7.60h",
        "/usr/local/bin/nrfjprog": "10.15.2",
        "/home/caetanowagner/.local/bin/cmake": "3.22.2",
        "/home/caetanowagner/.local/bin/west": "0.12.0",
        "/usr/bin/python3": "3.8.10",
        "/usr/bin/ninja": "1.10.0",
        "/usr/bin/gperf": "3.1",
        "/usr/bin/dtc": "1.5.0",
        "/home/caetanowagner/gnuarmemb/bin/arm-none-eabi-gcc": "9-2019-q4-major",
        "/home/caetanowagner/gn/gn": "1977",
        "/usr/bin/git": "2.25.1"
      },
      "connectedDevices": [
        {
          "id": "682870815"
        }
      ],
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "${workspaceFolder}",
          "toolchain": {
            "path": "PATH"
          },
          "ozonePath": "",
          "applications": [
            "/home/caetanowagner/Nordic/workspace/periodic_adv"
          ],
          "jlink": {
            "rtosPlugin": ""
          },
          "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": "",
          "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": "west",
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "/home/caetanowagner",
          "PATH": "/home/caetanowagner/gn:/home/caetanowagner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/gnuarmemb/bin:/home/caetanowagner/gnuarmemb/bin",
          "ZEPHYR_BASE": "/home/caetanowagner/ncs/zephyr",
          "GNUARMEMB_TOOLCHAIN_PATH": "/home/gnuarmemb",
          "ZEPHYR_TOOLCHAIN_VARIANT": "gnuarmemb",
          "USER": "caetanowagner"
        },
        "toolchainPath": "PATH"
      },
      "terminal": {
        "shell": null,
        "defaultProfile": null
      }
    }
    
    

Related