narf52/nrf_sdk.sh
2020-03-08 07:39:16 +01:00

14 lines
311 B
Bash
Executable File

#!/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 -