Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions ports/nrf/drivers/bluetooth/download_ble_stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ function download_s110_nrf51_8_0_0

mkdir -p $1/s110_nrf51_8.0.0
cd $1/s110_nrf51_8.0.0
wget --post-data="fileName=DeviceDownload&ids=DBBEB2467E4A4EBCB791C2E7BE3FC7A8" https://www.nordicsemi.com/api/sitecore/Products/MedialibraryZipDownload2
mv MedialibraryZipDownload2 temp.zip
unzip -u temp.zip
wget https://micropython.org/resources/nrf-soft-device/s110nrf51800.zip
unzip -u s110nrf51800.zip
rm s110nrf51800.zip
rm temp.zip
cd -
}

Expand All @@ -29,12 +26,9 @@ function download_s132_nrf52_6_1_1

mkdir -p $1/s132_nrf52_6.1.1
cd $1/s132_nrf52_6.1.1
wget --post-data="fileName=DeviceDownload&ids=3AB3E86666FE4361A4A3B7E0D1CBB9B9" https://www.nordicsemi.com/api/sitecore/Products/MedialibraryZipDownload2
mv MedialibraryZipDownload2 temp.zip
unzip -u temp.zip
wget https://micropython.org/resources/nrf-soft-device/s132nrf52611.zip
unzip -u s132nrf52611.zip
rm s132nrf52611.zip
rm temp.zip
cd -
}

Expand All @@ -48,12 +42,9 @@ function download_s140_nrf52_6_1_1

mkdir -p $1/s140_nrf52_6.1.1
cd $1/s140_nrf52_6.1.1
wget --post-data="fileName=DeviceDownload&ids=CE89BA7633C540AFA48AB88E934DBF05" https://www.nordicsemi.com/api/sitecore/Products/MedialibraryZipDownload2
mv MedialibraryZipDownload2 temp.zip
unzip -u temp.zip
wget https://micropython.org/resources/nrf-soft-device/s140nrf52611.zip
unzip -u s140nrf52611.zip
rm s140nrf52611.zip
rm temp.zip
cd -
}

Expand Down