blob: 63a9df458513f3a25d71cb7f53e424a4df311b96 [file] [log] [blame]
#
# Copyright (c) 2020 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig STREAM_FLASH
bool "Stream to flash"
select FLASH_PAGE_LAYOUT
help
Enable support of stream to flash API
if STREAM_FLASH
config STREAM_FLASH_ERASE
bool "Perform erase operations"
help
If disabled an external actor must erase the flash area being written
to.
config STREAM_FLASH_PROGRESS
bool "Persistent stream write progress"
depends on SETTINGS
depends on !SETTINGS_NONE
help
Enable API for loading and storing the current write progress to flash
using the settings subsystem. In case of power failure or device
reset, the API can be used to resume writing from the latest state.
module = STREAM_FLASH
module-str = stream flash
source "subsys/logging/Kconfig.template.log_config"
endif # STREAM_FLASH