Skip to content

Commit

Permalink
Update to ncs v1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blavka committed Mar 4, 2022
1 parent f4b788c commit ad94929
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ad94929

Please sign in to comment.