nrf: Add SD 6.0.0-6.alpha to the download script
This commit is contained in:
parent
fed9087274
commit
c6a542d166
|
@ -70,6 +70,24 @@ function download_s132_nrf52_5_0_0
|
|||
cd -
|
||||
}
|
||||
|
||||
function download_s140_nrf52_6_0_0_6_alpha
|
||||
{
|
||||
echo ""
|
||||
echo "############################################"
|
||||
echo "### Downloading s140_nrf52_6.0.0-6.alpha ###"
|
||||
echo "############################################"
|
||||
echo ""
|
||||
|
||||
mkdir -p $1/s140_nrf52_6.0.0-6.alpha
|
||||
cd $1/s140_nrf52_6.0.0-6.alpha
|
||||
|
||||
wget http://www.nordicsemi.com/eng/nordic/download_resource/60624/18/61756799/116072
|
||||
mv 116072 temp.zip
|
||||
unzip -u temp.zip
|
||||
rm temp.zip
|
||||
cd -
|
||||
}
|
||||
|
||||
SCRIPT_DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
|
@ -78,6 +96,7 @@ if [ $# -eq 0 ]; then
|
|||
download_s132_nrf52_2_0_1 ${SCRIPT_DIR}
|
||||
download_s132_nrf52_3_0_0 ${SCRIPT_DIR}
|
||||
download_s132_nrf52_5_0_0 ${SCRIPT_DIR}
|
||||
download_s140_nrf52_6_0_0_6_alpha ${SCRIPT_DIR}
|
||||
else
|
||||
case $1 in
|
||||
"s110_nrf51" )
|
||||
|
@ -88,6 +107,8 @@ else
|
|||
download_s132_nrf52_3_0_0 ${SCRIPT_DIR} ;;
|
||||
"s132_nrf52_5_0_0" )
|
||||
download_s132_nrf52_5_0_0 ${SCRIPT_DIR} ;;
|
||||
"s140_nrf52_6_0_0_6_alpha" )
|
||||
download_s140_nrf52_6_0_0_6_alpha ${SCRIPT_DIR} ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue