Skip to content

Commit 81b1e7f

Browse files
nvlsianpucarlescufi
authored andcommitted
modules: Hooks Kconfig for MCUboot's bootutil
Mcuboot's bootutil libraries has option to use hooks which allows to customize its behavior while proceeding on images date. This patch introduces configuration options required for enabling that option. Signed-off-by: Andrzej Puzdrowski <[email protected]>
1 parent 1ccd9f0 commit 81b1e7f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/Kconfig.mcuboot_bootutil

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,12 @@ module-str = MCUboot bootutil
2121
source "subsys/logging/Kconfig.template.log_config"
2222
endif
2323

24+
config BOOT_IMAGE_ACCESS_HOOKS
25+
bool "Enable hooks for overriding MCUboot's bootutil native routines"
26+
help
27+
Allow to provide procedures for override or extend native
28+
MCUboot's routines required for access the image data.
29+
It is up to the application project to add source file which
30+
implements hooks to the build.
31+
2432
endif # MCUBOOT_BOOTUTIL_LIB

0 commit comments

Comments
 (0)