未验证 提交 a514b3bd 编写于 作者: mysterywolf's avatar mysterywolf 提交者: GitHub

[components][kconfig] 整理Kconfig目录名称和结构 (#5698)

上级 851d16b1
......@@ -23,24 +23,14 @@ config RT_USING_LEGACY
bool "Support legacy version for compatibility"
default n
source "$RTT_DIR/components/cplusplus/Kconfig"
source "$RTT_DIR/components/fal/Kconfig"
source "$RTT_DIR/components/finsh/Kconfig"
source "$RTT_DIR/components/dfs/Kconfig"
source "$RTT_DIR/components/fal/Kconfig"
source "$RTT_DIR/components/lwp/Kconfig"
source "$RTT_DIR/components/drivers/Kconfig"
source "$RTT_DIR/components/libc/Kconfig"
source "$RTT_DIR/components/net/Kconfig"
source "$RTT_DIR/components/vbus/Kconfig"
source "$RTT_DIR/components/utilities/Kconfig"
source "$RTT_DIR/components/lwp/Kconfig"
source "$RTT_DIR/components/vbus/Kconfig"
endmenu
menu "Device virtual file system"
config RT_USING_DFS
bool "Using device virtual file system"
menuconfig RT_USING_DFS
bool "DFS: device virtual file system"
select RT_USING_MUTEX
default y
help
......@@ -160,5 +158,3 @@ if RT_USING_DFS
endif
endif
endmenu
# Kconfig file for package fal
menuconfig RT_USING_FAL
bool "fal: Flash Abstraction Layer implement. Manage flash device and partition."
bool "FAL: flash abstraction layer"
default n
if RT_USING_FAL
......
menu "Command shell"
config RT_USING_FINSH
bool
default n
config RT_USING_MSH
bool "msh shell"
select RT_USING_FINSH
menuconfig RT_USING_MSH
bool "MSH: command shell"
default y
if RT_USING_MSH
config RT_USING_FINSH
bool
default y
config FINSH_USING_MSH
bool
default y
......@@ -80,5 +77,3 @@ if RT_USING_MSH
default 10
endif
endmenu
menu "POSIX layer and C standard library"
menu "C/C++ and POSIX layer"
config RT_LIBC_DEFAULT_TIMEZONE
int "Set the default time zone (UTC+)"
......@@ -6,5 +6,6 @@ config RT_LIBC_DEFAULT_TIMEZONE
default 8
source "$RTT_DIR/components/libc/posix/Kconfig"
source "$RTT_DIR/components/libc/cplusplus/Kconfig"
endmenu
menu "C++ features"
config RT_USING_CPLUSPLUS
bool "Support C++ features"
menuconfig RT_USING_CPLUSPLUS
bool "Enable C++ features"
default n
if RT_USING_CPLUSPLUS
......@@ -15,5 +13,3 @@ if RT_USING_CPLUSPLUS
select RT_USING_RTC
endif
endmenu
......@@ -45,13 +45,13 @@ config RT_USING_POSIX_DELAY
default n
config RT_USING_POSIX_CLOCK
bool "Enable clock/time functions, clock_gettime()/clock_settime()/clock_getres() etc"
bool "Enable clock/time APIs, clock_gettime()/clock_settime() etc"
select RT_USING_POSIX_DELAY
default n
config RT_USING_POSIX_TIMER
select RT_USING_TIMER_SOFT
bool "Enable posix time functions, timer_create()/timer_gettime()/timer_settime() etc"
bool "Enable timer APIs, timer_create()/timer_gettime() etc"
default n
config RT_USING_PTHREADS
......@@ -66,7 +66,7 @@ if RT_USING_PTHREADS
endif
config RT_USING_MODULE
bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
bool "Enable dynamic module APIs, dlopen()/dlsym()/dlclose() etc"
default n
if RT_USING_MODULE
......
config RT_USING_LWP
bool "Using light-weight process"
bool "LWP: light-weight process"
select RT_USING_POSIX_FS
select RT_USING_POSIX_SELECT
depends on ARCH_ARM_CORTEX_M || ARCH_ARM_ARM9 || ARCH_ARM_CORTEX_A
......
menuconfig RT_USING_LWIP
bool "Enable light weight TCP/IP stack (lwIP)"
bool "LwIP: light weight TCP/IP stack"
select RT_USING_DEVICE
select RT_USING_DEVICE_IPC
default n
......
menuconfig RT_USING_SAL
bool "Enable socket abstraction layer (SAL)"
bool "SAL: socket abstraction layer"
select RT_USING_NETDEV
select RT_USING_SYSTEM_WORKQUEUE
default n
......
menu "VBUS(Virtual Software BUS)"
config RT_USING_VBUS
bool "Enable VBUS"
menuconfig RT_USING_VBUS
bool "VBus: virtual software bus"
default n
if RT_USING_VBUS
config RT_USING_VBUS_RFS
bool "Enable Remote File System on VBUS"
bool "Enable Remote File System on VBus"
default n
help
When enable remote file system, the application can visit the remote file system
through VBUS with POSIX file I/O.
through VBus with POSIX file I/O.
config RT_USING_VBUS_RSHELL
bool "Enable Remote Shell on VBUS"
bool "Enable Remote Shell on VBus"
default n
help
When enable remote shell, the finsh/msh of RT-Thread can be operated from another
Operating System.
config RT_VBUS_USING_TESTS
bool "Enable tests on VBUS "
bool "Enable tests on VBus "
default n
config _RT_VBUS_RING_BASE
hex "VBUS address"
hex "VBus address"
help
VBUS ring buffer physical address.
VBus ring buffer physical address.
config _RT_VBUS_RING_SZ
int "VBUS ring size"
int "VBus ring size"
help
VBUS size of the ring buffer.
VBus size of the ring buffer.
config RT_VBUS_GUEST_VIRQ
int "RT_VBUS_GUEST_VIRQ"
......@@ -58,5 +56,3 @@ if RT_USING_VBUS
The name of the UBUS rfs device.
endif
endmenu
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册