Merge pull request #1232 from enkiller/development

[components] Kconfig add option:set main thread stack size
This commit is contained in:
Bernard Xiong 2018-02-24 19:13:21 +08:00 committed by GitHub
commit 669d9d957c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,12 @@ if RT_USING_COMPONENTS_INIT
config RT_USING_USER_MAIN
bool "The main() function as user entry function"
default y
if RT_USING_USER_MAIN
config RT_MAIN_THREAD_STACK_SIZE
int "Set main thread stack size"
default 2048
endif
endif
source "$RTT_DIR/components/cplusplus/Kconfig"