This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
choice TFM_MCUBOOT_PATH: Path to MCUboot or DOWNLOAD to fetch automatically

Path to MCUboot or DOWNLOAD to fetch automatically

Type: bool

Help

Path to MCUboot for TF-M builds. The default option
is to use Zephyr's MCUboot module. As an alternative,
users may switch to the 'download' version; in that
case MCUboot will be fetched by the TF-M build during
build time. The default option ensures that Zephyr builds
with TF-M do not fetch external trees.

Direct dependencies

TFM_BL2 && BUILD_WITH_TFM && 0

(Includes any dependencies from ifs and menus.)

Kconfig definition

At modules/trusted-firmware-m/Kconfig.tfm:160

Included via Kconfig:8Kconfig.zephyr:33modules/Kconfig:74modules/trusted-firmware-m/Kconfig:7

Menu path: (Top) → Modules → Build with TF-M as the Secure Execution Environment → Add MCUboot to TFM

choice TFM_MCUBOOT_PATH
    bool "Path to MCUboot or DOWNLOAD to fetch automatically"
    default TFM_MCUBOOT_PATH_LOCAL
    depends on TFM_BL2 && BUILD_WITH_TFM && 0
    help
      Path to MCUboot for TF-M builds. The default option
      is to use Zephyr's MCUboot module. As an alternative,
      users may switch to the 'download' version; in that
      case MCUboot will be fetched by the TF-M build during
      build time. The default option ensures that Zephyr builds
      with TF-M do not fetch external trees.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)