1# 2# Copyright (c) 2020 Nordic Semiconductor ASA 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7menuconfig STREAM_FLASH 8 bool "Stream to flash" 9 select FLASH_PAGE_LAYOUT 10 help 11 Enable support of stream to flash API 12 13if STREAM_FLASH 14config STREAM_FLASH_ERASE 15 bool "Perform erase operations" 16 help 17 If disabled an external actor must erase the flash area being written 18 to. 19 20config STREAM_FLASH_PROGRESS 21 bool "Persistent stream write progress" 22 depends on SETTINGS 23 depends on !SETTINGS_NONE 24 help 25 Enable API for loading and storing the current write progress to flash 26 using the settings subsystem. In case of power failure or device 27 reset, the API can be used to resume writing from the latest state. 28 29module = STREAM_FLASH 30module-str = stream flash 31source "subsys/logging/Kconfig.template.log_config" 32 33endif # STREAM_FLASH 34