You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/03/27 07:43:25 UTC
[incubator-nuttx-apps] 05/07: Change the default of stack size
configs to DEFAULT_TASK_STACKSIZE
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit c9c1d2bbc65ef98dcd29784733562058273636c7
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Mar 27 15:24:32 2020 +0900
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 890b378..00086d2 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 e6856a8..4f0e31a 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 d59fd80..5085ac7 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