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
119119
120120config INTERPRETERS_WAMR_STACK_GUARD_SIZE
121121	int "Custom stack guard size"
122- 	default 0 
122+ 	default 1024 
123123	---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.
126134
127135config INTERPRETERS_WAMR_THREAD_MGR
128136	bool "Enable thread manager"
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments