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

BUILD_WITH_TFM

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At <Zephyr>/modules/Kconfig.tfm:130

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:32

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

config TFM_MCUBOOT_IMAGE_NUMBER
    int "Granularity of FW updates of TFM and app"
    range 1 2
    default 2
    depends on BUILD_WITH_TFM
    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.)