[components][kconfig] 整理Kconfig目录名称和结构 (#5698)
This commit is contained in:
parent
851d16b18f
commit
a514b3bd16
@ -23,24 +23,14 @@ config RT_USING_LEGACY
|
|||||||
bool "Support legacy version for compatibility"
|
bool "Support legacy version for compatibility"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
source "$RTT_DIR/components/cplusplus/Kconfig"
|
|
||||||
|
|
||||||
source "$RTT_DIR/components/fal/Kconfig"
|
|
||||||
|
|
||||||
source "$RTT_DIR/components/finsh/Kconfig"
|
source "$RTT_DIR/components/finsh/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/dfs/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/drivers/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/libc/Kconfig"
|
source "$RTT_DIR/components/libc/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/net/Kconfig"
|
source "$RTT_DIR/components/net/Kconfig"
|
||||||
|
source "$RTT_DIR/components/utilities/Kconfig"
|
||||||
source "$RTT_DIR/components/vbus/Kconfig"
|
source "$RTT_DIR/components/vbus/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/utilities/Kconfig"
|
|
||||||
|
|
||||||
source "$RTT_DIR/components/lwp/Kconfig"
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
menu "Device virtual file system"
|
menuconfig RT_USING_DFS
|
||||||
|
bool "DFS: device virtual file system"
|
||||||
config RT_USING_DFS
|
|
||||||
bool "Using device virtual file system"
|
|
||||||
select RT_USING_MUTEX
|
select RT_USING_MUTEX
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
@ -160,5 +158,3 @@ if RT_USING_DFS
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
# Kconfig file for package fal
|
# Kconfig file for package fal
|
||||||
menuconfig RT_USING_FAL
|
menuconfig RT_USING_FAL
|
||||||
bool "fal: Flash Abstraction Layer implement. Manage flash device and partition."
|
bool "FAL: flash abstraction layer"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_FAL
|
if RT_USING_FAL
|
||||||
|
@ -1,16 +1,13 @@
|
|||||||
menu "Command shell"
|
menuconfig RT_USING_MSH
|
||||||
|
bool "MSH: command shell"
|
||||||
config RT_USING_FINSH
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
|
|
||||||
config RT_USING_MSH
|
|
||||||
bool "msh shell"
|
|
||||||
select RT_USING_FINSH
|
|
||||||
default y
|
default y
|
||||||
|
|
||||||
if RT_USING_MSH
|
if RT_USING_MSH
|
||||||
|
|
||||||
|
config RT_USING_FINSH
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
config FINSH_USING_MSH
|
config FINSH_USING_MSH
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
@ -80,5 +77,3 @@ if RT_USING_MSH
|
|||||||
default 10
|
default 10
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
menu "POSIX layer and C standard library"
|
menu "C/C++ and POSIX layer"
|
||||||
|
|
||||||
config RT_LIBC_DEFAULT_TIMEZONE
|
config RT_LIBC_DEFAULT_TIMEZONE
|
||||||
int "Set the default time zone (UTC+)"
|
int "Set the default time zone (UTC+)"
|
||||||
@ -6,5 +6,6 @@ config RT_LIBC_DEFAULT_TIMEZONE
|
|||||||
default 8
|
default 8
|
||||||
|
|
||||||
source "$RTT_DIR/components/libc/posix/Kconfig"
|
source "$RTT_DIR/components/libc/posix/Kconfig"
|
||||||
|
source "$RTT_DIR/components/libc/cplusplus/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
menu "C++ features"
|
menuconfig RT_USING_CPLUSPLUS
|
||||||
|
bool "Enable C++ features"
|
||||||
config RT_USING_CPLUSPLUS
|
|
||||||
bool "Support C++ features"
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_CPLUSPLUS
|
if RT_USING_CPLUSPLUS
|
||||||
@ -15,5 +13,3 @@ if RT_USING_CPLUSPLUS
|
|||||||
select RT_USING_RTC
|
select RT_USING_RTC
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@ -45,13 +45,13 @@ config RT_USING_POSIX_DELAY
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
config RT_USING_POSIX_CLOCK
|
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
|
select RT_USING_POSIX_DELAY
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config RT_USING_POSIX_TIMER
|
config RT_USING_POSIX_TIMER
|
||||||
select RT_USING_TIMER_SOFT
|
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
|
default n
|
||||||
|
|
||||||
config RT_USING_PTHREADS
|
config RT_USING_PTHREADS
|
||||||
@ -66,7 +66,7 @@ if RT_USING_PTHREADS
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
config RT_USING_MODULE
|
config RT_USING_MODULE
|
||||||
bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
|
bool "Enable dynamic module APIs, dlopen()/dlsym()/dlclose() etc"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_MODULE
|
if RT_USING_MODULE
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
config RT_USING_LWP
|
config RT_USING_LWP
|
||||||
bool "Using light-weight process"
|
bool "LWP: light-weight process"
|
||||||
select RT_USING_POSIX_FS
|
select RT_USING_POSIX_FS
|
||||||
select RT_USING_POSIX_SELECT
|
select RT_USING_POSIX_SELECT
|
||||||
depends on ARCH_ARM_CORTEX_M || ARCH_ARM_ARM9 || ARCH_ARM_CORTEX_A
|
depends on ARCH_ARM_CORTEX_M || ARCH_ARM_ARM9 || ARCH_ARM_CORTEX_A
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
menuconfig RT_USING_LWIP
|
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
|
||||||
select RT_USING_DEVICE_IPC
|
select RT_USING_DEVICE_IPC
|
||||||
default n
|
default n
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
menuconfig RT_USING_SAL
|
menuconfig RT_USING_SAL
|
||||||
bool "Enable socket abstraction layer (SAL)"
|
bool "SAL: socket abstraction layer"
|
||||||
select RT_USING_NETDEV
|
select RT_USING_NETDEV
|
||||||
select RT_USING_SYSTEM_WORKQUEUE
|
select RT_USING_SYSTEM_WORKQUEUE
|
||||||
default n
|
default n
|
||||||
|
@ -1,37 +1,35 @@
|
|||||||
menu "VBUS(Virtual Software BUS)"
|
menuconfig RT_USING_VBUS
|
||||||
|
bool "VBus: virtual software bus"
|
||||||
config RT_USING_VBUS
|
|
||||||
bool "Enable VBUS"
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_VBUS
|
if RT_USING_VBUS
|
||||||
config RT_USING_VBUS_RFS
|
config RT_USING_VBUS_RFS
|
||||||
bool "Enable Remote File System on VBUS"
|
bool "Enable Remote File System on VBus"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
When enable remote file system, the application can visit the remote file system
|
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
|
config RT_USING_VBUS_RSHELL
|
||||||
bool "Enable Remote Shell on VBUS"
|
bool "Enable Remote Shell on VBus"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
When enable remote shell, the finsh/msh of RT-Thread can be operated from another
|
When enable remote shell, the finsh/msh of RT-Thread can be operated from another
|
||||||
Operating System.
|
Operating System.
|
||||||
|
|
||||||
config RT_VBUS_USING_TESTS
|
config RT_VBUS_USING_TESTS
|
||||||
bool "Enable tests on VBUS "
|
bool "Enable tests on VBus "
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config _RT_VBUS_RING_BASE
|
config _RT_VBUS_RING_BASE
|
||||||
hex "VBUS address"
|
hex "VBus address"
|
||||||
help
|
help
|
||||||
VBUS ring buffer physical address.
|
VBus ring buffer physical address.
|
||||||
|
|
||||||
config _RT_VBUS_RING_SZ
|
config _RT_VBUS_RING_SZ
|
||||||
int "VBUS ring size"
|
int "VBus ring size"
|
||||||
help
|
help
|
||||||
VBUS size of the ring buffer.
|
VBus size of the ring buffer.
|
||||||
|
|
||||||
config RT_VBUS_GUEST_VIRQ
|
config RT_VBUS_GUEST_VIRQ
|
||||||
int "RT_VBUS_GUEST_VIRQ"
|
int "RT_VBUS_GUEST_VIRQ"
|
||||||
@ -58,5 +56,3 @@ if RT_USING_VBUS
|
|||||||
The name of the UBUS rfs device.
|
The name of the UBUS rfs device.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user