File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,18 @@ config INTERPRETERS_WAMR_TAIL_CALL
119
119
120
120
config INTERPRETERS_WAMR_STACK_GUARD_SIZE
121
121
int "Custom stack guard size"
122
- default 0
122
+ default 1024
123
123
---help---
124
- Reserve some space in stack as guard to detect stack overflow,
125
- use stack base by default but may not safe enough.
124
+ Reserve some space in stack as guard to detect stack overflow.
125
+
126
+ Please consider this extra stack consumption when deciding the stack
127
+ size of your NuttX task on which you run WAMR.
128
+
129
+ The default value here (1024) was chosen to match the default value on
130
+ the majority of other platforms, including Linux. It also matches
131
+ the expections in the WAMR AoT compiler.
132
+ On the other hand, it might be a bit larger than what's strictly
133
+ necessary, especially for typical NuttX targets.
126
134
127
135
config INTERPRETERS_WAMR_THREAD_MGR
128
136
bool "Enable thread manager"
You can’t perform that action at this time.
0 commit comments