From ad94929088dbd988d81f63b2171787d8b728405d Mon Sep 17 00:00:00 2001 From: Karel Blavka Date: Fri, 4 Mar 2022 08:15:34 +0100 Subject: [PATCH] Update to ncs v1.9.0 --- Dockerfile | 24 ++++++++++++------------ README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index b8eed1e..0d8b182 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,22 +51,22 @@ RUN pip3 install --no-cache-dir west # required Python dependencies from multiple Git repositories RUN mkdir -p /tmp/nrf/scripts \ && cd /tmp/nrf/scripts \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-nrf/v1.8.0/scripts/requirements.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-nrf/v1.8.0/scripts/requirements-base.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-nrf/v1.8.0/scripts/requirements-build.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-nrf/v1.8.0/scripts/requirements-doc.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-nrf/v1.9.0/scripts/requirements.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-nrf/v1.9.0/scripts/requirements-base.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-nrf/v1.9.0/scripts/requirements-build.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-nrf/v1.9.0/scripts/requirements-doc.txt \ && mkdir -p /tmp/zephyr/scripts \ && cd /tmp/zephyr/scripts \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.0-ncs1/scripts/requirements.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.0-ncs1/scripts/requirements-base.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.0-ncs1/scripts/requirements-build-test.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.0-ncs1/scripts/requirements-doc.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.0-ncs1/scripts/requirements-run-test.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.0-ncs1/scripts/requirements-extras.txt \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.0-ncs1/scripts/requirements-compliance.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.99-ncs1/scripts/requirements.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.99-ncs1/scripts/requirements-base.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.99-ncs1/scripts/requirements-build-test.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.99-ncs1/scripts/requirements-doc.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.99-ncs1/scripts/requirements-run-test.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.99-ncs1/scripts/requirements-extras.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-zephyr/v2.7.99-ncs1/scripts/requirements-compliance.txt \ && mkdir -p /tmp/bootloader/mcuboot/scripts \ && cd /tmp/bootloader/mcuboot/scripts \ - && wget https://raw.githubusercontent.com/nrfconnect/sdk-mcuboot/v1.7.99-ncs4/scripts/requirements.txt \ + && wget https://raw.githubusercontent.com/nrfconnect/sdk-mcuboot/v1.8.99-ncs1/scripts/requirements.txt \ && cd /tmp \ && pip3 install --no-cache-dir -r zephyr/scripts/requirements.txt \ && pip3 install --no-cache-dir -r nrf/scripts/requirements.txt \ diff --git a/README.md b/README.md index 6d63a55..348f386 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,61 @@ https://hub.docker.com/r/hardwario/nrf-connect-sdk-build ## Tags +### v1.9.0-1 + +Contains: +* tools for build nRF Connect SDK v1.9.0 +* GNU Arm Embedded Toolchain 9-2019-q4-major + ### v1.8.0-1 Contains: * tools for build nRF Connect SDK v1.8.0 * GNU Arm Embedded Toolchain 9-2019-q4-major +## Docs + +* https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html + + + + + + + +## Example + +``` +cd application +docker run --rm -it -v `pwd`/..:`pwd`/.. -w `pwd` -u `id -u`:`id -g` hardwario/zephyr-build:latest west build +``` + + +## Hint +For easier using recommended add alias to ~/.bashrc +``` +alias dwest='docker run --rm -it -v `pwd`/..:`pwd`/.. -w `pwd` -u `id -u`:`id -g` hardwario/zephyr-build:latest' +``` + +## Workdir +* /builds + +## Local build + +``` +docker build -t hardwario/zephyr-build:latest . +``` + + +docker build -t hardwario/chester-app-build:latest . + + +docker build -t hardwario/nrf-connect-sdk-build:latest . + +docker run --rm -it -v `pwd`/../../..:`pwd`/../../.. -w `pwd` -u `id -u`:`id -g` hardwario/nrf-connect-sdk-build:latest west build +chester-app-build +chester-lte-build ## License