Before you install the SDK, make sure that you have all required tools installed. For nRF52 Development Kits, see Setting up the development kit . For nRF51 Development Kits, follow the steps in section 3 (Getting started) in the nRF51 Development Kit User Guide .
To set up your environment:
- Download the repository file nRF5_SDK_x.x.x_xxxxxxx.zip (for example, nRF5_SDK_12.0.0_1a2b3c4.zip) from developer.nordicsemi.com .
- Extract the zip file to the directory that you want to use to work with the SDK.
-
Install the nRF5 MDK:
- If you use Keil 5, open an example project. Keil will then prompt you to install the nRF_DeviceFamilyPack. If Keil does not prompt you, open the Pack Installer, click the Check For Updates button, and install the latest nRF_DeviceFamilyPack.
- If you use Keil 4, double-click the nRF5x_MDK_x_x_x_Keil4.msi file in the extracted directory to install the MDK.
- If you use IAR, double-click the nRF5x_MDK_x_x_x_IAR.msi file in the extracted directory to install the MDK.
- If you use GCC, the MDK is delivered with the SDK and does not need to be installed separately.