Setting up the SDK

See the compatibility between the versions of Amazon Sidewalk and the nRF Connect SDK by referring to the Compatibility matrix.

Install the nRF Connect SDK

To work with the Sidewalk add-on, you need to install the nRF Connect SDK, including all its prerequisites and the nRF Connect SDK toolchain. Follow the Installing the nRF Connect SDK instructions, but instead of point 4. Get the nRF Connect SDK code, do Get the Sidewalk Add-on code (described below).

Get the Sidewalk Add-on code

The Sidewalk 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.

To clone the Sidewalk Add-on code, together with compatible nRF Connect SDK, complete the following steps:

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

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

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

  4. Select Amazon Sidewalk Add-on.

  5. Select the Add-on version to install.

  6. Install Python dependencies.

    pip install -r sidewalk/requirements.txt
    

The Add-on and compatible nRF Connect SDK installation starts and it can take several minutes.

To create an application, start with the Sidewalk Hello Sidewalk sample.