Skip to content
Closed
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
33 changes: 25 additions & 8 deletions subsys/dfu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ menuconfig IMG_MANAGER
help
Enable support for managing DFU image.

# This option is defined regardless of whether IMG_MANAGER is enabled to prevent
# build warnings when IMG_MANAGER is not selected - as it is being unconditionally
# set in MCUBOOT.
config MCUBOOT_UPDATE_FOOTER_SIZE
hex "Estimated update footer size"
default 0x0
help
Estimated size of update image data, which is used to prevent loading of firmware updates
that MCUboot cannot update due to being too large. This should be set from sysbuild, only
used when MCUMGR_GRP_IMG_TOO_LARGE_SYSBUILD is enabled.

if IMG_MANAGER

choice
Expand Down Expand Up @@ -52,14 +63,6 @@ config MCUBOOT_TRAILER_SWAP_TYPE
Disable this option if need to be compatible with earlier version
of MCUBoot.

config MCUBOOT_UPDATE_FOOTER_SIZE
hex "Estimated update footer size"
default 0x0
help
Estimated size of update image data, which is used to prevent loading of firmware updates
that MCUboot cannot update due to being too large. This should be set from sysbuild, only
used when MCUMGR_GRP_IMG_TOO_LARGE_SYSBUILD is enabled.

config IMG_BLOCK_BUF_SIZE
int "Image writer buffer size"
default 512
Expand Down Expand Up @@ -103,3 +106,17 @@ config UPDATEABLE_IMAGE_NUMBER
endif

endif # IMG_MANAGER

if BOOTLOADER_MCUBOOT
# This option is defined regardless of whether IMG_MANAGER is enabled to prevent
# build warnings when IMG_MANAGER is not selected - as it is being unconditionally
# set in MCUBOOT.
config MCUBOOT_UPDATE_FOOTER_SIZE
hex "Estimated update footer size"
default 0x0
help
Estimated size of update image data, which is used to prevent loading of firmware updates
that MCUboot cannot update due to being too large. This should be set from sysbuild, only
used when MCUMGR_GRP_IMG_TOO_LARGE_SYSBUILD is enabled.

endif #BOOTLOADER_MCUBOOT
Loading