diff options
author | JF <JF002@users.noreply.github.com> | 2021-10-22 10:02:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-22 10:02:56 +0200 |
commit | 9363d4467f2e4774c76436e7339363f8d4ee83f9 (patch) | |
tree | cfd2687df4da3b1c3dae108471e3806770984bfa /doc | |
parent | 3681d3bbfd7f887cb6a7758912c485b1bb501485 (diff) | |
parent | 55ff9b0c81ff32caaa18069a26057ad18589d022 (diff) |
Merge pull request #657 from NeroBurner/patch-1
Add python packages click and cryptography to build instructions
Diffstat (limited to 'doc')
-rw-r--r-- | doc/buildAndProgram.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/buildAndProgram.md b/doc/buildAndProgram.md index feae8d76..3e000a3a 100644 --- a/doc/buildAndProgram.md +++ b/doc/buildAndProgram.md @@ -3,7 +3,14 @@ To build this project, you'll need: - 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) - 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 `cbor` and `intelhex` modules for Python 3 + - The Python 3 modules `cbor`, `intelhex`, `click` and `cryptography` modules for the `mcuboot` tool (see [requirements.txt](../tools/mcuboot/requirements.txt)) + - To to keep the system clean a python virtual environment (`venv`) can be used to install the python modules into + ```sh + python -m venv .venv + source .venv/bin/activate + python -m pip install wheel + python -m pip install -r tools/mcuboot/requirements.txt + ``` - A reasonably recent version of CMake (I use 3.16.5) ## Build steps |