diff --git a/soc/st/stm32/Kconfig.defconfig b/soc/st/stm32/Kconfig.defconfig index b214f103723..9b06788796f 100644 --- a/soc/st/stm32/Kconfig.defconfig +++ b/soc/st/stm32/Kconfig.defconfig @@ -60,4 +60,7 @@ config MEMC_STM32 config USE_DT_CODE_PARTITION default y if TRUSTED_EXECUTION_NONSECURE +config BUILD_WITH_TFM + default y if TRUSTED_EXECUTION_NONSECURE + endif # SOC_FAMILY_STM32