Skip to content

Commit

Permalink
dfu/boot: add CONFIG_UPDATEABLE_IMAGE_NUMBER option
Browse files Browse the repository at this point in the history
This option is deciding whether bootutil_public library supports
multi-image procedures. MCUboot have its own definition which is
unavailable zephyr application. Introduced option declares similar
option for the application.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
  • Loading branch information
nvlsianpu authored and carlescufi committed Jun 17, 2021
1 parent ccddd74 commit fd3b20b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions subsys/dfu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,14 @@ module = IMG_MANAGER
module-str = image manager
source "subsys/logging/Kconfig.template.log_config"

if !MCUBOOT
config UPDATEABLE_IMAGE_NUMBER
int "Number of updateable images"
default 1
range 1 2
help
If value is set to 2 or greater then, this enables support needed when
application is combined with MCUboot multi-image boot.
endif

endif # IMG_MANAGER

0 comments on commit fd3b20b

Please sign in to comment.