The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_TFM_MCUBOOT_IMAGE_NUMBER

Granularity of FW updates of TFM and app

Type: int

Help

How many images the bootloader sees when it looks at TFM and the app.
When this is 1, the S and NS are considered as 1 image and must be
updated in one atomic operation. When this is 2, they are split and
can be updated independently if dependency requirements are met.

Direct dependencies

TFM_BL2 && BUILD_WITH_TFM && 0

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

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

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

config TFM_MCUBOOT_IMAGE_NUMBER
    int "Granularity of FW updates of TFM and app"
    range 1 2
    default 2
    depends on TFM_BL2 && BUILD_WITH_TFM && 0
    help
      How many images the bootloader sees when it looks at TFM and the app.
      When this is 1, the S and NS are considered as 1 image and must be
      updated in one atomic operation. When this is 2, they are split and
      can be updated independently if dependency requirements are met.

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