Skip to content

Commit f8f6d71

Browse files
committed
nrf/drivers/bluetooth: Change soft-device download URL to self hosted.
The existing URLs have started to return a HTTP 403. The simplest way around this is to host the files at micropython.org, and point to them from the download script. The soft-device files have been retrieved from: - https://www.nordicsemi.com/Products/Development-software/s110/download - https://www.nordicsemi.com/Products/Development-software/s132/download - https://www.nordicsemi.com/Products/Development-software/s140/download Signed-off-by: Damien George <[email protected]>
1 parent 947d544 commit f8f6d71

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

ports/nrf/drivers/bluetooth/download_ble_stack.sh

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@ function download_s110_nrf51_8_0_0
1010

1111
mkdir -p $1/s110_nrf51_8.0.0
1212
cd $1/s110_nrf51_8.0.0
13-
wget --post-data="fileName=DeviceDownload&ids=DBBEB2467E4A4EBCB791C2E7BE3FC7A8" https://www.nordicsemi.com/api/sitecore/Products/MedialibraryZipDownload2
14-
mv MedialibraryZipDownload2 temp.zip
15-
unzip -u temp.zip
13+
wget https://micropython.org/resources/nrf-soft-device/s110nrf51800.zip
1614
unzip -u s110nrf51800.zip
1715
rm s110nrf51800.zip
18-
rm temp.zip
1916
cd -
2017
}
2118

@@ -29,12 +26,9 @@ function download_s132_nrf52_6_1_1
2926

3027
mkdir -p $1/s132_nrf52_6.1.1
3128
cd $1/s132_nrf52_6.1.1
32-
wget --post-data="fileName=DeviceDownload&ids=3AB3E86666FE4361A4A3B7E0D1CBB9B9" https://www.nordicsemi.com/api/sitecore/Products/MedialibraryZipDownload2
33-
mv MedialibraryZipDownload2 temp.zip
34-
unzip -u temp.zip
29+
wget https://micropython.org/resources/nrf-soft-device/s132nrf52611.zip
3530
unzip -u s132nrf52611.zip
3631
rm s132nrf52611.zip
37-
rm temp.zip
3832
cd -
3933
}
4034

@@ -48,12 +42,9 @@ function download_s140_nrf52_6_1_1
4842

4943
mkdir -p $1/s140_nrf52_6.1.1
5044
cd $1/s140_nrf52_6.1.1
51-
wget --post-data="fileName=DeviceDownload&ids=CE89BA7633C540AFA48AB88E934DBF05" https://www.nordicsemi.com/api/sitecore/Products/MedialibraryZipDownload2
52-
mv MedialibraryZipDownload2 temp.zip
53-
unzip -u temp.zip
45+
wget https://micropython.org/resources/nrf-soft-device/s140nrf52611.zip
5446
unzip -u s140nrf52611.zip
5547
rm s140nrf52611.zip
56-
rm temp.zip
5748
cd -
5849
}
5950

@@ -67,12 +58,9 @@ function download_s140_nrf52_7_3_0
6758

6859
mkdir -p $1/s140_nrf52_7.3.0
6960
cd $1/s140_nrf52_7.3.0
70-
wget --post-data="fileName=DeviceDownload&ids=59452FDD13BA46EEAD0810A57359F294" https://www.nordicsemi.com/api/sitecore/Products/MedialibraryZipDownload2
71-
mv MedialibraryZipDownload2 temp.zip
72-
unzip -u temp.zip
61+
wget https://micropython.org/resources/nrf-soft-device/s140_nrf52_7.3.0.zip
7362
unzip -u s140_nrf52_7.3.0.zip
7463
rm s140_nrf52_7.3.0.zip
75-
rm temp.zip
7664
cd -
7765
}
7866

0 commit comments

Comments
 (0)