提交 476dfe51 编写于 作者: Nameless-Y's avatar Nameless-Y

[components/Kconfig]解除组件初始化与使用user main的依赖,默认两者均不使能

上级 e7cb38c9
menu "RT-Thread Components"
config RT_USING_COMPONENTS_INIT
bool "Use components automatically initialization"
default y
if RT_USING_COMPONENTS_INIT
config RT_USING_USER_MAIN
bool "The main() function as user entry function"
default y
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"
......@@ -19,7 +18,6 @@ if RT_USING_COMPONENTS_INIT
default 10 if RT_THREAD_PRIORITY_32
default 85 if RT_THREAD_PRIORITY_256
endif
endif
source "$RTT_DIR/components/cplusplus/Kconfig"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册