Skip to content

Commit

Permalink
feat: Kconfig: collecting some config to sub-menu
Browse files Browse the repository at this point in the history
To improve the readability of the menuconfig.

Signed-off-by: Shell <[email protected]>
  • Loading branch information
polarvid authored and Rbb666 committed Jan 6, 2025
1 parent 8507c38 commit 6c6c5f5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions components/dfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,16 @@ if RT_USING_DFS_V1
default n
endif

config RT_USING_DFS_ROMFS
menuconfig RT_USING_DFS_ROMFS
bool "Enable ReadOnly file system on flash"
default n

config RT_USING_DFS_ROMFS_USER_ROOT
bool "Use user's romfs root"
depends on RT_USING_DFS_ROMFS
default n
if RT_USING_DFS_ROMFS
config RT_USING_DFS_ROMFS_USER_ROOT
bool "Use user's romfs root"
depends on RT_USING_DFS_V1
default n
endif

if RT_USING_SMART
config RT_USING_DFS_PTYFS
Expand Down

0 comments on commit 6c6c5f5

Please sign in to comment.