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:8
→ Kconfig.zephyr:33
→ modules/Kconfig:74
→ modules/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.)