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:
Open the nRF Connect extension in Visual Studio Code by clicking its icon in the Activity Bar.
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.
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.
Select Amazon Sidewalk Add-on.
Select the Add-on version to install.
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.
Initialize the Sidewalk repository, using one of the following methods:
Initialize west with the remote manifest.
west init -m https://github.com/nrfconnect/sdk-sidewalk
Clone the Sidewalk repository into the sidewalk directory.
git clone https://github.com/nordicsemiconductor/sidewalk.git sidewalkInitialize west with local manifest.
west init -l sidewalk
Update all repositories, by running the following command:
west updateDepending on your connection, the update might take some time. For a faster download fetches only the pinned revisions as shallow clones (no git history).
west update --narrow --fetch-opt=--depth=1Install Python dependencies.
pip install -r sidewalk/requirements.txt
To create an application, start with the Sidewalk Hello Sidewalk sample.