Skip to content

Latest commit

 

History

History

nrf_sdks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Installing the nRF5 SDK

Download the SDK package from www.nordicsemi.com.

The examples are based on nRF5 SDK 15.2.0, it can be downloaded directly here: nRF5_SDK_v15.2.0_9412b96

Extract the zip file into this directory. This should give you the following folder structure:

./nrf52840-mdk/
├── LICENSE
├── README.md
├── firmware
├── config
├── docs
├── examples
├── mkdocs.yml
├── nrf_sdks
│   └── nRF5_SDK_v15.2.0_9412b96
└── tools

If you have wget and unzip, you can run ./get.sh to download and extract the sdk.

Config the toolchain path in makefile.windows or makefile.posix depending on platform you are using. That is, the .posix should be edited if your are working on either Linux or macOS. These files are located in:

<nRF5 SDK>/components/toolchain/gcc

Open the file in a text editor and make sure that the GNU_INSTALL_ROOT variable is pointing to your GNU Arm Embedded Toolchain install directory. For example:

GNU_INSTALL_ROOT ?= $(HOME)/gcc-arm-none-eabi/gcc-arm-none-eabi-6-2017-q2-update/bin/
GNU_VERSION ?= 6.3.1
GNU_PREFIX ?= arm-none-eabi