#!/bin/bash

SDK_FOLDER=nrf5sdk
SDK_COTAINER=nRF5SDK160098a08e2.zip
SDK_URL=https://www.nordicsemi.com/-/media/Software-and-other-downloads/SDKs/nRF5/Binaries/$SDK_COTAINER

rm -rf $SDK_FOLDER
mkdir $SDK_FOLDER
curl $SDK_URL -o $SDK_FOLDER/$SDK_COTAINER
cd $SDK_FOLDER
unzip $SDK_COTAINER
rm $SDK_COTAINER
cd -
