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 14 15config STREAM_FLASH_ERASE 16 bool "Perform erase operations" 17 depends on FLASH_HAS_EXPLICIT_ERASE 18 help 19 If disabled an external actor must erase the flash area being written 20 to. 21 22config STREAM_FLASH_PROGRESS 23 bool "Persistent stream write progress" 24 depends on SETTINGS 25 depends on !SETTINGS_NONE 26 help 27 Enable API for loading and storing the current write progress to flash 28 using the settings subsystem. In case of power failure or device 29 reset, the API can be used to resume writing from the latest state. 30 31module = STREAM_FLASH 32module-str = stream flash 33source "subsys/logging/Kconfig.template.log_config" 34 35endif # STREAM_FLASH 36