Skip to content

WIP - do not review - Some exemplary configs to pretend minimal configuration #442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions boot/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
35 changes: 35 additions & 0 deletions boot/zephyr/Kconfig.minimal
Original file line number Diff line number Diff line change
@@ -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
Loading