docker run --rm \
-v ${PWD}:/workdir/project \
-w /workdir/project \
nordicplayground/nrfconnect-sdk:v2.6-branch \
sh -c \
"west config manifest.path project && west update && west build -p always -b our_custom_board --build-dir /workdir/project/build"
Leads to:
usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
The Zephyr RTOS meta-tool.
optional arguments:
-h, --help get help for west or a command
-z ZEPHYR_BASE, --zephyr-base ZEPHYR_BASE
Override the Zephyr base directory. The default is
the manifest project with path "zephyr".
-v, --verbose Display verbose output. May be given multiple times
to increase verbosity.
-V, --version print the program version and exit
...
...
If we are running all commands in separate sessions invoking the docker image our custom board is not found.
We tried to use a custom
west.yml
file in the following, non-successful ways:Running:
Leads to:
Alternatively running:
Leads to:
If we are running all commands in separate sessions invoking the docker image our custom board is not found.