CONFIG_TFM_PROFILE

The build profile used for TFM Secure image.

The build profile used for TFM Secure image.

Type: string

Help

Use profile_small when the modem is enabled to get the RAM usage below 64 kB, so the Modem’s IPC RAM area can fit at 0x10000. This overrides the default TFM_PROFILE.

Help

Build profile used to build tfm_s image. The available values are profile_medium and profile_small. The default profile does not need to have this configuration set.

Direct dependencies

(BUILD_WITH_TFM && (BOARD_LPCXPRESSO55S69_CPU0 || BOARD_LPCXPRESSO55S69_CPU1)) || (NRF_MODEM_LIB && BUILD_WITH_TFM) || (BUILD_WITH_TFM && BUILD_WITH_TFM)

(Includes any dependencies from ifs and menus.)

Defaults

  • “profile_medium”

  • “profile_small”

Kconfig definitions

At <Zephyr>/boards/arm/lpcxpresso55s69/Kconfig.defconfig:69

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:18

Menu path: (Top)

config TFM_PROFILE
    string
    default "profile_medium"
    depends on BUILD_WITH_TFM && (BOARD_LPCXPRESSO55S69_CPU0 || BOARD_LPCXPRESSO55S69_CPU1)

At <nRF>/subsys/partition_manager/Kconfig:158

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/Kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:36

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Partition Manager

config TFM_PROFILE
    string "The build profile used for TFM Secure image."
    default "profile_small"
    depends on NRF_MODEM_LIB && BUILD_WITH_TFM
    help
      Use profile_small when the modem is enabled to get the RAM usage below
      64 kB, so the Modem's IPC RAM area can fit at 0x10000.
      This overrides the default TFM_PROFILE.

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

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_PROFILE
    string "The build profile used for TFM Secure image."
    depends on BUILD_WITH_TFM && BUILD_WITH_TFM
    help
      Build profile used to build tfm_s image. The available values are
      profile_medium and profile_small. The default profile does not need
      to have this configuration set.

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