Add additional API to stream_flash that can be used to make stream write progress persistent using the settings subsystem. This functionality makes it possible to resume a write operation after it was interrupted, e.g. by power loss. Signed-off-by: Jonathan Nilsen <Jonathan.Nilsen@nordicsemi.no>
18 lines
309 B
Plaintext
18 lines
309 B
Plaintext
#
|
|
# Copyright (c) 2020 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
CONFIG_ZTEST=y
|
|
CONFIG_FLASH=y
|
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
|
CONFIG_FLASH_MAP=y
|
|
CONFIG_NVS=y
|
|
CONFIG_SETTINGS=y
|
|
CONFIG_DEBUG_OPTIMIZATIONS=y
|
|
|
|
CONFIG_STREAM_FLASH=y
|
|
CONFIG_STREAM_FLASH_ERASE=y
|
|
CONFIG_STREAM_FLASH_PROGRESS=y
|