2017-07-04 17:54:11 +08:00
|
|
|
# Kconfig - DFU support configuration options
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Nordic Semiconductor ASA
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# DFU
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "DFU options"
|
|
|
|
|
|
|
|
config IMG_MANAGER
|
2018-07-12 19:26:29 +08:00
|
|
|
bool "DFU image manager"
|
2017-07-04 17:54:11 +08:00
|
|
|
help
|
|
|
|
Enable support for managing DFU image.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Image manager"
|
|
|
|
default MCUBOOT_IMG_MANAGER
|
|
|
|
depends on IMG_MANAGER
|
|
|
|
help
|
|
|
|
Choice support for managing DFU image.
|
|
|
|
So far only mcuboot support is available.
|
|
|
|
|
|
|
|
config MCUBOOT_IMG_MANAGER
|
|
|
|
bool "Image manager for mcuboot"
|
|
|
|
help
|
|
|
|
Enable support for managing DFU image downloaded using mcuboot.
|
|
|
|
endchoice
|
|
|
|
|
2017-07-04 17:55:06 +08:00
|
|
|
config IMG_BLOCK_BUF_SIZE
|
2018-08-14 22:19:20 +08:00
|
|
|
int "Image writer buffer size"
|
2017-07-04 17:55:06 +08:00
|
|
|
depends on MCUBOOT_IMG_MANAGER
|
|
|
|
default 512
|
|
|
|
help
|
|
|
|
Size (in Bytes) of buffer for image writer. Must be a multiple of
|
|
|
|
the access alignment required by used flash driver.
|
|
|
|
|
2018-10-09 02:04:34 +08:00
|
|
|
module = IMG_MANAGER
|
|
|
|
module-str = image manager
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2017-07-04 17:55:06 +08:00
|
|
|
|
2017-07-04 17:54:11 +08:00
|
|
|
endmenu
|