Requirements and setup

This page outlines the requirements that you need to meet before you start working with the HID Add-on.

Hardware requirements

To use the HID Add-on, you need a development kit with an nRF54L Series SoC. The following table lists the supported hardware platforms and their board targets:

Hardware platforms

PCA

Board name

Board target

nRF54L15 DK

PCA10156

nrf54l15dk

nrf54l15dk/nrf54l15/cpuapp

nRF54L15 DK (emulating nRF54L10)

PCA10156

nrf54l15dk

nrf54l15dk/nrf54l10/cpuapp

nRF54L15 DK (emulating nRF54L05)

PCA10156

nrf54l15dk

nrf54l15dk/nrf54l05/cpuapp

nRF54LC10 DK

PCA10226

nrf54lc10dk

nrf54lc10dk/nrf54lc10a/cpuapp

nRF54LM20 DK (emulating nRF54LM20A)

PCA10184

nrf54lm20dk

nrf54lm20dk/nrf54lm20a/cpuapp

nRF54LM20 DK

PCA10184

nrf54lm20dk

nrf54lm20dk/nrf54lm20b/cpuapp

nRF54LS05 DK

PCA10214

nrf54ls05dk

nrf54ls05dk/nrf54ls05a/cpuapp

nRF54LS05 DK

PCA10214

nrf54ls05dk

nrf54ls05dk/nrf54ls05b/cpuapp

A single board is enough to build and run a HID peripheral that connects directly to a host over Bluetooth® LE or USB (if supported by the board). To evaluate a HID peripheral that communicates with the host through a dongle, you need the following two boards:

  • With a peripheral configuration.

  • With a dongle configuration. The board that is used as a dongle must support USB.

For details about the configuration of each supported board, see the nRF Desktop board configuration files section.

Get the HID Add-on code

The HID Add-on is distributed as a Git repository and is managed through its own west manifest. The compatible nRF Connect SDK version is specified in the west.yml file. Follow the HID Add-on GitHub repository link to browse the codebase. To get the HID Add-on code, pick your method from the following:

  • Use the nRF Connect for Visual Studio Code extension, which provides a convenient way to clone the add-on and compatible nRF Connect SDK version.

  • Clone the add-on repository and initialize west with the add-on manifest.

  • Extend your west manifest with Add-on as a project.

  • Clone the Add-on repository and add the Add-on as a Zephyr module through CMake or environment variable.

  • Switch the west manifest to the Add-on in an existing nRF Connect SDK workspace.

Note

Use this method when you wish to specifically evaluate nRF Desktop or other tools provided by the Add-on, but do not have the nRF Connect SDK setup yet.

Clone the HID Add-on code, together with the compatible nRF Connect SDK:

  1. Ensure you have installed Visual Studio Code and the nRF Connect for Visual Studio Code extension.

  2. Follow the nRF Connect SDK installation guide to install nRF Connect SDK prerequisites and toolchain v3.4.2-rc1.

    Note

    The compatible version of the nRF Connect SDK will be cloned with the HID Add-on repository in the following steps. The version of nRF Connect SDK is fixed to the version of the HID Add-on and is hard-coded in the west.yml file of the HID Add-on.

  3. Open the nRF Connect extension in Visual Studio Code by clicking its icon in the Activity Bar.

  4. In the extension’s Welcome View, click Create a new application. The list of actions appears in Visual Studio Code’s quick pick.

  5. Click Browse nRF Connect SDK Add-on Index. The list of available nRF Connect SDK add-ons appears in Visual Studio Code’s quick pick.

  6. Select HID Add-on.

  7. Select the Add-on version to install. Depending on the speed of your internet connection, the update might take some time.