pipe: modify default stack size to fix stack overflow

Change-Id: I16910ff216db6b915d7c1cc4084c0b79228769a5
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong 2021-07-07 15:58:35 +08:00 committed by Xiang Xiao
parent b72b4e4bad
commit 7d457b4d0b
2 changed files with 5 additions and 4 deletions

View file

@ -11,4 +11,9 @@ config EXAMPLES_PIPE
Enable the pipe example
if EXAMPLES_PIPE
config EXAMPLES_PIPE_STACKSIZE
int "pipe stack size"
default DEFAULT_TASK_STACKSIZE
endif

View file

@ -36,10 +36,6 @@
#define FIFO_PATH1 "/tmp/testfifo-1"
#define FIFO_PATH2 "/tmp/testfifo-2"
#ifndef CONFIG_EXAMPLES_PIPE_STACKSIZE
# define CONFIG_EXAMPLES_PIPE_STACKSIZE 1024
#endif
/****************************************************************************
* Public Types
****************************************************************************/