Building and programming with nRF54L15 DK

This guide provides instructions on how to build and program the nRF54L15 development kit. Whether you are working with single or multi-image builds, the following sections will guide you through the necessary steps.

Depending on the sample, you must program only the application core or both the Fast Lightweight Peripheral Processor (FLPR) and the application core. Additionally, the process will differ based on whether you are working with a single-image or multi-image build.

Note

The following instructions do not include multi-image single-core builds scenario.

Building for the application core only

Building for the application core only follows the default building process for the nRF Connect SDK. For instructions, see how the Building an application page.

Building for the application and FLPR core

Building for both the application and the FLPR cores is different from the default nRF Connect SDK procedure. Using the FLPR core also requires additional configuration to enable it. This section outlines how to build and program for both the application and FLPR core, covering separate builds and sysbuild configurations. The FLPR core supports two variants:

  • nrf54l15dk/nrf54l15/cpuflpr, where FLPR runs from SRAM, which is the recommended method. To build FLPR image with this variant, the application core image must include the nordic-flpr snippet.

  • nrf54l15dk/nrf54l15/cpuflpr/xip, where FLPR runs from RRAM. To build FLPR image with this variant, the application core image must include the nordic-flpr-xip snippet.

Standard build

This subsection focuses on how to build an application using sysbuild.

Note

Currently, the documentation does not cover specific instructions for building an application image that uses sysbuild to incorporate the FLPR core as a sub-image. The only documented scenario is for building FLPR as the main image and the application as a sub-image.

Complete the following steps:

This option automatically programs the FLPR core with dedicated bootstrapping firmware.

To build and flash both images, run the following command that performs a pristine build:

west build -p -b nrf54l15dk/nrf54l15/cpuflpr
west flash

Separate images

You can build and program application sample and the FLPR sample as separate images using the nRF Connect for VS Code extension or command line. To use nRF Util, see Programming application firmware on the nRF54L15 SoC. Depending on the selected method, complete the following steps:

Note

The nRF Connect for VS Code extension currently offers experimental support for the nRF54L15’s FLPR core. Certain features, particularly debugging, may not function as expected.

  1. Open the nRF Connect for VS Code extension.

  2. Complete the steps listed on the How to build an application page in the nRF Connect for VS Code extension documentation.

  1. Build the application image by setting the following options:

    • Board target to nrf54l15dk/nrf54l15/cpuapp.

    • Choose either nordic-flpr or nordic-flpr-xip snippet depending on the FLPR image target.

    • System build to No sysbuild.

    For more information, see Providing CMake options.

  2. Build the FLPR image by setting the following options:

    • Board target to nrf54l15dk/nrf54l15/cpuflpr (recommended) or nrf54l15dk/nrf54l15/cpuflpr/xip.

    • System build to No sysbuild.

    For more information, see Providing CMake options.