settings: remove CONFIG_CONFIG_SETTINGS_FS
`CONFIG_CONFIG_SETTINGS_FS` has been deprecated for more than 2 releases, remove it and its associated source code. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
624f4a1ec0
commit
95dc81998e
3 changed files with 0 additions and 35 deletions
|
|
@ -52,14 +52,6 @@ config SETTINGS_FILE
|
|||
help
|
||||
Use a file (on mounted file system) as a settings storage back-end.
|
||||
|
||||
config SETTINGS_FS
|
||||
bool "FS (DEPRECATED)"
|
||||
depends on FILE_SYSTEM
|
||||
select SETTINGS_ENCODE_LEN
|
||||
select DEPRECATED
|
||||
help
|
||||
This is deprecated, please use SETTINGS_FILE instead.
|
||||
|
||||
config SETTINGS_NVS
|
||||
bool "NVS non-volatile storage support"
|
||||
depends on NVS
|
||||
|
|
@ -125,27 +117,6 @@ config SETTINGS_FILE_MAX_LINES
|
|||
help
|
||||
Limit how many items stored in a file before compressing
|
||||
|
||||
config SETTINGS_FS_DIR
|
||||
string "Serialization directory (DEPRECATED)"
|
||||
default "/settings"
|
||||
depends on SETTINGS_FS
|
||||
help
|
||||
This is deprecated. Use SETTINGS_FILE_PATH instead.
|
||||
|
||||
config SETTINGS_FS_FILE
|
||||
string "Default settings file (DEPRECATED)"
|
||||
default "/settings/run"
|
||||
depends on SETTINGS_FS
|
||||
help
|
||||
This is deprecated. Use SETTINGS_FILE_PATH instead.
|
||||
|
||||
config SETTINGS_FS_MAX_LINES
|
||||
int "Compression threshold (DEPRECATED)"
|
||||
default 32
|
||||
depends on SETTINGS_FS
|
||||
help
|
||||
This is deprecated. Use SETTINGS_FILE_MAX_LINES instead.
|
||||
|
||||
config SETTINGS_NVS_SECTOR_SIZE_MULT
|
||||
int "Sector size of the NVS settings area"
|
||||
default 1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ zephyr_sources(
|
|||
|
||||
zephyr_sources_ifdef(CONFIG_SETTINGS_RUNTIME settings_runtime.c)
|
||||
zephyr_sources_ifdef(CONFIG_SETTINGS_FILE settings_file.c)
|
||||
zephyr_sources_ifdef(CONFIG_SETTINGS_FS settings_file.c)
|
||||
zephyr_sources_ifdef(CONFIG_SETTINGS_FCB settings_fcb.c)
|
||||
zephyr_sources_ifdef(CONFIG_SETTINGS_NVS settings_nvs.c)
|
||||
zephyr_sources_ifdef(CONFIG_SETTINGS_NONE settings_none.c)
|
||||
|
|
|
|||
|
|
@ -19,13 +19,8 @@
|
|||
|
||||
LOG_MODULE_DECLARE(settings, CONFIG_SETTINGS_LOG_LEVEL);
|
||||
|
||||
#ifdef CONFIG_SETTINGS_FS
|
||||
#define SETTINGS_FILE_MAX_LINES CONFIG_SETTINGS_FS_MAX_LINES
|
||||
#define SETTINGS_FILE_PATH CONFIG_SETTINGS_FS_FILE
|
||||
#else
|
||||
#define SETTINGS_FILE_MAX_LINES CONFIG_SETTINGS_FILE_MAX_LINES
|
||||
#define SETTINGS_FILE_PATH CONFIG_SETTINGS_FILE_PATH
|
||||
#endif
|
||||
|
||||
int settings_backend_init(void);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue