add IDLE_THREAD_STACK_SIZE in rtconfig.h

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1306 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
wuyangyong 2011-03-04 09:16:41 +00:00
parent b495cb50fc
commit 7bc4fe3b74
1 changed files with 2 additions and 0 deletions

View File

@ -17,11 +17,13 @@
#include <rtthread.h>
#include "kservice.h"
#ifndef IDLE_THREAD_STACK_SIZE
#if defined (RT_USING_HOOK) || defined(RT_USING_HEAP)
#define IDLE_THREAD_STACK_SIZE 256
#else
#define IDLE_THREAD_STACK_SIZE 128
#endif
#endif
static struct rt_thread idle;
ALIGN(RT_ALIGN_SIZE)