diff --git a/boot/zephyr/Kconfig b/boot/zephyr/Kconfig index 644c1b83c..a7e71fe63 100644 --- a/boot/zephyr/Kconfig +++ b/boot/zephyr/Kconfig @@ -1203,4 +1203,5 @@ config MCUBOOT_VERIFY_IMG_ADDRESS also be useful when BOOT_DIRECT_XIP is enabled, to ensure that the image linked at the correct address is loaded. +rsource "Kconfig.minimal" source "Kconfig.zephyr" diff --git a/boot/zephyr/Kconfig.minimal b/boot/zephyr/Kconfig.minimal new file mode 100644 index 000000000..6e3711c85 --- /dev/null +++ b/boot/zephyr/Kconfig.minimal @@ -0,0 +1,35 @@ +# Copyright (c) 2025 Nordic Semiconductor ASA +# +# SPDX-License-Identifier: Apache-2.0 +# + +if MCUBOOT + +config MCUBOOT_MINIMAL + bool "Configuration to achieve minimal size of MCUboot" + depends on MCUBOOT + default n + help + Official minimal reference configuration for the most use cases. + +if MCUBOOT_MINIMAL + +choice MCUBOOT_MINIMAL_VARIANT + bool "Variant of MCUboot minimal configuration" + default MCUBOOT_MINIMAL_FIRST + +config MCUBOOT_MINIMAL_FIRST + bool "TODO - first variant" + help + TODO - first variant + +config MCUBOOT_MINIMAL_SECOND + bool "TODO - second variant" + help + TODO - second variant + +endchoice + +endif + +endif