Browse Source

[添加]:添加IDLE_THREAD_STACK_SIZE设置。空闲进程栈大小。

SummerGift 7 years ago
parent
commit
01aa54de2f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/KConfig

+ 4 - 0
src/KConfig

@@ -56,6 +56,10 @@ config RT_USING_HOOK
     default y
     default y
     help
     help
         Enable the hook function when system running, such as idle thread hook, thread context switch etc.
         Enable the hook function when system running, such as idle thread hook, thread context switch etc.
+        
+config IDLE_THREAD_STACK_SIZE
+    int "The stack size of IDLE thread"
+    default 1024  
 
 
 config RT_USING_TIMER_SOFT
 config RT_USING_TIMER_SOFT
     bool "Enable software timer with a timer thread"
     bool "Enable software timer with a timer thread"