Skip to content

Commit 9363d44

Browse files
authored
Merge pull request #657 from NeroBurner/patch-1
Add python packages click and cryptography to build instructions
2 parents 3681d3b + 55ff9b0 commit 9363d44

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

doc/buildAndProgram.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
To build this project, you'll need:
44
- A cross-compiler : [ARM-GCC (9-2020-q2-update)](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/9-2020-q2-update)
55
- 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)
6-
- The `cbor` and `intelhex` modules for Python 3
6+
- The Python 3 modules `cbor`, `intelhex`, `click` and `cryptography` modules for the `mcuboot` tool (see [requirements.txt](../tools/mcuboot/requirements.txt))
7+
- To to keep the system clean a python virtual environment (`venv`) can be used to install the python modules into
8+
```sh
9+
python -m venv .venv
10+
source .venv/bin/activate
11+
python -m pip install wheel
12+
python -m pip install -r tools/mcuboot/requirements.txt
13+
```
714
- A reasonably recent version of CMake (I use 3.16.5)
815

916
## Build steps

0 commit comments

Comments
 (0)