mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #776 from OlegHahm/uart0_stack_documentation
added documentation of configuring the right debug stack size for uart0 module
This commit is contained in:
commit
b1fc8d7846
@ -27,6 +27,7 @@
|
|||||||
#include "ringbuffer.h"
|
#include "ringbuffer.h"
|
||||||
#include "posix_io.h"
|
#include "posix_io.h"
|
||||||
|
|
||||||
|
/* increase stack size in uart0 when setting this to 1 */
|
||||||
#define ENABLE_DEBUG (0)
|
#define ENABLE_DEBUG (0)
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#define UART0_BUFSIZE (128)
|
#define UART0_BUFSIZE (128)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* increase when ENABLE_DEBUG in chardev_thread is set to 1! */
|
||||||
#define UART0_STACKSIZE (MINIMUM_STACK_SIZE + 256)
|
#define UART0_STACKSIZE (MINIMUM_STACK_SIZE + 256)
|
||||||
|
|
||||||
ringbuffer_t uart0_ringbuffer;
|
ringbuffer_t uart0_ringbuffer;
|
||||||
|
Loading…
Reference in New Issue
Block a user