mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
mtdconfig: modify mtdconfig kconfig
change filename mtd/mtd_config_fs.c to mtd/mtd_config_nvs.c and optimize the configuration related to mtdconfig Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com>
This commit is contained in:
@@ -271,7 +271,7 @@ config ARCH_BOARD_FLASH_PART1_FS_SMARTFS
|
||||
is absolute minimum (so a 16KiB!).
|
||||
|
||||
config ARCH_BOARD_FLASH_PART1_FS_MTDCONFIG
|
||||
select MTD_CONFIG
|
||||
depends on !MTD_CONFIG_NONE
|
||||
bool "mtdconfig"
|
||||
---help---
|
||||
Purpose build filesystem to hold application's configuration.
|
||||
@@ -319,7 +319,7 @@ config ARCH_BOARD_FLASH_PART2_FS_SMARTFS
|
||||
bool "smartfs"
|
||||
|
||||
config ARCH_BOARD_FLASH_PART2_FS_MTDCONFIG
|
||||
select MTD_CONFIG
|
||||
depends on !MTD_CONFIG_NONE
|
||||
bool "mtdconfig"
|
||||
|
||||
endchoice # Filesystem of user partition 2
|
||||
@@ -362,7 +362,7 @@ config ARCH_BOARD_FLASH_PART3_FS_SMARTFS
|
||||
bool "smartfs"
|
||||
|
||||
config ARCH_BOARD_FLASH_PART3_FS_MTDCONFIG
|
||||
select MTD_CONFIG
|
||||
depends on !MTD_CONFIG_NONE
|
||||
bool "mtdconfig"
|
||||
|
||||
endchoice # Filesystem of user partition 3
|
||||
@@ -405,7 +405,7 @@ config ARCH_BOARD_FLASH_PART4_FS_SMARTFS
|
||||
bool "smartfs"
|
||||
|
||||
config ARCH_BOARD_FLASH_PART4_FS_MTDCONFIG
|
||||
select MTD_CONFIG
|
||||
depends on !MTD_CONFIG_NONE
|
||||
bool "mtdconfig"
|
||||
|
||||
endchoice # Filesystem of user partition 4
|
||||
|
||||
@@ -40,6 +40,7 @@ CONFIG_INPUT=y
|
||||
CONFIG_INPUT_BUTTONS=y
|
||||
CONFIG_INPUT_BUTTONS_LOWER=y
|
||||
CONFIG_LPUART1_SERIAL_CONSOLE=y
|
||||
CONFIG_MTD_CONFIG=y
|
||||
CONFIG_MTD_CONFIG_NAMED=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=2048
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
Reference in New Issue
Block a user