From b26ad476ffdf6081e6f614325ba60e00350a48f2 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Mon, 24 Feb 2014 22:40:02 +0100 Subject: [PATCH] added documentation of configuring the right debug stack size for uart0 module --- sys/chardev_thread.c | 1 + sys/uart0/uart0.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/chardev_thread.c b/sys/chardev_thread.c index 875c687f88..343ebba544 100644 --- a/sys/chardev_thread.c +++ b/sys/chardev_thread.c @@ -27,6 +27,7 @@ #include "ringbuffer.h" #include "posix_io.h" +/* increase stack size in uart0 when setting this to 1 */ #define ENABLE_DEBUG (0) #include "debug.h" diff --git a/sys/uart0/uart0.c b/sys/uart0/uart0.c index a37b456e67..2334b1d484 100644 --- a/sys/uart0/uart0.c +++ b/sys/uart0/uart0.c @@ -35,6 +35,7 @@ #define UART0_BUFSIZE (128) #endif +/* increase when ENABLE_DEBUG in chardev_thread is set to 1! */ #define UART0_STACKSIZE (MINIMUM_STACK_SIZE + 256) ringbuffer_t uart0_ringbuffer;