mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
# Copyright (c) 2022 ML!PA Consulting GmbH
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
menuconfig KCONFIG_USEPKG_FLASHDB
|
|
bool "Configure FlashDB"
|
|
help
|
|
Configure FlashDB using Kconfig
|
|
|
|
if KCONFIG_USEPKG_FLASHDB
|
|
|
|
config MODULE_FLASHDB_MTD
|
|
bool "Use MTD backend"
|
|
select MODULE_MTD
|
|
select MODULE_FLASHDB_FAL
|
|
|
|
config MODULE_FLASHDB_VFS
|
|
bool "Use VFS backend"
|
|
select MODULE_VFS
|
|
select MODULE_FLASHDB_FAL
|
|
|
|
config MODULE_FLASHDB_FAL
|
|
bool "FlashDB flash abstraction layer"
|
|
depends on MODULE_FLASHDB_MTD
|
|
default y
|
|
|
|
config MODULE_FLASHDB_TSDB
|
|
bool "FlashDB Time Series Database"
|
|
|
|
config MODULE_FLASHDB_KVDB
|
|
bool "FlashDB Key-Value Database"
|
|
|
|
config MODULE_FLASHDB_KVDB_AUTO_UPDATE
|
|
bool "Enable Key-Value automatic upgrade function"
|
|
depends on MODULE_FLASHDB_KVDB
|
|
help
|
|
When this function is enabled, fdb_kvdb.ver_num stores the version of the current
|
|
database. If the version changes, it will automatically trigger an upgrade action
|
|
and update the new default KV collection to the current database.
|
|
|
|
config MODULE_FLASHDB_MTD
|
|
|
|
endif # PACKAGE_FLASHDB
|