diff --git a/examples/pipe/Kconfig b/examples/pipe/Kconfig index 4d835ad43..48710e5d2 100644 --- a/examples/pipe/Kconfig +++ b/examples/pipe/Kconfig @@ -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 diff --git a/examples/pipe/pipe.h b/examples/pipe/pipe.h index 59e38c573..277ed673d 100644 --- a/examples/pipe/pipe.h +++ b/examples/pipe/pipe.h @@ -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 ****************************************************************************/