The commit adds Kconfig option CONFIG_STREAM_FLASH_POST_WRITE_CALLBACK that allows to turn off support for callback invoked after data is written to storage device. If the feature is not used disabling it allows to save some storage. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
19 lines
404 B
Plaintext
19 lines
404 B
Plaintext
#
|
|
# Copyright (c) 2020 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
CONFIG_ZTEST=y
|
|
CONFIG_FLASH=y
|
|
CONFIG_FLASH_MAP=y
|
|
CONFIG_NVS=y
|
|
CONFIG_SETTINGS=y
|
|
|
|
CONFIG_STREAM_FLASH=y
|
|
CONFIG_STREAM_FLASH_ERASE=y
|
|
CONFIG_STREAM_FLASH_PROGRESS=y
|
|
# It case if this is no longer y by default in Kconfig as
|
|
# the tests are not ready to not test the feature.
|
|
CONFIG_STREAM_FLASH_POST_WRITE_CALLBACK=y
|