Add new cmake option to disable the generation of DFU file (which needs adafruit-nrfutil on the build machine) : BUILD_DFU (disabled by default, enabled in docker build).
This commit is contained in:
parent
d2bb209d7f
commit
740b3d7b58
4 changed files with 50 additions and 10 deletions
|
|
@ -63,6 +63,7 @@ CmakeGenerate() {
|
|||
-DUSE_OPENOCD=1 \
|
||||
-DARM_NONE_EABI_TOOLCHAIN_PATH="$TOOLS_DIR/$GCC_ARM_VER" \
|
||||
-DNRF5_SDK_PATH="$TOOLS_DIR/$NRF_SDK_VER" \
|
||||
-DBUILD_DFU=1 \
|
||||
"$SOURCES_DIR"
|
||||
cmake -L -N .
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue