I am trying to follow the first lesson of https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals
But I have several problems and I can not find out how to fix them.
When trying to install an SDK, I get:
[18:28:41] nRF Command Line Tools 10.24.2 are up to date [west]: === Initializing in /data/home/ncs/v2.9.1 [west]: --- Cloning manifest repository from https://github.com/nrfconnect/sdk-nrf [west]: Cloning into '/data/home/ncs/v2.9.1/.west/manifest-tmp'... [west]: --- setting manifest.path to nrf [west]: === Initialized. Now run "west update" inside /data/home/ncs/v2.9.1. [west]: exited with code 0. [west]: updating /data/home/ncs/v2.9.1... [west]: === updating zephyr (zephyr): [west]: --- zephyr: initializing [west]: Initialized empty Git repository in /data/home/ncs/v2.9.1/zephyr/.git/ [west]: --- zephyr: fetching, need revision v3.7.99-ncs2-1 [west]: From https://github.com/nrfconnect/sdk-zephyr [west]: * tag v3.7.99-ncs2-1 -> FETCH_HEAD [west]: * [new tag] v1.13.99-ncs1 -> v1.13.99-ncs1 ... [west]: HEAD is now at ca954a6216c [nrf fromtree] drivers: clock_control: nrf: Add workaround for XO start anomaly [west]: HEAD is now at ca954a6216c [nrf fromtree] drivers: clock_control: nrf: Add workaround for XO start anomaly [west]: FATAL ERROR: command exited with status 128: show refs/heads/manifest-rev:west.yml [west]: exited with code 128.
This is with version 2024.9.5 of the Extension Pack and version 2024.11.22 of the nRF Connect for VS Code.
Version 2025.4.106 of nRF Connect for VS Code together with 2024.9.5 or 2025.4.4 of the Extension Pack gives:[18:26:06] nrfutil-sdk-manager sdk,install,v2.9.1,--sdk-path,/data/home/ncs/v2.9.1: Calculating SDK checksum [18:26:09] nrfutil-sdk-manager sdk,install,v2.9.1,--sdk-path,/data/home/ncs/v2.9.1: Verified previously download file: success [18:26:09] nrfutil-sdk-manager sdk,install,v2.9.1,--sdk-path,/data/home/ncs/v2.9.1: Unpack SDK v2.9.1 [18:26:18] nrfutil-sdk-manager sdk,install,v2.9.1,--sdk-path,/data/home/ncs/v2.9.1: Unpacked SDK tarball: success [west]: usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ... [west]: west: unknown command "zephyr-export"; workspace /data/home/ncs/v2.9.1 does not define this extension command -- try "west help" [west]: exited with code 1.
In both ways, there are no examples: the whole 'Copy a sample' menu item is missing or if it is not missing, it does not show any samples. There are samples in the `ncs/v2.9.1/zephyr/samples/basic` directory so they are downloaded on the system. `Browse samples` also does not show anything: I have to choose and SDK first and can not choose anything.
With the last versions, when trying to open a sample (after closing and re-opening VS code), I get the error:[west]: FATAL ERROR: failed manifest import in zephyr (zephyr): [west]: Failed importing "west.yml" from revision "v3.7.99-ncs2-1" [west]: Hint: zephyr must be cloned and its manifest-rev ref must point to a commit with the import data [west]: To fix, run "west update" [west]: exited with code 1.
I ran 'west update' from the v2.9.1 (sdk) folder. But that did not help.
I run Archlinux, installed `visual-studio-code-bin`:
Version: 1.99.3
Commit: 17baf841131aa23349f217ca7c570c76ee87b957
Date: 2025-04-15T23:18:46.076Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Linux x64 6.12.1-arch1-1
Any idea on how to fix this?