原始版本
This commit is contained in:
53
RT_Thread/components/Kconfig
Normal file
53
RT_Thread/components/Kconfig
Normal file
@ -0,0 +1,53 @@
|
||||
menu "RT-Thread Components"
|
||||
|
||||
config RT_USING_COMPONENTS_INIT
|
||||
bool
|
||||
default n
|
||||
|
||||
config RT_USING_USER_MAIN
|
||||
bool
|
||||
default n
|
||||
|
||||
if RT_USING_USER_MAIN
|
||||
config RT_MAIN_THREAD_STACK_SIZE
|
||||
int "Set main thread stack size"
|
||||
default 6144 if ARCH_CPU_64BIT
|
||||
default 2048
|
||||
|
||||
config RT_MAIN_THREAD_PRIORITY
|
||||
int "Set main thread priority"
|
||||
default 4 if RT_THREAD_PRIORITY_8
|
||||
default 10 if RT_THREAD_PRIORITY_32
|
||||
default 85 if RT_THREAD_PRIORITY_256
|
||||
endif
|
||||
|
||||
config RT_USING_LEGACY
|
||||
bool "Support legacy version for compatibility"
|
||||
default n
|
||||
|
||||
if RT_USING_CONSOLE
|
||||
rsource "finsh/Kconfig"
|
||||
endif
|
||||
|
||||
if !RT_USING_NANO
|
||||
rsource "dfs/Kconfig"
|
||||
rsource "fal/Kconfig"
|
||||
rsource "drivers/Kconfig"
|
||||
rsource "libc/Kconfig"
|
||||
rsource "net/Kconfig"
|
||||
rsource "mprotect/Kconfig"
|
||||
rsource "utilities/Kconfig"
|
||||
rsource "vbus/Kconfig"
|
||||
endif
|
||||
|
||||
if ARCH_MM_MMU
|
||||
rsource "mm/Kconfig"
|
||||
endif
|
||||
|
||||
if RT_USING_SMART
|
||||
rsource "lwp/Kconfig"
|
||||
endif
|
||||
|
||||
rsource "legacy/Kconfig"
|
||||
|
||||
endmenu
|
||||
Reference in New Issue
Block a user