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

[incubator-nuttx] 01/03: Kconfig: change the stack size default to DEFAULT_TASK_STACKSIZE

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

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

commit 6ad91aeb050b185e3d32a61e9fcae0e6ccbb0967
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Apr 18 00:25:31 2020 +0800

    Kconfig: change the stack size default to DEFAULT_TASK_STACKSIZE
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 boards/arm/stm32/stm3240g-eval/Kconfig      | 2 +-
 boards/arm/stm32/viewtool-stm32f107/Kconfig | 2 +-
 drivers/rptun/Kconfig                       | 2 +-
 drivers/usbdev/Kconfig                      | 2 +-
 drivers/usbmonitor/Kconfig                  | 2 +-
 graphics/Kconfig                            | 2 +-
 graphics/vnc/server/Kconfig                 | 4 ++--
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/boards/arm/stm32/stm3240g-eval/Kconfig b/boards/arm/stm32/stm3240g-eval/Kconfig
index 5c984e6..5f7a4b6 100644
--- a/boards/arm/stm32/stm3240g-eval/Kconfig
+++ b/boards/arm/stm32/stm3240g-eval/Kconfig
@@ -61,7 +61,7 @@ config STM3240G_BOARDINIT_PRIO
 
 config STM3240G_BOARDINIT_STACK
 	int "Board initialization thread Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		If BOARD_LATE_INITIALIZE initialize is defined, then the function
 		board_late_initialize() will be called to perform board-specific
diff --git a/boards/arm/stm32/viewtool-stm32f107/Kconfig b/boards/arm/stm32/viewtool-stm32f107/Kconfig
index 35adc88..86c7ebd 100644
--- a/boards/arm/stm32/viewtool-stm32f107/Kconfig
+++ b/boards/arm/stm32/viewtool-stm32f107/Kconfig
@@ -97,7 +97,7 @@ config VIEWTOOL_MAX3421E_PWR
 
 config VIEWTOOL_MAX3421E_CONNMON_STACKSIZE
 	int "MAX3421E USB connection monitor stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config VIEWTOOL_MAX3421E_CONNMON_PRIORITY
 	int "MAX3421E USB connection monitor priority"
diff --git a/drivers/rptun/Kconfig b/drivers/rptun/Kconfig
index 9845f16..1970f43 100644
--- a/drivers/rptun/Kconfig
+++ b/drivers/rptun/Kconfig
@@ -18,6 +18,6 @@ config RPTUN_PRIORITY
 
 config RPTUN_STACKSIZE
 	int "rptun stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # RPTUN
diff --git a/drivers/usbdev/Kconfig b/drivers/usbdev/Kconfig
index ac95c38..8512e27 100644
--- a/drivers/usbdev/Kconfig
+++ b/drivers/usbdev/Kconfig
@@ -718,7 +718,7 @@ config USBMSC_SCSI_PRIO
 
 config USBMSC_SCSI_STACKSIZE
 	int "USBMSC SCSI daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Stack size used with the SCSI kernel thread.  The default value
 		is not tuned.
diff --git a/drivers/usbmonitor/Kconfig b/drivers/usbmonitor/Kconfig
index 59c1aed..239817f 100644
--- a/drivers/usbmonitor/Kconfig
+++ b/drivers/usbmonitor/Kconfig
@@ -21,7 +21,7 @@ if USBMONITOR
 
 config USBMONITOR_STACKSIZE
 	int "USB Monitor daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stack size to use the USB monitor daemon.  Default: 2048
 
diff --git a/graphics/Kconfig b/graphics/Kconfig
index 8c2470f..ba90c12 100644
--- a/graphics/Kconfig
+++ b/graphics/Kconfig
@@ -514,7 +514,7 @@ config NXSTART_SERVERPRIO
 
 config NXSTART_SERVERSTACK
 	int "NX Server Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		NX server thread stack size (in multi-user mode).  Default 2048
 
diff --git a/graphics/vnc/server/Kconfig b/graphics/vnc/server/Kconfig
index c0158a3..541c170 100644
--- a/graphics/vnc/server/Kconfig
+++ b/graphics/vnc/server/Kconfig
@@ -44,7 +44,7 @@ config VNCSERVER_PRIO
 
 config VNCSERVER_STACKSIZE
 	int "VNC server stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config VNCSERVER_UPDATER_PRIO
 	int "VNC updater thread priority"
@@ -52,7 +52,7 @@ config VNCSERVER_UPDATER_PRIO
 
 config VNCSERVER_UPDATER_STACKSIZE
 	int "VNC updater thread stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 choice
 	prompt "VNC color format"