subsys: fs: consolidate elm FAT kconfig options
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
3580ba539e
commit
c6a8014e1c
8 changed files with 7 additions and 28 deletions
|
@ -12,8 +12,6 @@ source "ext/hal/Kconfig"
|
|||
|
||||
source "ext/lib/crypto/Kconfig"
|
||||
|
||||
source "ext/fs/Kconfig"
|
||||
|
||||
source "ext/debug/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
# Kconfig - external file system source code configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# When adding new entries keep the list in alphabetical order
|
||||
|
||||
source "ext/fs/fat/Kconfig"
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
config FAT_FILESYSTEM_ELM
|
||||
bool "ELM FAT File System"
|
||||
depends on FILE_SYSTEM_FAT
|
||||
default y
|
||||
help
|
||||
Use the ELM FAT File system implementation.
|
|
@ -41,7 +41,7 @@ extern "C" {
|
|||
_dir_object; \
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FILE_SYSTEM_FAT
|
||||
#ifdef CONFIG_FAT_FILESYSTEM_ELM
|
||||
#include <fs/fat_fs.h>
|
||||
#elif CONFIG_FILE_SYSTEM_NFFS
|
||||
#include <fs/nffs_fs.h>
|
||||
|
|
|
@ -24,10 +24,10 @@ config NO_FS
|
|||
help
|
||||
No file system choosen.
|
||||
|
||||
config FILE_SYSTEM_FAT
|
||||
bool "FAT file system support"
|
||||
config FAT_FILESYSTEM_ELM
|
||||
bool "ELM FAT File System"
|
||||
help
|
||||
Enables FAT file system support.
|
||||
Use the ELM FAT File system implementation.
|
||||
|
||||
config FILE_SYSTEM_NFFS
|
||||
bool "NFFS file system support"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
obj-$(CONFIG_FILE_SYSTEM_SHELL) += shell.o
|
||||
obj-$(CONFIG_FILE_SYSTEM_FAT) += fat_fs.o
|
||||
obj-$(CONFIG_FAT_FILESYSTEM_ELM) += fat_fs.o
|
||||
obj-$(CONFIG_FILE_SYSTEM_NFFS) += nffs_fs.o
|
||||
|
|
|
@ -19,6 +19,6 @@ CONFIG_FLASH=y
|
|||
CONFIG_SPI=y
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_FILE_SYSTEM=y
|
||||
CONFIG_FILE_SYSTEM_FAT=y
|
||||
CONFIG_FAT_FILESYSTEM_ELM=y
|
||||
CONFIG_DISK_ACCESS_FLASH=y
|
||||
CONFIG_FILE_SYSTEM_SHELL=y
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
CONFIG_FILE_SYSTEM=y
|
||||
CONFIG_FILE_SYSTEM_FAT=y
|
||||
CONFIG_FAT_FILESYSTEM_ELM=y
|
||||
CONFIG_DISK_ACCESS_FLASH=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_GPIO=y
|
||||
|
||||
CONFIG_ZTEST=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue