[components/Kconfig]解除组件初始化与使用user main的依赖,默认两者均不使能
This commit is contained in:
parent
e7cb38c9c3
commit
476dfe51f7
|
@ -1,13 +1,12 @@
|
||||||
menu "RT-Thread Components"
|
menu "RT-Thread Components"
|
||||||
|
|
||||||
config RT_USING_COMPONENTS_INIT
|
config RT_USING_COMPONENTS_INIT
|
||||||
bool "Use components automatically initialization"
|
bool
|
||||||
default y
|
default n
|
||||||
|
|
||||||
if RT_USING_COMPONENTS_INIT
|
config RT_USING_USER_MAIN
|
||||||
config RT_USING_USER_MAIN
|
bool
|
||||||
bool "The main() function as user entry function"
|
default n
|
||||||
default y
|
|
||||||
|
|
||||||
if RT_USING_USER_MAIN
|
if RT_USING_USER_MAIN
|
||||||
config RT_MAIN_THREAD_STACK_SIZE
|
config RT_MAIN_THREAD_STACK_SIZE
|
||||||
|
@ -19,7 +18,6 @@ if RT_USING_COMPONENTS_INIT
|
||||||
default 10 if RT_THREAD_PRIORITY_32
|
default 10 if RT_THREAD_PRIORITY_32
|
||||||
default 85 if RT_THREAD_PRIORITY_256
|
default 85 if RT_THREAD_PRIORITY_256
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
source "$RTT_DIR/components/cplusplus/Kconfig"
|
source "$RTT_DIR/components/cplusplus/Kconfig"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue