diff options
| author | tangyuxin <[email protected]> | 2018-02-24 17:02:38 +0800 |
|---|---|---|
| committer | tangyuxin <[email protected]> | 2018-02-24 17:07:48 +0800 |
| commit | 4c2398fe64b7e8209958d3d6d532c50750309fc1 (patch) | |
| tree | 00bd7bac45636c2bafe4e6bf8bd3649b466115f4 /components | |
| parent | 610388857e919ad6aaa3e1e33c807bcc2a2fbf1d (diff) | |
[components] Kconfig add option:set main thread stack size
Diffstat (limited to 'components')
| -rw-r--r-- | components/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/Kconfig b/components/Kconfig index 40d9bee5e2..188cb3dd9f 100644 --- a/components/Kconfig +++ b/components/Kconfig @@ -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" |
