Installing the nRF Connect SDK Bare Metal option

You can use Visual Studio Code and the nRF Connect for Visual Studio Code extension to install Bare Metal.

Install prerequisites

Complete the following steps to install the prerequisites:

  1. Install nRF Connect for Desktop. Pay attention to the following information:

    • nRF Connect for Desktop requires SEGGER J-Link. When you install nRF Connect for Desktop, nRF Connect for Desktop asks you to install the recommended version of SEGGER J-Link.

    • nRF Connect for Desktop has some additional requirements for some operating systems.

    • nRF Connect for Desktop installs the Quick Start app automatically.

  2. Connect the nRF54L15 DK to your PC.

  3. In nRF Connect for Desktop, launch the Quick Start app. The nRF54L15 DK will be detected by the app and it will guide you through initial configuration.

  4. Complete the steps of the Quick Start wizard. Make sure to select VS Code IDE as the development environment and to install the Serial Terminal app.

  5. Install the latest version of Visual Studio Code.

  6. In Visual Studio Code, install the latest version of the nRF Connect for Visual Studio Code extension. The nRF Connect for VS Code extension comes with its own bundled version of some of the nRF Util commands.

Getting the code

Every nRF Connect SDK Bare Metal option release consists of:

  • A combination of Git repositories at different versions and revisions, managed together by West.

  • A pre-packaged SDK containing a source mirror of the Git repositories required to get started with Bare Metal.

Complete the following steps to get the Bare Metal code using the nRF Connect for VS Code extension.

  1. If this is your first time installing the SDK, click Install SDK in the extension’s Welcome View.

    If you have installed an SDK or a Toolchain before, click on Manage SDKs in the extension’s Welcome View. Then, select Install SDK from the quick pick menu that appears.

  2. Select the region for download.

    You only need to select the region for downloads once. The selected region applies to all future SDK and toolchain downloads. You can later change it in the Visual Studio Code settings.

  3. When prompted to Select SDK type, click nRF Connect SDK Bare Metal.

  4. When prompted to Select an SDK version (or enter the branch, tag or commit SHA) to install…, click v2.0.0 marked on the right by the label Pre-packaged SDKs & Toolchains.

  5. When prompted to select a destination for the SDK, the default suggestion is recommended. Then, press Enter. The installer will proceed to install Bare Metal and the respective toolchain that it requires.

Your directory structure should now look similar to this:

ncs
├─── toolchains
│  └─── <toolchain_version>
└─── nrf-bm/<sdk_version>
   ├─── bootloader
   ├─── modules
   ├─── nrf
   ├─── nrf-bm
   ├─── nrfxlib
   ├─── test
   ├─── tools
   ├─── zephyr

Next steps

You can now proceed to test the Samples included in this version of Bare Metal.

The samples can be found in the nrf-bm/samples folder, and are divided into subfolders:

  • bluetooth for the samples showcasing Bluetooth® LE functionalities using the SoftDevice. See Bluetooth samples.

  • boot for the samples showcasing the functionalities related to Device Firmware Update. See DFU samples.

  • nfc for the samples showcasing the functionalities of Near Field Communication (NFC). See NFC samples.

  • peripherals for the samples showcasing various peripheral functionalities that do not require the SoftDevice. See Peripheral samples.

  • subsys for the samples showcasing the usage of subsystems. See Subsystem samples.

Each sample documentation contains full information on how to build, flash, and test the respective sample.