Use KERN_MINSTACKSIZE and PROC_DEFINE_STACK in all tests.
[bertos.git] / bertos / kern / idle.c
index e5713e83520e728c024658331c30809cc51b3b6a..810560a1a790f6d4a5ed96ff80f66b7354a57d8f 100644 (file)
@@ -41,7 +41,8 @@
 #include <cfg/module.h>
 
 
-static cpu_stack_t idle_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpu_stack_t)];
+// below there's a TRACE so we need a big stack
+PROC_DEFINE_STACK(idle_stack, KERN_MINSTACKSIZE * 2);
 
 /**
  * The idle process