InfiniTime.git

commit e209573f37b6a745554381366bc5911a0fe78ad2

Author: Adam Evyčędo <git@apiote.xyz>

fix nrf docker build

 doc/buildAndProgram.md | 2 +-
 docker/build.sh | 5 +++--


diff --git a/doc/buildAndProgram.md b/doc/buildAndProgram.md
index 69e4bfd836efbaf44f1a569dae08852a3b69c4da..ed941421c757655651365b43dea6e7d78c372f4b 100644
--- a/doc/buildAndProgram.md
+++ b/doc/buildAndProgram.md
@@ -5,7 +5,7 @@
 To build this project, you'll need:
 
 - A cross-compiler : [ARM-GCC (10.3-2021.10)](https://developer.arm.com/downloads/-/gnu-rm)
-- The NRF52 SDK 15.3.0 : [nRF-SDK v15.3.0](https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip)
+- The NRF52 SDK 15.3.0 : [nRF-SDK v15.3.0](https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/sdks/nrf5/binaries/nrf5sdk153059ac345.zip)
 - The Python 3 modules `cbor`, `intelhex`, `click` and `cryptography` modules for the `mcuboot` tool (see [requirements.txt](../tools/mcuboot/requirements.txt))
   - To keep the system clean, you can install python modules into a python virtual environment (`venv`)
     ```sh




diff --git a/docker/build.sh b/docker/build.sh
index 3a467b9f80dd28f5db4c447a4cc79e2bffd20a05..eb7ae59138f78d369dd9bbbf9aea7a94ee8cc032 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -17,7 +17,7 @@ export npm_config_cache="${NPM_DIR}"
 
 export BUILD_TYPE=${BUILD_TYPE:=Release}
 export GCC_ARM_VER=${GCC_ARM_VER:="10.3-2021.10"}
-export NRF_SDK_VER=${NRF_SDK_VER:="nRF5_SDK_15.3.0_59ac345"}
+export NRF_SDK_VER=${NRF_SDK_VER:="nrf5sdk153059ac345"}
 
 MACHINE="$(uname -m)"
 [ "$MACHINE" = "arm64" ] && MACHINE="aarch64"
@@ -55,8 +55,9 @@   pip3 install -r "$TOOLS_DIR/mcuboot/scripts/requirements.txt"
 }
 
 GetNrfSdk() {
-  wget -q "https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/$NRF_SDK_VER.zip" -O /tmp/$NRF_SDK_VER
+  wget -q "https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/sdks/nrf5/binaries/$NRF_SDK_VER.zip" -O /tmp/$NRF_SDK_VER
   unzip -q /tmp/$NRF_SDK_VER -d "$TOOLS_DIR/"
+  mv "$TOOLS_DIR/nRF5_SDK_15.3.0_59ac345" "$TOOLS_DIR/$NRF_SDK_VER"
   rm /tmp/$NRF_SDK_VER
 }