You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/04/25 19:13:37 UTC

[incubator-nuttx-apps] branch master updated: Fix errors from DEFAULT_TASK_SIZE change

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b2e06b  Fix errors from DEFAULT_TASK_SIZE change
7b2e06b is described below

commit 7b2e06b674841e9c9144e6d90451aaee2b5ce943
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Sat Apr 25 11:04:31 2020 -0600

    Fix errors from DEFAULT_TASK_SIZE change
    
    There were several places where default sector and buffer sizes of 2048 were changed to DEFAULT_TASK_STACKSIZE.  This is not correct.  This was noted by Xiao Xiang.
---
 examples/mount/Kconfig      | 2 +-
 netutils/libcurl4nx/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/mount/Kconfig b/examples/mount/Kconfig
index 499e98d..81e80ea 100644
--- a/examples/mount/Kconfig
+++ b/examples/mount/Kconfig
@@ -35,7 +35,7 @@ if !EXAMPLES_MOUNT_BLOCKDEVICE
 
 config EXAMPLES_MOUNT_NSECTORS
 	int "RAM disk number of sectors"
-	default DEFAULT_TASK_STACKSIZE
+	default 2048
 	---help---
 		The number of "sectors" in the RAM disk used when
 		EXAMPLES_MOUNT_BLOCKDEVICE is not selected.
diff --git a/netutils/libcurl4nx/Kconfig b/netutils/libcurl4nx/Kconfig
index d6466ff..1737377 100644
--- a/netutils/libcurl4nx/Kconfig
+++ b/netutils/libcurl4nx/Kconfig
@@ -44,6 +44,6 @@ config LIBCURL4NX_MINRXBUFLEN
 
 config LIBCURL4NX_MAXRXBUFLEN
 	int "Maximum RX buffer size for CURL4NXOPT_BUFFERSIZE"
-	default DEFAULT_TASK_STACKSIZE
+	default 2048
 
 endif