mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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:
parent
b72b4e4bad
commit
7d457b4d0b
2 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue