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