diff options
| author | yangjie <[email protected]> | 2019-09-11 12:03:37 +0800 |
|---|---|---|
| committer | yangjie <[email protected]> | 2019-09-11 12:03:37 +0800 |
| commit | 476dfe51f7175a634edec896f4ddcfdd8aa45a15 (patch) | |
| tree | 588ddd1439b0b768fc91009243aad20ebdf300f2 /components/Kconfig | |
| parent | e7cb38c9c30c288a9d26038712420254783be575 (diff) | |
[components/Kconfig]解除组件初始化与使用user main的依赖,默认两者均不使能
Diffstat (limited to 'components/Kconfig')
| -rw-r--r-- | components/Kconfig | 16 |
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" |
