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 @@ -103,10 +103,18 @@ config INTERPRETERS_WAMR_ENABLE_SPEC_TEST
103103
104104config INTERPRETERS_WAMR_STACK_GUARD_SIZE
105105	int "Custom stack guard size"
106- 	default 0 
106+ 	default 1024 
107107	---help---
108- 		Reserve some space in stack as guard to detect stack overflow,
109- 		use stack base by default but may not safe enough.
108+ 		Reserve some space in stack as guard to detect stack overflow.
109+ 
110+ 		Please consider this extra stack consumption when deciding the stack
111+ 		size of your NuttX task on which you run WAMR.
112+ 
113+ 		The default value here (1024) was chosen to match the default value on
114+ 		the majority of other platforms, including Linux. It also matches
115+ 		the expections in the WAMR AoT compiler.
116+ 		On the other hand, it might be a bit larger than what's strictly
117+ 		necessary, especially for typical NuttX targets.
110118
111119config INTERPRETERS_WAMR_THREAD_MGR
112120	bool "Enable thread manager"
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments