Skip to content

Commit c7cae59

Browse files
committed
Some exemplary configs to pretent minimal configuration
Signed-off-by: Adam Szczygieł <[email protected]>
1 parent 4532c33 commit c7cae59

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

boot/zephyr/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,4 +1203,5 @@ config MCUBOOT_VERIFY_IMG_ADDRESS
12031203
also be useful when BOOT_DIRECT_XIP is enabled, to ensure that the image
12041204
linked at the correct address is loaded.
12051205

1206+
rsource "Kconfig.minimal"
12061207
source "Kconfig.zephyr"

boot/zephyr/Kconfig.minimal

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright (c) 2025 Nordic Semiconductor ASA
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
6+
if MCUBOOT
7+
8+
config MCUBOOT_MINIMAL
9+
bool "Configuration to achieve minimal size of MCUboot"
10+
depends on MCUBOOT
11+
default n
12+
help
13+
Official minimal reference configuration for the most use cases.
14+
15+
if MCUBOOT_MINIMAL
16+
17+
choice MCUBOOT_MINIMAL_VARIANT
18+
bool "Variant of MCUboot minimal configuration"
19+
default MCUBOOT_MINIMAL_FIRST
20+
21+
config MCUBOOT_MINIMAL_FIRST
22+
bool "TODO - first variant"
23+
help
24+
TODO - first variant
25+
26+
config MCUBOOT_MINIMAL_SECOND
27+
bool "TODO - second variant"
28+
help
29+
TODO - second variant
30+
31+
endchoice
32+
33+
endif
34+
35+
endif

0 commit comments

Comments
 (0)