From 476dfe51f7175a634edec896f4ddcfdd8aa45a15 Mon Sep 17 00:00:00 2001 From: yangjie Date: Wed, 11 Sep 2019 12:03:37 +0800 Subject: [PATCH] =?UTF-8?q?[components/Kconfig]=E8=A7=A3=E9=99=A4=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=88=9D=E5=A7=8B=E5=8C=96=E4=B8=8E=E4=BD=BF=E7=94=A8?= =?UTF-8?q?user=20main=E7=9A=84=E4=BE=9D=E8=B5=96=EF=BC=8C=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=B8=A4=E8=80=85=E5=9D=87=E4=B8=8D=E4=BD=BF=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Kconfig | 16 +++++++--------- 1 file 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"