nRF Connect SDK Fundamentals Course_ I systematically get stuck in building fund_less3_exer2

Hi All.

Regarding this exercise, are we sure there is no bug in the https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/ documentation? 

After installing the nRF Command Line Tools, the VSC, the nRF Connect for VS Code Extension Pack, the 2.6.1 Toolchain and the 2.6.1 SDK

1.- Using the Terminal from VSC, I put the empty directory fund_less3_exer2 in c:/nordic/myapps/fund_less3_exer2.

2.- I open this directory with the nRF Connect SDK Explorer.

3.- I follow the 2-4 documentation procedures.

4.- I select the Open an Existing Application from the nRF Connect Welcome view.

5.- I select Add a Build Configuration.

6 .- I press Build ....

And that´s it.

(I also tried several times to re-install both the Commands Line and VSC apps, and any related data in c:/nordic/myapps and c:/ncs with no results. I am using a Windows 10 and had no problems with the previous exercises)

Any suggestions?

Thanks

Juan

Juan

  • Can you please check the CMakelist/prj.conf file in causing any errors, In the extension options check whether you have CMake of twxs 

  • Hi Juan,

    Could you attach the support information?

    Ctrl+Shift+P -> Generate Support Information

    -Priyanka

  • I typped (Ctrl+Shift+P) in VSC but couldn´t find "Generate Support Information"  

  • Hi Priyanka.

    "Generate Support Information". Is this the info you were asking me for?:

    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 devzone.nordicsemi.com/.

    {
    "platform": {
    "os": "win32",
    "osVersion": "Windows 10 Home",
    "osKernel": "10.0.19045",
    "vscode": "1.94.2",
    "electron": "30.5.1",
    "node": "v20.16.0"
    },
    "system": {
    "date": "2024-10-22T12:12:45.042Z",
    "vscodeRoot": "c:\\Users\\jtorr\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "00:47:22",
    "osUptime": "25:32:16",
    "cpu": "Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz"
    },
    "workspace": {
    "name": "fund_less3_exer2",
    "workspaceFile": null,
    "folders": [
    "c:\\nordic\\myapps\\fund_less3_exer2"
    ]
    },
    "sdks": [
    {
    "version": "v2.6.1",
    "path": "c:\\ncs\\v2.6.1"
    }
    ],
    "apps": [
    {
    "workspace": "c:\\nordic\\myapps\\fund_less3_exer2",
    "uri": "c:\\nordic\\myapps\\fund_less3_exer2",
    "buildConfigurations": []
    }
    ],
    "topdir": "c:\\ncs\\v2.6.1",
    "workspaceState": "freestanding-ready",
    "toolchains": [
    {
    "version": "2.6.1",
    "path": "c:\\ncs\\toolchains\\cf2149caf2"
    }
    ],
    "activeToolchain": {
    "type": "installation",
    "path": "c:\\ncs\\toolchains\\cf2149caf2",
    "version": "2.6.1",
    "displayName": "nRF Connect SDK Toolchain v2.6.1"
    },
    "connectedDevices": [
    {
    "serialNumber": "001050208406",
    "boardVersion": "PCA10056",
    "deviceFamily": "NRF52_FAMILY",
    "deviceVersion": "NRF52840_xxAA_REV3",
    "jlinkObFirmwareVersion": "J-Link OB-nRF5340-NordicSemi compiled Sep 18 2024 15:46:12",
    "protectionStatus": "NRFDL_PROTECTION_STATUS_NONE"
    }
    ],
    "deviceProvider": "nrfutil",
    "tools": {
    "C:\\ncs\\toolchains\\cf2149caf2\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.16.5",
    "C:\\Program Files\\SEGGER\\JLink_V810\\JLink.exe": "8.10",
    "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.24.2",
    "c:\\python27\\scripts\\nrfutil.exe": null,
    "C:\\ncs\\toolchains\\cf2149caf2\\cmake": "3.21.0",
    "C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\Scripts\\west.exe": "1.2.0",
    "C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\python.exe": "3.9.13",
    "C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\ninja.exe": "1.10.2",
    "C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\gperf.exe": "3.1",
    "C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\dtc.exe": "1.4.7",
    "C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\gn.exe": "2154",
    "C:\\ncs\\toolchains\\cf2149caf2\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
    "arm-gdbPath": "c:\\ncs\\toolchains\\cf2149caf2\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
    "riscv-gdbPath": "C:\\ncs\\toolchains\\cf2149caf2\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin\\riscv64-zephyr-elf-gdb.exe"
    },
    "nrfutil": {
    "nrfutil-device": {
    "version": "2.5.0",
    "binPath": "c:\\Users\\jtorr\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.9.87-win32-x64\\platform\\nrfutil\\bin\\nrfutil-device"
    },
    "nrfutil-toolchain-manager": {
    "version": "0.14.4",
    "binPath": "c:\\Users\\jtorr\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.9.87-win32-x64\\platform\\nrfutil\\bin\\nrfutil-toolchain-manager"
    }
    },
    "environment": {
    "westEnv": {
    "HOME": "C:\\Users\\jtorr",
    "HOMEDRIVE": "C:",
    "HOMEPATH": "\\Users\\jtorr",
    "PATH": "C:\\ncs\\toolchains\\cf2149caf2;C:\\ncs\\toolchains\\cf2149caf2\\mingw64\\bin;C:\\ncs\\toolchains\\cf2149caf2\\bin;C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin;C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\Scripts;C:\\ncs\\toolchains\\cf2149caf2\\opt\\nanopb\\generator-bin;C:\\ncs\\toolchains\\cf2149caf2\\opt\\zephyr-sdk\\aarch64-zephyr-elf\\bin;C:\\ncs\\toolchains\\cf2149caf2\\opt\\zephyr-sdk\\x86_64-zephyr-elf\\bin;C:\\ncs\\toolchains\\cf2149caf2\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;C:\\ncs\\toolchains\\cf2149caf2\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin;c:\\Users\\jtorr\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.9.87-win32-x64\\platform\\nrfutil\\lib\\nrfutil-toolchain-manager;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path;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;c:\\windows;c:\\windows\\system32\\wbem;c:\\windows\\system32\\windowspowershell\\v1.0\\;c:\\python27;c:\\python27\\scripts;c:\\programdata\\oracle\\java\\javapath;c:\\program files (x86)\\nvidia corporation\\physx\\common;c:\\windows\\system32\\openssh\\;c:\\program files\\intel\\wifi\\bin\\;c:\\program files\\common files\\intel\\wirelesscommon\\;c:\\program files\\nvidia corporation\\nvidia nvdlisr;C:\\WINDOWS\\system32\\openssh\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Microchip\\xc8\\v2.32\\bin;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Common Files\\Acronis\\SnapAPI\\;C:\\Program Files (x86)\\Common Files\\Acronis\\VirtualFile\\;C:\\Program Files (x86)\\Common Files\\Acronis\\VirtualFile64\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\jtorr\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Program Files (x86)\\GNU Tools ARM Embedded\\6 2017-q2-update\\bin;C:\\Users\\jtorr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\MinGW\\bin;C:\\Users\\jtorr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
    "ZEPHYR_BASE": "c:\\ncs\\v2.6.1\\zephyr",
    "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
    "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\cf2149caf2\\opt\\zephyr-sdk",
    "PYTHONPATH": "C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin;C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\Lib;C:\\ncs\\toolchains\\cf2149caf2\\opt\\bin\\Lib\\site-packages"
    },
    "inherited": {
    "HOME": "C:\\Users\\jtorr",
    "HOMEDRIVE": "C:",
    "HOMEPATH": "\\Users\\jtorr",
    "Path": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path;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;c:\\windows;c:\\windows\\system32\\wbem;c:\\windows\\system32\\windowspowershell\\v1.0\\;c:\\python27;c:\\python27\\scripts;c:\\programdata\\oracle\\java\\javapath;c:\\program files (x86)\\nvidia corporation\\physx\\common;c:\\windows\\system32\\openssh\\;c:\\program files\\intel\\wifi\\bin\\;c:\\program files\\common files\\intel\\wirelesscommon\\;c:\\program files\\nvidia corporation\\nvidia nvdlisr;C:\\WINDOWS\\system32\\openssh\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Microchip\\xc8\\v2.32\\bin;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Common Files\\Acronis\\SnapAPI\\;C:\\Program Files (x86)\\Common Files\\Acronis\\VirtualFile\\;C:\\Program Files (x86)\\Common Files\\Acronis\\VirtualFile64\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\jtorr\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Program Files (x86)\\GNU Tools ARM Embedded\\6 2017-q2-update\\bin;C:\\Users\\jtorr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\MinGW\\bin;C:\\Users\\jtorr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
    "PATH": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path;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;c:\\windows;c:\\windows\\system32\\wbem;c:\\windows\\system32\\windowspowershell\\v1.0\\;c:\\python27;c:\\python27\\scripts;c:\\programdata\\oracle\\java\\javapath;c:\\program files (x86)\\nvidia corporation\\physx\\common;c:\\windows\\system32\\openssh\\;c:\\program files\\intel\\wifi\\bin\\;c:\\program files\\common files\\intel\\wirelesscommon\\;c:\\program files\\nvidia corporation\\nvidia nvdlisr;C:\\WINDOWS\\system32\\openssh\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Microchip\\xc8\\v2.32\\bin;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Common Files\\Acronis\\SnapAPI\\;C:\\Program Files (x86)\\Common Files\\Acronis\\VirtualFile\\;C:\\Program Files (x86)\\Common Files\\Acronis\\VirtualFile64\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\jtorr\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Program Files (x86)\\GNU Tools ARM Embedded\\6 2017-q2-update\\bin;C:\\Users\\jtorr\\AppData\\Local\\Microsoft\\WindowsApps;C:\\MinGW\\bin;C:\\Users\\jtorr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin"
    }
    },
    "terminal": {
    "defaultProfile": null
    },
    "config": {
    "nordic-semiconductor.nrf-connect": {
    "topdir": "${nrf-connect.sdk:2.6.1}",
    "toolchain": {
    "path": ""
    },
    "ozonePath": "",
    "applications": [
    "${workspaceFolder}"
    ],
    "applicationOptions": {},
    "kconfig": {
    "interface": "kconfig"
    },
    "west": {
    "env": {
    "$base": "terminal"
    }
    },
    "boardRoots": [],
    "taskBindings": {},
    "buildTerminal": {
    "condensedProgress": true
    },
    "debugging": {
    "flash": true,
    "bindings": {},
    "justMyCode": true
    },
    "activeAppFollowActiveEditor": true,
    "deviceProvider": "nrfutil",
    "flash": {
    "softreset": false,
    "erase": false,
    "recover": false
    },
    "enableTelemetry": true,
    "thirdpartyIntegration": {},
    "toolchainManager": {
    "indexURL": null,
    "installDirectory": null
    },
    "nrfutil": {
    "home": null
    },
    "defaultOpenAction": "ask"
    },
    "nordic-semiconductor.nrf-terminal": {
    "terminalMode": "character"
    }
    },
    "extensions": {
    "internal": {
    "nordic-semiconductor.nrf-connect": {
    "version": "2024.9.87",
    "path": "c:\\Users\\jtorr\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.9.87-win32-x64",
    "isActive": true
    },
    "nordic-semiconductor.nrf-terminal": {
    "version": "2024.9.14",
    "path": "c:\\Users\\jtorr\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2024.9.14",
    "isActive": true
    },
    "nordic-semiconductor.nrf-devicetree": {
    "version": "2024.9.26",
    "path": "c:\\Users\\jtorr\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2024.9.26",
    "isActive": true
    },
    "nordic-semiconductor.nrf-kconfig": {
    "version": "2024.9.20",
    "path": "c:\\Users\\jtorr\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2024.9.20",
    "isActive": true
    }
    },
    "external": {
    "marus25.cortex-debug": null,
    "ms-vscode.cpptools": "1.22.9",
    "ms-vscode.js-debug": "1.94.0",
    "ms-vscode.js-debug-companion": "1.1.3",
    "ms-vscode.vscode-js-profile-table": "1.0.10",
    "ms-vscode.cpptools-extension-pack": "1.3.0",
    "ms-vscode.cpptools-themes": "2.0.0",
    "trond-snekvik.gnu-mapfiles": "1.1.0",
    "twxs.cmake": "0.0.17"
    }
    }
    }

Related