4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-31 11:20:27 +08:00

[components] Kconfig add option:set main thread stack size

This commit is contained in:
tangyuxin 2018-02-24 17:02:38 +08:00
parent 610388857e
commit 4c2398fe64

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"