From c9c1d2bbc65ef98dcd29784733562058273636c7 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 27 Mar 2020 15:24:32 +0900 Subject: [PATCH] Change the default of stack size configs to DEFAULT_TASK_STACKSIZE Where: * Under examples and testing * And the default value is less than 2048 Using a bit more memory for examples and tests should not be a critical problem. --- examples/i2schar/Kconfig | 4 ++-- netutils/netinit/Kconfig | 2 +- testing/getprime/Kconfig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/i2schar/Kconfig b/examples/i2schar/Kconfig index 890b3783f..00086d2ca 100644 --- a/examples/i2schar/Kconfig +++ b/examples/i2schar/Kconfig @@ -37,7 +37,7 @@ config EXAMPLES_I2SCHAR_TXBUFFERS config EXAMPLES_I2SCHAR_TXSTACKSIZE int "Transmitter thread stack size" - default 1536 + default DEFAULT_TASK_STACKSIZE ---help--- This is the stack size to use when starting the transmitter thread. @@ -62,7 +62,7 @@ config EXAMPLES_I2SCHAR_RXBUFFERS config EXAMPLES_I2SCHAR_RXSTACKSIZE int "Receiver thread stack size" - default 1536 + default DEFAULT_TASK_STACKSIZE ---help--- This is the stack size to use when starting the receiver thread. diff --git a/netutils/netinit/Kconfig b/netutils/netinit/Kconfig index e6856a882..4f0e31a05 100644 --- a/netutils/netinit/Kconfig +++ b/netutils/netinit/Kconfig @@ -109,7 +109,7 @@ endif # NETINIT_MONITOR config NETINIT_THREAD_STACKSIZE int "Network initialization thread stack size" - default 1568 + default DEFAULT_TASK_STACKSIZE config NETINIT_THREAD_PRIORITY int "Network initialization thread priority" diff --git a/testing/getprime/Kconfig b/testing/getprime/Kconfig index d59fd80a7..5085ac783 100644 --- a/testing/getprime/Kconfig +++ b/testing/getprime/Kconfig @@ -25,6 +25,6 @@ config TESTING_GETPRIME_PRIORITY config TESTING_GETPRIME_STACKSIZE int "getprime stack size" - default 1024 + default DEFAULT_TASK_STACKSIZE endif