summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-09-15 09:35:42 +0800
committerGitHub <[email protected]>2019-09-15 09:35:42 +0800
commit6db1bd45162043a6366bac0422e2c463479f374f (patch)
treefb56edf7dcab9856f4469997c8b779b6ce84c370 /components
parent6e0369b1fe68cf60bbc7595ac14c7059eedbbdb9 (diff)
parent1ef33e66cd6ca01cf7d595731342e6899eab5ac4 (diff)
Merge pull request #3062 from yangjie11/yj_kconfig_com
[bsp]解除组件初始化与使用user main的依赖,并修改相应的 Kconfig
Diffstat (limited to 'components')
-rw-r--r--components/Kconfig16
1 files changed, 7 insertions, 9 deletions
diff --git a/components/Kconfig b/components/Kconfig
index e47abb9756..9a9efa8434 100644
--- a/components/Kconfig
+++ b/components/Kconfig
@@ -1,14 +1,13 @@
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"