Add option to disable CRC for fcb entries. This improves the write throughput significantly at the cost of not detecting corrupted data in flash. This is beneficial for aplications that needs the extra write throughput, where error detection is done elsewhere. Allow the FCB entries in flash to have a valid CRC when CRC is disabled in the FCB. This allows existing solutions to disable CRC checking, while keeping the CRC areas intact. Note that this is a one-way option. Fixes #53707 Signed-off-by: Eivind Jølsgard <eivind.jolsgard@nordicsemi.no>
26 lines
491 B
Plaintext
26 lines
491 B
Plaintext
# Flash Circular Buffer module
|
|
|
|
# Copyright (c) 2017-2023 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
# Flash Circular Buffer
|
|
#
|
|
|
|
config FCB
|
|
bool "Flash Circular Buffer support"
|
|
depends on FLASH_MAP
|
|
select CRC
|
|
help
|
|
Enable support of Flash Circular Buffer.
|
|
|
|
if FCB
|
|
|
|
config FCB_ALLOW_FIXED_ENDMARKER
|
|
bool "Allow FCB instances to have a fixed endmarker"
|
|
help
|
|
This allows the FCB instances to disable CRC checks in
|
|
favor of increased write throughput.
|
|
|
|
endif
|