Skip to content

Commit 669d9d9

Browse files
authored
Merge pull request #1232 from enkiller/development
[components] Kconfig add option:set main thread stack size
2 parents 4f6fd2e + 4c2398f commit 669d9d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ if RT_USING_COMPONENTS_INIT
88
config RT_USING_USER_MAIN
99
bool "The main() function as user entry function"
1010
default y
11+
12+
if RT_USING_USER_MAIN
13+
config RT_MAIN_THREAD_STACK_SIZE
14+
int "Set main thread stack size"
15+
default 2048
16+
endif
1117
endif
1218

1319
source "$RTT_DIR/components/cplusplus/Kconfig"

0 commit comments

Comments
 (0)