Add test ARCH; remove macros.h dependency to allow to include this file also in prepr...
[bertos.git] / bertos / kern / idle.c
index 116328ecf7fd54452e9b6c4a2a03ee63f425de34..229058bd4ba1c0e538a591baeda3e907ef1d2639 100644 (file)
  * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
+#include "idle.h"
 #include "proc.h"
 
 #include <cfg/module.h>
 
 
-static cpustack_t idle_stack[CONFIG_PROC_DEFSTACKSIZE / sizeof(cpustack_t)];
+static cpustack_t idle_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpustack_t)];
 
 /**
  * The idle process