Commit 8b273a45 authored by Grzegorz Swiderski's avatar Grzegorz Swiderski Committed by Carles Cufi
Browse files

doc: sysbuild: Update documentation about BUILD_ONLY

It is now possible to `west flash` or `west debug` a build-only image.

Signed-off-by: default avatarGrzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
parent 05d77690
Loading
Loading
Loading
Loading
+7 −1
Changes for doc/build/sysbuild/index.rst: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -569,13 +569,19 @@ You can mark ``my_sample`` as a build-only application in this manner:
   )

As a result, ``my_sample`` will be built as part of the sysbuild build invocation,
but neither ``west flash`` nor ``west debug`` will be aware of this application.
but it will be excluded from the default image sequence used by ``west flash``.
Instead, you may use the outputs of this domain for other purposes - for example,
to produce a secondary image for DFU, or to merge multiple images together.

You can also replace ``TRUE`` with another boolean constant in CMake, such as
a Kconfig option, which would make ``my_sample`` conditionally build-only.

.. note::

   Applications marked as build-only can still be flashed manually, using
   ``west flash --domain my_sample``. As such, the ``BUILD_ONLY`` option only
   controls the default behavior of ``west flash``.

Zephyr application configuration
================================