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:22 UTC

[incubator-nuttx-apps] 02/07: Change the defaults 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 e7156be066c7427e2afb56521c3eaf56d7623e25
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Mar 27 14:10:33 2020 +0900

    Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
    
    This commit changes only ones with the default 2048 and
    leaves the others.
    E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
    I guess those need to be inspected one-by-one.
---
 examples/abntcodi/Kconfig           | 2 +-
 examples/adxl372_test/Kconfig       | 2 +-
 examples/alarm/Kconfig              | 2 +-
 examples/apds9960/Kconfig           | 2 +-
 examples/audio_rttl/Kconfig         | 2 +-
 examples/battery/Kconfig            | 2 +-
 examples/bmi160/Kconfig             | 2 +-
 examples/bmp180/Kconfig             | 2 +-
 examples/bridge/Kconfig             | 4 ++--
 examples/buttons/Kconfig            | 2 +-
 examples/canard/Kconfig             | 2 +-
 examples/charger/Kconfig            | 2 +-
 examples/chrono/Kconfig             | 2 +-
 examples/cpuhog/Kconfig             | 2 +-
 examples/dhtxx/Kconfig              | 2 +-
 examples/dsptest/Kconfig            | 2 +-
 examples/embedlog/Kconfig           | 2 +-
 examples/fb/Kconfig                 | 2 +-
 examples/fboverlay/Kconfig          | 2 +-
 examples/flowc/Kconfig              | 4 ++--
 examples/ft80x/Kconfig              | 2 +-
 examples/ftpd/Kconfig               | 2 +-
 examples/gpio/Kconfig               | 2 +-
 examples/gps/Kconfig                | 2 +-
 examples/hello/Kconfig              | 2 +-
 examples/hidkbd/Kconfig             | 2 +-
 examples/ina219/Kconfig             | 2 +-
 examples/ina226/Kconfig             | 2 +-
 examples/ini_dumper/Kconfig         | 2 +-
 examples/ipforward/Kconfig          | 2 +-
 examples/leds/Kconfig               | 2 +-
 examples/lsm330spi_test/Kconfig     | 2 +-
 examples/max31855/Kconfig           | 2 +-
 examples/mld/Kconfig                | 2 +-
 examples/modbusmaster/Kconfig       | 2 +-
 examples/mount/Kconfig              | 2 +-
 examples/netlink_route/Kconfig      | 2 +-
 examples/netloop/Kconfig            | 2 +-
 examples/nettest/Kconfig            | 6 +++---
 examples/nx/Kconfig                 | 2 +-
 examples/nxhello/Kconfig            | 4 ++--
 examples/nximage/Kconfig            | 4 ++--
 examples/nxlines/Kconfig            | 4 ++--
 examples/nxterm/Kconfig             | 2 +-
 examples/nxtext/Kconfig             | 2 +-
 examples/oneshot/Kconfig            | 2 +-
 examples/pdcurses/Kconfig           | 2 +-
 examples/pf_ieee802154/Kconfig      | 4 ++--
 examples/popen/Kconfig              | 2 +-
 examples/pppd/Kconfig               | 2 +-
 examples/pty_test/Kconfig           | 2 +-
 examples/pwfb/Kconfig               | 4 ++--
 examples/pwlines/Kconfig            | 4 ++--
 examples/rfid_readuid/Kconfig       | 2 +-
 examples/rgbled/Kconfig             | 2 +-
 examples/serialblaster/Kconfig      | 2 +-
 examples/serialrx/Kconfig           | 2 +-
 examples/stat/Kconfig               | 2 +-
 examples/system/Kconfig             | 2 +-
 examples/tcpblaster/Kconfig         | 6 +++---
 examples/telnetd/Kconfig            | 4 ++--
 examples/timer/Kconfig              | 2 +-
 examples/udp/Kconfig                | 4 ++--
 examples/udpblaster/Kconfig         | 2 +-
 examples/uid/Kconfig                | 2 +-
 examples/userfs/Kconfig             | 2 +-
 examples/veml6070/Kconfig           | 2 +-
 examples/xbc_test/Kconfig           | 2 +-
 graphics/nxwidgets/Kconfig          | 2 +-
 graphics/nxwm/Kconfig               | 8 ++++----
 graphics/twm4nx/Kconfig             | 2 +-
 netutils/ftpd/Kconfig               | 2 +-
 netutils/libcurl4nx/Kconfig         | 2 +-
 netutils/ntpclient/Kconfig          | 2 +-
 netutils/thttpd/Kconfig             | 2 +-
 nshlib/Kconfig                      | 4 ++--
 system/cfgdata/Kconfig              | 2 +-
 system/critmon/Kconfig              | 4 ++--
 system/cu/Kconfig                   | 2 +-
 system/dhcpc/Kconfig                | 2 +-
 system/hexed/Kconfig                | 2 +-
 system/lzf/Kconfig                  | 2 +-
 system/netdb/Kconfig                | 2 +-
 system/nsh/Kconfig                  | 2 +-
 system/ntpc/Kconfig                 | 2 +-
 system/nxplayer/Kconfig             | 2 +-
 system/ping/Kconfig                 | 2 +-
 system/ping6/Kconfig                | 2 +-
 system/psmq/Kconfig                 | 6 +++---
 system/sched_note/Kconfig           | 2 +-
 system/setlogmask/Kconfig           | 2 +-
 system/spi/Kconfig                  | 2 +-
 system/stackmonitor/Kconfig         | 2 +-
 system/taskset/Kconfig              | 2 +-
 system/telnet/Kconfig               | 4 ++--
 system/usrsock_rpmsg/Kconfig        | 2 +-
 system/vi/Kconfig                   | 2 +-
 system/zmodem/Kconfig               | 2 +-
 testing/fstest/Kconfig              | 2 +-
 testing/mm/Kconfig                  | 2 +-
 testing/ostest/Kconfig              | 2 +-
 testing/scanftest/Kconfig           | 2 +-
 testing/smp/Kconfig                 | 2 +-
 wireless/bluetooth/btsak/Kconfig    | 2 +-
 wireless/gs2200m/Kconfig            | 2 +-
 wireless/ieee802154/i8shark/Kconfig | 2 +-
 wireless/iwpan/Kconfig              | 2 +-
 wireless/wapi/Kconfig               | 2 +-
 108 files changed, 130 insertions(+), 130 deletions(-)

diff --git a/examples/abntcodi/Kconfig b/examples/abntcodi/Kconfig
index 4154492..6f55315 100644
--- a/examples/abntcodi/Kconfig
+++ b/examples/abntcodi/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_ABNTCODI_PRIORITY
 
 config EXAMPLES_ABNTCODI_STACKSIZE
 	int "ABNTCODI stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/adxl372_test/Kconfig b/examples/adxl372_test/Kconfig
index 19e9c83..9f04a57 100644
--- a/examples/adxl372_test/Kconfig
+++ b/examples/adxl372_test/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_ADXL372_TEST_PRIORITY
 
 config EXAMPLES_ADXL372_TEST_STACKSIZE
 	int "adxl372_test stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/alarm/Kconfig b/examples/alarm/Kconfig
index b55c986..e36961f 100644
--- a/examples/alarm/Kconfig
+++ b/examples/alarm/Kconfig
@@ -25,7 +25,7 @@ config EXAMPLES_ALARM_PRIORITY
 
 config EXAMPLES_ALARM_STACKSIZE
 	int "Alarm stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_ALARM_DEVPATH
 	string "RTC device path"
diff --git a/examples/apds9960/Kconfig b/examples/apds9960/Kconfig
index 0de5d40..30caec2 100644
--- a/examples/apds9960/Kconfig
+++ b/examples/apds9960/Kconfig
@@ -31,6 +31,6 @@ config EXAMPLES_APDS9960_PRIORITY
 
 config EXAMPLES_APDS9960_STACKSIZE
 	int "APDS-9960 Test stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/audio_rttl/Kconfig b/examples/audio_rttl/Kconfig
index 7cff98e..2dae260 100644
--- a/examples/audio_rttl/Kconfig
+++ b/examples/audio_rttl/Kconfig
@@ -21,6 +21,6 @@ config EXAMPLES_AUDIO_SOUND_PRIORITY
 
 config EXAMPLES_AUDIO_SOUND_STACKSIZE
 	int "Audio sound stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/battery/Kconfig b/examples/battery/Kconfig
index 0f1a5eb..3e532d3 100644
--- a/examples/battery/Kconfig
+++ b/examples/battery/Kconfig
@@ -28,5 +28,5 @@ config EXAMPLES_BATTERY_PRIORITY
 
 config EXAMPLES_BATTERY_STACKSIZE
 	int "Battery stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 endif
diff --git a/examples/bmi160/Kconfig b/examples/bmi160/Kconfig
index 019ca08..c84b3af 100644
--- a/examples/bmi160/Kconfig
+++ b/examples/bmi160/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_SIXAXIS_PRIORITY
 
 config EXAMPLES_SIXAXIS_STACKSIZE
 	int "sixaxis stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/bmp180/Kconfig b/examples/bmp180/Kconfig
index de96192..f2b63ac 100644
--- a/examples/bmp180/Kconfig
+++ b/examples/bmp180/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_BMP180_PRIORITY
 
 config EXAMPLES_BMP180_STACKSIZE
 	int "BMP180 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/bridge/Kconfig b/examples/bridge/Kconfig
index 9380312..a499d30 100644
--- a/examples/bridge/Kconfig
+++ b/examples/bridge/Kconfig
@@ -95,7 +95,7 @@ config EXAMPLES_BRIDGE_NET1_HOSTPORT
 
 config EXAMPLES_BRIDGE_NET1_STACKSIZE
 	int "Network 1 daemon stacksize"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_BRIDGE_NET1_PRIORITY
 	int "Network 1 daemon task priority"
@@ -177,7 +177,7 @@ config EXAMPLES_BRIDGE_NET2_HOSTPORT
 
 config EXAMPLES_BRIDGE_NET2_STACKSIZE
 	int "Network 2 daemon stacksize"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_BRIDGE_NET2_PRIORITY
 	int "Network 2 daemon task priority"
diff --git a/examples/buttons/Kconfig b/examples/buttons/Kconfig
index c2731eb..42150b3 100644
--- a/examples/buttons/Kconfig
+++ b/examples/buttons/Kconfig
@@ -25,7 +25,7 @@ config EXAMPLES_BUTTONS_PRIORITY
 
 config EXAMPLES_BUTTONS_STACKSIZE
 	int "Button stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_BUTTONS_DEVPATH
 	string "Button device path"
diff --git a/examples/canard/Kconfig b/examples/canard/Kconfig
index b52a2a0..6595aee 100644
--- a/examples/canard/Kconfig
+++ b/examples/canard/Kconfig
@@ -43,6 +43,6 @@ config EXAMPLES_LIBCANARD_DAEMON_PRIORITY
 
 config EXAMPLES_LIBCANARD_STACKSIZE
 	int "canard stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/charger/Kconfig b/examples/charger/Kconfig
index b9a98f1..94629be 100644
--- a/examples/charger/Kconfig
+++ b/examples/charger/Kconfig
@@ -26,6 +26,6 @@ config EXAMPLES_CHARGER_PRIORITY
 
 config EXAMPLES_CHARGER_STACKSIZE
 	int "charger stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/chrono/Kconfig b/examples/chrono/Kconfig
index c6bc6ee..26c02ee 100644
--- a/examples/chrono/Kconfig
+++ b/examples/chrono/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_CHRONO_PRIORITY
 
 config EXAMPLES_CHRONO_STACKSIZE
 	int "Chrono stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/cpuhog/Kconfig b/examples/cpuhog/Kconfig
index 12285c8..9384eb5 100644
--- a/examples/cpuhog/Kconfig
+++ b/examples/cpuhog/Kconfig
@@ -14,7 +14,7 @@ if EXAMPLES_CPUHOG
 
 config EXAMPLES_CPUHOG_STACKSIZE
 	int "CPU hog stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_CPUHOG_PRIORITY
 	int "CPU hog task priority"
diff --git a/examples/dhtxx/Kconfig b/examples/dhtxx/Kconfig
index 08e80ff..7ba8c50 100644
--- a/examples/dhtxx/Kconfig
+++ b/examples/dhtxx/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_DHTXX_PRIORITY
 
 config EXAMPLES_DHTXX_STACKSIZE
 	int "Dhtxx stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/dsptest/Kconfig b/examples/dsptest/Kconfig
index ddbf048..4ecda43 100644
--- a/examples/dsptest/Kconfig
+++ b/examples/dsptest/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_DSPTEST_PRIORITY
 
 config EXAMPLES_DSPTEST_STACKSIZE
 	int "Dsptest stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/embedlog/Kconfig b/examples/embedlog/Kconfig
index f794642..8d92d73 100644
--- a/examples/embedlog/Kconfig
+++ b/examples/embedlog/Kconfig
@@ -36,7 +36,7 @@ config EXAMPLES_EMBEDLOG_PRIORITY
 
 config EXAMPLES_EMBEDLOG_STACKSIZE
 	int "embedlog example stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif #EXAMPLES_EMBEDLOG
 endif #SYSTEM_EMBEDLOG
diff --git a/examples/fb/Kconfig b/examples/fb/Kconfig
index 038c41a..5029a89 100644
--- a/examples/fb/Kconfig
+++ b/examples/fb/Kconfig
@@ -38,6 +38,6 @@ config EXAMPLES_FB_PRIORITY
 
 config EXAMPLES_FB_STACKSIZE
 	int "Stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/fboverlay/Kconfig b/examples/fboverlay/Kconfig
index 92e1b9a..a13bfcf 100644
--- a/examples/fboverlay/Kconfig
+++ b/examples/fboverlay/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_FBOVERLAY_PRIORITY
 
 config EXAMPLES_FBOVERLAY_STACKSIZE
 	int "Stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/flowc/Kconfig b/examples/flowc/Kconfig
index 1026926..793b67e 100644
--- a/examples/flowc/Kconfig
+++ b/examples/flowc/Kconfig
@@ -64,7 +64,7 @@ config EXAMPLES_FLOWC_PRIORITY1
 
 config EXAMPLES_FLOWC_STACKSIZE1
 	int "Target1 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_FLOWC_TARGET2
 	bool "Second endpoint is a target"
@@ -91,7 +91,7 @@ config EXAMPLES_FLOWC_PRIORITY2
 
 config EXAMPLES_FLOWC_STACKSIZE2
 	int "Target2 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # EXAMPLES_FLOWC_TARGET2
 
diff --git a/examples/ft80x/Kconfig b/examples/ft80x/Kconfig
index cbc06f5..7921a02 100644
--- a/examples/ft80x/Kconfig
+++ b/examples/ft80x/Kconfig
@@ -46,6 +46,6 @@ config EXAMPLES_FT80X_PRIORITY
 
 config EXAMPLES_FT80X_STACKSIZE
 	int "FT80x stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/ftpd/Kconfig b/examples/ftpd/Kconfig
index b363739..b2edd88 100644
--- a/examples/ftpd/Kconfig
+++ b/examples/ftpd/Kconfig
@@ -13,6 +13,6 @@ if EXAMPLES_FTPD
 
 config EXAMPLES_FTPD_STACKSIZE
 	int "FTP Daemon Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/gpio/Kconfig b/examples/gpio/Kconfig
index db97d08..954076a 100644
--- a/examples/gpio/Kconfig
+++ b/examples/gpio/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_GPIO_PRIORITY
 
 config EXAMPLES_GPIO_STACKSIZE
 	int "GPIO stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/gps/Kconfig b/examples/gps/Kconfig
index 9b45742..c69d054 100644
--- a/examples/gps/Kconfig
+++ b/examples/gps/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_GPS_PRIORITY
 
 config EXAMPLES_GPS_STACKSIZE
 	int "GPS stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/hello/Kconfig b/examples/hello/Kconfig
index 3ae0960..a35bddc 100644
--- a/examples/hello/Kconfig
+++ b/examples/hello/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_HELLO_PRIORITY
 
 config EXAMPLES_HELLO_STACKSIZE
 	int "Hello stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/hidkbd/Kconfig b/examples/hidkbd/Kconfig
index 6e2d5a5..381bbf7 100644
--- a/examples/hidkbd/Kconfig
+++ b/examples/hidkbd/Kconfig
@@ -20,7 +20,7 @@ config EXAMPLES_HIDKBD_PROGNAME
 
 config EXAMPLES_HIDKBD_STACKSIZE
 	int "Task stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_HIDKBD_DEFPRIO
 	int "Task priority"
diff --git a/examples/ina219/Kconfig b/examples/ina219/Kconfig
index efa0d1e..c5fd860 100644
--- a/examples/ina219/Kconfig
+++ b/examples/ina219/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_INA219_PRIORITY
 
 config EXAMPLES_INA219_STACKSIZE
 	int "INA219 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/ina226/Kconfig b/examples/ina226/Kconfig
index 894ef81..289b30b 100644
--- a/examples/ina226/Kconfig
+++ b/examples/ina226/Kconfig
@@ -36,6 +36,6 @@ config EXAMPLES_INA226_PRIORITY
 
 config EXAMPLES_INA226_STACKSIZE
 	int "INA226 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/ini_dumper/Kconfig b/examples/ini_dumper/Kconfig
index 27f6997..89a0c19 100644
--- a/examples/ini_dumper/Kconfig
+++ b/examples/ini_dumper/Kconfig
@@ -26,7 +26,7 @@ config EXAMPLES_INI_DUMPER_PRIORITY
 
 config EXAMPLES_INI_DUMPER_STACKSIZE
 	int "ini dumper example stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif #EXAMPLES_INI_DUMPER
 endif #SYSTEM_INI_DUMPER
diff --git a/examples/ipforward/Kconfig b/examples/ipforward/Kconfig
index 4ae0add..951eae3 100644
--- a/examples/ipforward/Kconfig
+++ b/examples/ipforward/Kconfig
@@ -40,6 +40,6 @@ config EXAMPLES_IPFORWARD_PRIORITY
 
 config EXAMPLES_IPFORWARD_STACKSIZE
 	int "IP forwarding stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/leds/Kconfig b/examples/leds/Kconfig
index 6246538..6f1f092 100644
--- a/examples/leds/Kconfig
+++ b/examples/leds/Kconfig
@@ -25,7 +25,7 @@ config EXAMPLES_LEDS_PRIORITY
 
 config EXAMPLES_LEDS_STACKSIZE
 	int "LED stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_LEDS_DEVPATH
 	string "LED device path"
diff --git a/examples/lsm330spi_test/Kconfig b/examples/lsm330spi_test/Kconfig
index 258f736..5f5efee 100644
--- a/examples/lsm330spi_test/Kconfig
+++ b/examples/lsm330spi_test/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_LSM330SPI_TEST_PRIORITY
 
 config EXAMPLES_LSM330SPI_TEST_STACKSIZE
 	int "lsm330spi_test stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/max31855/Kconfig b/examples/max31855/Kconfig
index 7db0923..befbea8 100644
--- a/examples/max31855/Kconfig
+++ b/examples/max31855/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_MAX31855_PRIORITY
 
 config EXAMPLES_MAX31855_STACKSIZE
 	int "max31855 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/mld/Kconfig b/examples/mld/Kconfig
index af285c8..4816998 100644
--- a/examples/mld/Kconfig
+++ b/examples/mld/Kconfig
@@ -25,7 +25,7 @@ config EXAMPLES_MLD_PRIORITY
 
 config EXAMPLES_MLD_STACKSIZE
 	int "MLD example stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_MLD_INIT
 	bool "Initialize network"
diff --git a/examples/modbusmaster/Kconfig b/examples/modbusmaster/Kconfig
index f875270..5ebead0 100644
--- a/examples/modbusmaster/Kconfig
+++ b/examples/modbusmaster/Kconfig
@@ -24,7 +24,7 @@ config EXAMPLES_MODBUSMASTER_PRIORITY
 
 config EXAMPLES_MODBUSMASTER_STACKSIZE
 	int "Modbus Master stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_MODBUSMASTER_PORT
 	int "Modbus Master port (1 for /dev/ttyS1)"
diff --git a/examples/mount/Kconfig b/examples/mount/Kconfig
index 81e80ea..499e98d 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 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The number of "sectors" in the RAM disk used when
 		EXAMPLES_MOUNT_BLOCKDEVICE is not selected.
diff --git a/examples/netlink_route/Kconfig b/examples/netlink_route/Kconfig
index 3632576..10c12ec 100644
--- a/examples/netlink_route/Kconfig
+++ b/examples/netlink_route/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_NETLINK_ROUTE_PRIORITY
 
 config EXAMPLES_NETLINK_ROUTE_STACKSIZE
 	int "Stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/netloop/Kconfig b/examples/netloop/Kconfig
index b246320..38938fd 100644
--- a/examples/netloop/Kconfig
+++ b/examples/netloop/Kconfig
@@ -19,7 +19,7 @@ config EXAMPLES_NETLOOP_KEEPALIVE
 
 config EXAMPLES_NETLOOP_STACKSIZE
 	int "Loopback test stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_NETLOOP_PRIORITY
 	int "Loopback test task priority"
diff --git a/examples/nettest/Kconfig b/examples/nettest/Kconfig
index d7b76f5..5c3d31f 100644
--- a/examples/nettest/Kconfig
+++ b/examples/nettest/Kconfig
@@ -31,7 +31,7 @@ config EXAMPLES_NETTEST_PROGNAME1
 
 config EXAMPLES_NETTEST_STACKSIZE1
 	int "Target1 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_NETTEST_PRIORITY1
 	int "Target1 priority"
@@ -82,7 +82,7 @@ config EXAMPLES_NETTEST_PRIORITY2
 
 config EXAMPLES_NETTEST_STACKSIZE2
 	int "Target2 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # EXAMPLES_NETTEST_TARGET2
 endif # !EXAMPLES_NETTEST_LOOPBACK
@@ -90,7 +90,7 @@ endif # !EXAMPLES_NETTEST_LOOPBACK
 if EXAMPLES_NETTEST_LOOPBACK
 config EXAMPLES_NETTEST_DAEMON_STACKSIZE
 	int "Server daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_NETTEST_DAEMON_PRIORITY
 	int "Server daemon priority"
diff --git a/examples/nx/Kconfig b/examples/nx/Kconfig
index 4408646..7c5b834 100644
--- a/examples/nx/Kconfig
+++ b/examples/nx/Kconfig
@@ -81,7 +81,7 @@ comment "NX Server Options"
 
 config EXAMPLES_NX_STACKSIZE
 	int "NX Server Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when creating the NX server.  Default 2048
 
diff --git a/examples/nxhello/Kconfig b/examples/nxhello/Kconfig
index d9140e7..36c97cf 100644
--- a/examples/nxhello/Kconfig
+++ b/examples/nxhello/Kconfig
@@ -26,7 +26,7 @@ config EXAMPLES_NXHELLO_PRIORITY
 
 config EXAMPLES_NXHELLO_STACKSIZE
 	int "NX Hello stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_NXHELLO_BPP
 	int "Bits-Per-Pixel"
@@ -80,7 +80,7 @@ comment "NX Server Options"
 
 config EXAMPLES_NXHELLO_LISTENER_STACKSIZE
 	int "NX Server/Listener Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when creating the NX server.  Default 2048
 
diff --git a/examples/nximage/Kconfig b/examples/nximage/Kconfig
index c0310d5..b1ca1bb 100644
--- a/examples/nximage/Kconfig
+++ b/examples/nximage/Kconfig
@@ -26,7 +26,7 @@ config EXAMPLES_NXIMAGE_PRIORITY
 
 config EXAMPLES_NXIMAGE_STACKSIZE
 	int "NX Image stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_NXIMAGE_BPP
 	int "Bits-Per-Pixel"
@@ -94,7 +94,7 @@ comment "NX Server Options"
 
 config EXAMPLES_NXIMAGE_LISTENER_STACKSIZE
 	int "NX Server/Listener Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when creating the NX server.  Default 2048
 
diff --git a/examples/nxlines/Kconfig b/examples/nxlines/Kconfig
index 8437331..82bab9d 100644
--- a/examples/nxlines/Kconfig
+++ b/examples/nxlines/Kconfig
@@ -26,7 +26,7 @@ config EXAMPLES_NXLINES_PRIORITY
 
 config EXAMPLES_NXLINES_STACKSIZE
 	int "NX lines stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_NXLINES_DEFAULT_COLORS
 	bool "Use default colors"
@@ -89,7 +89,7 @@ comment "NX Server Options"
 
 config EXAMPLES_NXLINES_LISTENER_STACKSIZE
 	int "NX Server/Listener Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when creating the NX server.  Default 2048
 
diff --git a/examples/nxterm/Kconfig b/examples/nxterm/Kconfig
index 44bc3b4..d988163 100644
--- a/examples/nxterm/Kconfig
+++ b/examples/nxterm/Kconfig
@@ -26,7 +26,7 @@ config EXAMPLES_NXTERM_PRIORITY
 
 config EXAMPLES_NXTERM_STACKSIZE
 	int "NxTerm stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_NXTERM_LISTENERPRIO
 	int "Listener priority"
diff --git a/examples/nxtext/Kconfig b/examples/nxtext/Kconfig
index ed3f68c..d92c7fa 100644
--- a/examples/nxtext/Kconfig
+++ b/examples/nxtext/Kconfig
@@ -108,7 +108,7 @@ comment "NX Server Options"
 
 config EXAMPLES_NXTEXT_STACKSIZE
 	int "Listener Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when starting the NX listener.  Default 2048
 
diff --git a/examples/oneshot/Kconfig b/examples/oneshot/Kconfig
index d453ac9..e244d28 100644
--- a/examples/oneshot/Kconfig
+++ b/examples/oneshot/Kconfig
@@ -35,7 +35,7 @@ config EXAMPLES_ONESHOT_SIGNO
 
 config EXAMPLES_ONESHOT_STACKSIZE
 	int "Oneshot timer stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		This is the stack size allocated when the oneshot timer task runs
 
diff --git a/examples/pdcurses/Kconfig b/examples/pdcurses/Kconfig
index 5ab088f..60f38f0 100644
--- a/examples/pdcurses/Kconfig
+++ b/examples/pdcurses/Kconfig
@@ -17,6 +17,6 @@ config EXAMPLES_PDCURSES_PRIORITY
 
 config EXAMPLES_PDCURSES_STACKSIZE
 	int "pdcurses stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/pf_ieee802154/Kconfig b/examples/pf_ieee802154/Kconfig
index b431452..a124f3d 100644
--- a/examples/pf_ieee802154/Kconfig
+++ b/examples/pf_ieee802154/Kconfig
@@ -25,7 +25,7 @@ config EXAMPLES_PFIEEE802154_PRIORITY1
 
 config EXAMPLES_PFIEEE802154_STACKSIZE1
 	int "Target1 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_PFIEEE802154_PROGNAME2
 	string "Target2 program name"
@@ -40,6 +40,6 @@ config EXAMPLES_PFIEEE802154_PRIORITY2
 
 config EXAMPLES_PFIEEE802154_STACKSIZE2
 	int "Target2 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # EXAMPLES_PFIEEE802154
diff --git a/examples/popen/Kconfig b/examples/popen/Kconfig
index 0292dfc..3b2eba2 100644
--- a/examples/popen/Kconfig
+++ b/examples/popen/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_POPEN_PRIORITY
 
 config EXAMPLES_POPEN_STACKSIZE
 	int "Popen stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/pppd/Kconfig b/examples/pppd/Kconfig
index bceb7e8..0701a1e 100644
--- a/examples/pppd/Kconfig
+++ b/examples/pppd/Kconfig
@@ -14,6 +14,6 @@ if EXAMPLES_PPPD
 
 config EXAMPLES_PPPD_STACKSIZE
 	int "pppd example stack stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/pty_test/Kconfig b/examples/pty_test/Kconfig
index be9b2ca..8448693 100644
--- a/examples/pty_test/Kconfig
+++ b/examples/pty_test/Kconfig
@@ -34,7 +34,7 @@ config EXAMPLES_PTYTEST_PRIORITY
 
 config EXAMPLES_PTYTEST_STACKSIZE
 	int "PTYTest stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_PTYTEST_DAEMONPRIO
 	int "PTY_Test daemon task priority"
diff --git a/examples/pwfb/Kconfig b/examples/pwfb/Kconfig
index 1feff75..4c72205 100644
--- a/examples/pwfb/Kconfig
+++ b/examples/pwfb/Kconfig
@@ -108,7 +108,7 @@ config EXAMPLES_PWFB_PROGNAME
 
 config EXAMPLES_PWFB_CLIENT_STACKSIZE
 	int "Example Main Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when starting the example main().
 		Default 2048
@@ -123,7 +123,7 @@ config EXAMPLES_PWFB_CLIENT_PRIO
 
 config EXAMPLES_PWFB_LISTENER_STACKSIZE
 	int "Listener Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when creating the NX server.  Default 2048
 
diff --git a/examples/pwlines/Kconfig b/examples/pwlines/Kconfig
index 74518b1..02dd2f8 100644
--- a/examples/pwlines/Kconfig
+++ b/examples/pwlines/Kconfig
@@ -107,7 +107,7 @@ config EXAMPLES_PWLINES_PROGNAME
 
 config EXAMPLES_PWLINES_CLIENT_STACKSIZE
 	int "Example Main Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when starting the example main().
 		Default 2048
@@ -122,7 +122,7 @@ config EXAMPLES_PWLINES_CLIENT_PRIO
 
 config EXAMPLES_PWLINES_LISTENER_STACKSIZE
 	int "Listener Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stacksize to use when creating the NX server.  Default 2048
 
diff --git a/examples/rfid_readuid/Kconfig b/examples/rfid_readuid/Kconfig
index 511fa9f..e117062 100644
--- a/examples/rfid_readuid/Kconfig
+++ b/examples/rfid_readuid/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_RFID_READUID_PRIORITY
 
 config EXAMPLES_RFID_READUID_STACKSIZE
 	int "RFID Read UID stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/rgbled/Kconfig b/examples/rgbled/Kconfig
index 0c4ccf6..4feac3a 100644
--- a/examples/rgbled/Kconfig
+++ b/examples/rgbled/Kconfig
@@ -28,6 +28,6 @@ config EXAMPLES_RGBLED_PRIORITY
 
 config EXAMPLES_RGBLED_STACKSIZE
 	int "RGBLED stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # EXAMPLES_RGBLED
diff --git a/examples/serialblaster/Kconfig b/examples/serialblaster/Kconfig
index 6b56684..11822a7 100644
--- a/examples/serialblaster/Kconfig
+++ b/examples/serialblaster/Kconfig
@@ -13,7 +13,7 @@ if EXAMPLES_SERIALBLASTER
 
 config EXAMPLES_SERIALBLASTER_STACKSIZE
 	int "CPU hog stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_SERIALBLASTER_PRIORITY
 	int "CPU hog task priority"
diff --git a/examples/serialrx/Kconfig b/examples/serialrx/Kconfig
index 5b5917e..b04144e 100644
--- a/examples/serialrx/Kconfig
+++ b/examples/serialrx/Kconfig
@@ -13,7 +13,7 @@ if EXAMPLES_SERIALRX
 
 config EXAMPLES_SERIALRX_STACKSIZE
 	int "Serial RX stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_SERIALRX_PRIORITY
 	int "Serial RX task priority"
diff --git a/examples/stat/Kconfig b/examples/stat/Kconfig
index fb00e32..1b34997 100644
--- a/examples/stat/Kconfig
+++ b/examples/stat/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_STAT_PRIORITY
 
 config EXAMPLES_STAT_STACKSIZE
 	int "Stat stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/system/Kconfig b/examples/system/Kconfig
index 39ed93c..8866478 100644
--- a/examples/system/Kconfig
+++ b/examples/system/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_SYSTEM_PRIORITY
 
 config EXAMPLES_SYSTEM_STACKSIZE
 	int "System stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/tcpblaster/Kconfig b/examples/tcpblaster/Kconfig
index 470487c..7b53047 100644
--- a/examples/tcpblaster/Kconfig
+++ b/examples/tcpblaster/Kconfig
@@ -36,7 +36,7 @@ config EXAMPLES_TCPBLASTER_PROGNAME1
 
 config EXAMPLES_TCPBLASTER_STACKSIZE1
 	int "Target1 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_TCPBLASTER_PRIORITY1
 	int "Target1 priority"
@@ -106,7 +106,7 @@ config EXAMPLES_TCPBLASTER_PRIORITY2
 
 config EXAMPLES_TCPBLASTER_STACKSIZE2
 	int "Target2 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # EXAMPLES_TCPBLASTER_TARGET2
 endif # !EXAMPLES_TCPBLASTER_LOOPBACK
@@ -114,7 +114,7 @@ endif # !EXAMPLES_TCPBLASTER_LOOPBACK
 if EXAMPLES_TCPBLASTER_LOOPBACK
 config EXAMPLES_TCPBLASTER_DAEMON_STACKSIZE
 	int "Server daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_TCPBLASTER_DAEMON_PRIORITY
 	int "Server daemon priority"
diff --git a/examples/telnetd/Kconfig b/examples/telnetd/Kconfig
index 5a5663e..f53c77b 100644
--- a/examples/telnetd/Kconfig
+++ b/examples/telnetd/Kconfig
@@ -45,7 +45,7 @@ config EXAMPLES_TELNETD_DAEMONPRIO
 
 config EXAMPLES_TELNETD_DAEMONSTACKSIZE
 	int "Telnet daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Stack size allocated for the Telnet daemon. Default: 2048
 
@@ -57,7 +57,7 @@ config EXAMPLES_TELNETD_CLIENTPRIO
 
 config EXAMPLES_TELNETD_CLIENTSTACKSIZE
 	int "Telnet client stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Stack size allocated for the Telnet client. Default: 2048
 
diff --git a/examples/timer/Kconfig b/examples/timer/Kconfig
index c961d35..6db7e7d 100644
--- a/examples/timer/Kconfig
+++ b/examples/timer/Kconfig
@@ -45,7 +45,7 @@ config EXAMPLES_TIMER_SIGNO
 
 config EXAMPLES_TIMER_STACKSIZE
 	int "Timer stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		This is the stack size allocated when the timer task runs
 
diff --git a/examples/udp/Kconfig b/examples/udp/Kconfig
index 8233d71..4914f65 100644
--- a/examples/udp/Kconfig
+++ b/examples/udp/Kconfig
@@ -32,7 +32,7 @@ config EXAMPLES_UDP_PRIORITY1
 
 config EXAMPLES_UDP_STACKSIZE1
 	int "Target1 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_UDP_TARGET2
 	bool "Second endpoint is a target"
@@ -60,7 +60,7 @@ config EXAMPLES_UDP_PRIORITY2
 
 config EXAMPLES_UDP_STACKSIZE2
 	int "Target2 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # EXAMPLES_UDP_TARGET2
 
diff --git a/examples/udpblaster/Kconfig b/examples/udpblaster/Kconfig
index 9e889c1..606de1d 100644
--- a/examples/udpblaster/Kconfig
+++ b/examples/udpblaster/Kconfig
@@ -21,7 +21,7 @@ config EXAMPLES_UDPBLASTER_PROGNAME
 
 config EXAMPLES_UDPBLASTER_STACKSIZE
 	int "Nettest stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config EXAMPLES_UDPBLASTER_PRIORITY
 	int "Nettest priority"
diff --git a/examples/uid/Kconfig b/examples/uid/Kconfig
index 302a665..74be504 100644
--- a/examples/uid/Kconfig
+++ b/examples/uid/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_UID_PRIORITY
 
 config EXAMPLES_UID_STACKSIZE
 	int "UID/GID stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/userfs/Kconfig b/examples/userfs/Kconfig
index 38c1f8f..b1d868f 100644
--- a/examples/userfs/Kconfig
+++ b/examples/userfs/Kconfig
@@ -24,6 +24,6 @@ config EXAMPLES_USERFS_PRIORITY
 
 config EXAMPLES_USERFS_STACKSIZE
 	int "UserFS stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/veml6070/Kconfig b/examples/veml6070/Kconfig
index 9746821..4e0bafb 100644
--- a/examples/veml6070/Kconfig
+++ b/examples/veml6070/Kconfig
@@ -25,6 +25,6 @@ config EXAMPLES_VEML6070_PRIORITY
 
 config EXAMPLES_VEML6070_STACKSIZE
 	int "VEML6070 stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/examples/xbc_test/Kconfig b/examples/xbc_test/Kconfig
index e0d17b2..99f99f7 100644
--- a/examples/xbc_test/Kconfig
+++ b/examples/xbc_test/Kconfig
@@ -30,6 +30,6 @@ config EXAMPLES_XBC_TEST_PRIORITY
 
 config EXAMPLES_XBC_TEST_STACKSIZE
 	int "XBox Controller Test stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/graphics/nxwidgets/Kconfig b/graphics/nxwidgets/Kconfig
index 46cf936..cfaefa7 100644
--- a/graphics/nxwidgets/Kconfig
+++ b/graphics/nxwidgets/Kconfig
@@ -54,7 +54,7 @@ config NXWIDGETS_LISTENERPRIO
 
 config NXWIDGETS_LISTENERSTACK
 	int "NX Listener Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		NX listener thread stack size (in multi-user mode).  Default 2048
 
diff --git a/graphics/nxwm/Kconfig b/graphics/nxwm/Kconfig
index 6914d71..e8a3194 100644
--- a/graphics/nxwm/Kconfig
+++ b/graphics/nxwm/Kconfig
@@ -366,7 +366,7 @@ config NXWM_STARTWINDOW_PRIO
 
 config NXWM_STARTWINDOW_STACKSIZE
 	int "StartWindow Task Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stack size to use when starting the StartWindow task.  Default:
 		2048 bytes.
@@ -396,7 +396,7 @@ config NXWM_NXTERM_PRIO
 
 config NXWM_NXTERM_STACKSIZE
 	int "NxTerm Task Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stack size to use when starting the NxTerm task.  Default:
 		2048 bytes.
@@ -574,7 +574,7 @@ config NXWM_KEYBOARD_LISTENERPRIO
 
 config NXWM_KEYBOARD_LISTENERSTACK
 	int "Keyboard Listener Task Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Keyboard listener thread stack size.  Default: 1024
 
@@ -742,7 +742,7 @@ config NXWM_CALIBRATION_LISTENERPRIO
 
 config NXWM_CALIBRATION_LISTENERSTACK
 	int "Calibration Task Stack Size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Calibration listener thread stack size.  Default 2048
 
diff --git a/graphics/twm4nx/Kconfig b/graphics/twm4nx/Kconfig
index f0f7c97..b1369db 100644
--- a/graphics/twm4nx/Kconfig
+++ b/graphics/twm4nx/Kconfig
@@ -32,7 +32,7 @@ config TWM4NX_PRIORITY
 
 config TWM4NX_STACKSIZE
 	int "Twm4Nx stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config TWM4NX_REVMAJOR
 	string "Twm4Nx major version number"
diff --git a/netutils/ftpd/Kconfig b/netutils/ftpd/Kconfig
index c3fe95a..07f4cda 100644
--- a/netutils/ftpd/Kconfig
+++ b/netutils/ftpd/Kconfig
@@ -14,6 +14,6 @@ if NETUTILS_FTPD
 
 config FTPD_WORKERSTACKSIZE
 	int "FTPD client thread stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/netutils/libcurl4nx/Kconfig b/netutils/libcurl4nx/Kconfig
index 1737377..d6466ff 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 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/netutils/ntpclient/Kconfig b/netutils/ntpclient/Kconfig
index 202b411..ce2be15 100644
--- a/netutils/ntpclient/Kconfig
+++ b/netutils/ntpclient/Kconfig
@@ -28,7 +28,7 @@ config NETUTILS_NTPCLIENT_PORTNO
 
 config NETUTILS_NTPCLIENT_STACKSIZE
 	int "NTP client daemon stack stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config NETUTILS_NTPCLIENT_SERVERPRIO
 	int "NTP client daemon priority"
diff --git a/netutils/thttpd/Kconfig b/netutils/thttpd/Kconfig
index c714f0b..8d7b40e 100644
--- a/netutils/thttpd/Kconfig
+++ b/netutils/thttpd/Kconfig
@@ -82,7 +82,7 @@ config THTTPD_CGI_PRIORITY
 
 config THTTPD_CGI_STACKSIZE
 	int "CGI child stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Provides the default stack size of CGI child task (will be overridden
 		by the stack size in the NXFLAT header)
diff --git a/nshlib/Kconfig b/nshlib/Kconfig
index e87853c..abc96d6 100644
--- a/nshlib/Kconfig
+++ b/nshlib/Kconfig
@@ -1154,7 +1154,7 @@ config NSH_TELNETD_DAEMONPRIO
 
 config NSH_TELNETD_DAEMONSTACKSIZE
 	int "Telnet daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Stack size allocated for the Telnet daemon. Default: 2048
 
@@ -1166,7 +1166,7 @@ config NSH_TELNETD_CLIENTPRIO
 
 config NSH_TELNETD_CLIENTSTACKSIZE
 	int "Telnet client stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Stack size allocated for the Telnet client. Default: 2048
 
diff --git a/system/cfgdata/Kconfig b/system/cfgdata/Kconfig
index f79546e..23eb9eb 100644
--- a/system/cfgdata/Kconfig
+++ b/system/cfgdata/Kconfig
@@ -14,7 +14,7 @@ if SYSTEM_CFGDATA
 
 config SYSTEM_CFGDATA_STACKSIZE
 	int "Builtin task stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Size of the task to configure when started cfgdata from NSH
 
diff --git a/system/critmon/Kconfig b/system/critmon/Kconfig
index 4922b3d..626b2bb 100644
--- a/system/critmon/Kconfig
+++ b/system/critmon/Kconfig
@@ -17,7 +17,7 @@ if SYSTEM_CRITMONITOR
 
 config SYSTEM_CRITMONITOR_STACKSIZE
 	int "Critical section monitor stop/stop stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stack size to use the critmon_start/critmon_stop task.  Default: 2048
 
@@ -29,7 +29,7 @@ config SYSTEM_CRITMONITOR_PRIORITY
 
 config SYSTEM_CRITMONITOR_DAEMON_STACKSIZE
 	int "Critical section monitor daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stack size to use the critical section monitor daemon.  Default: 2048
 
diff --git a/system/cu/Kconfig b/system/cu/Kconfig
index 6ce6d7b..aa5693a 100644
--- a/system/cu/Kconfig
+++ b/system/cu/Kconfig
@@ -37,7 +37,7 @@ config SYSTEM_CUTERM_DEFAULT_BAUD
 
 config SYSTEM_CUTERM_STACKSIZE
 	int "CU terminal stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		This is the stack size that will be used when starting the CU terminal.
 
diff --git a/system/dhcpc/Kconfig b/system/dhcpc/Kconfig
index 3d18de2..f679434 100644
--- a/system/dhcpc/Kconfig
+++ b/system/dhcpc/Kconfig
@@ -26,6 +26,6 @@ config DHCPC_RENEW_PRIORITY
 
 config DHCPC_RENEW_STACKSIZE
 	int "DHCPC stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/system/hexed/Kconfig b/system/hexed/Kconfig
index 4e6c37f..5319c5f 100644
--- a/system/hexed/Kconfig
+++ b/system/hexed/Kconfig
@@ -13,7 +13,7 @@ if SYSTEM_HEXED
 
 config SYSTEM_HEXED_STACKSIZE
 	int "hexed stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The size of stack allocated for the hexed task.
 
diff --git a/system/lzf/Kconfig b/system/lzf/Kconfig
index 17c1262..dad84b9 100644
--- a/system/lzf/Kconfig
+++ b/system/lzf/Kconfig
@@ -42,6 +42,6 @@ config SYSTEM_LZF_PRIORITY
 
 config SYSTEM_LZF_STACKSIZE
 	int "LZF tool stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/system/netdb/Kconfig b/system/netdb/Kconfig
index c2d39ff..0677dee 100644
--- a/system/netdb/Kconfig
+++ b/system/netdb/Kconfig
@@ -12,7 +12,7 @@ if SYSTEM_NETDB
 
 config SYSTEM_NETDB_STACKSIZE
 	int "netdb task stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config SYSTEM_NETDB_PRIORITY
 	int "netdb task priority"
diff --git a/system/nsh/Kconfig b/system/nsh/Kconfig
index 8158cfd..e92a297 100644
--- a/system/nsh/Kconfig
+++ b/system/nsh/Kconfig
@@ -19,7 +19,7 @@ config SYSTEM_NSH_PRIORITY
 
 config SYSTEM_NSH_STACKSIZE
 	int "Nuttx shell stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config SYSTEM_NSH_SYMTAB
 	bool "Register symbol table"
diff --git a/system/ntpc/Kconfig b/system/ntpc/Kconfig
index 946a40f..30be27a 100644
--- a/system/ntpc/Kconfig
+++ b/system/ntpc/Kconfig
@@ -20,6 +20,6 @@ config SYSTEM_NTPC_PRIORITY
 
 config SYSTEM_NTPC_STACKSIZE
 	int "NTPC stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/system/nxplayer/Kconfig b/system/nxplayer/Kconfig
index 39558bc..3a7ac36 100644
--- a/system/nxplayer/Kconfig
+++ b/system/nxplayer/Kconfig
@@ -15,7 +15,7 @@ if SYSTEM_NXPLAYER
 
 config NXPLAYER_MAINTHREAD_STACKSIZE
 	int "NxPlayer main thread stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Stack size to use with the NxPlayer main thread.
 
diff --git a/system/ping/Kconfig b/system/ping/Kconfig
index 020a81e..78502b6 100644
--- a/system/ping/Kconfig
+++ b/system/ping/Kconfig
@@ -26,6 +26,6 @@ config SYSTEM_PING_PRIORITY
 
 config SYSTEM_PING_STACKSIZE
 	int "Ping stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/system/ping6/Kconfig b/system/ping6/Kconfig
index 35b0890..2d76a26 100644
--- a/system/ping6/Kconfig
+++ b/system/ping6/Kconfig
@@ -25,6 +25,6 @@ config SYSTEM_PING6_PRIORITY
 
 config SYSTEM_PING6_STACKSIZE
 	int "Ping stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/system/psmq/Kconfig b/system/psmq/Kconfig
index df20e6f..d3d8178 100644
--- a/system/psmq/Kconfig
+++ b/system/psmq/Kconfig
@@ -59,7 +59,7 @@ config PSMQD_PRIORITY
 
 config PSMQD_STACKSIZE
 	int "psmqd broker stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config PSMQ_TOOLS_PUB
 	bool "Enable psmq_pub tool"
@@ -76,7 +76,7 @@ config PSMQ_PUB_PRIORITY
 
 config PSMQ_PUB_STACKSIZE
 	int "psmq_pub broker stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # PSMQ_TOOLS_PUB
 
@@ -96,7 +96,7 @@ config PSMQ_SUB_PRIORITY
 
 config PSMQ_SUB_STACKSIZE
 	int "psmq_sub broker stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # PSMQ_TOOLS_SUB
 endif # SYSTEM_PSMQ
diff --git a/system/sched_note/Kconfig b/system/sched_note/Kconfig
index 92186ee..2b17878 100644
--- a/system/sched_note/Kconfig
+++ b/system/sched_note/Kconfig
@@ -25,7 +25,7 @@ config SYSTEM_NOTE_PRIORITY
 
 config SYSTEM_NOTE_STACKSIZE
 	int "Note daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config SYSTEM_NOTE_BUFFERSIZE
 	int "Note daemon I/O buffer size"
diff --git a/system/setlogmask/Kconfig b/system/setlogmask/Kconfig
index 4f1258f..1f31eaf 100644
--- a/system/setlogmask/Kconfig
+++ b/system/setlogmask/Kconfig
@@ -23,6 +23,6 @@ config SYSTEM_SETLOGMASK_PRIORITY
 
 config SYSTEM_SET_LOGMASK_STACKSIZE
 	int "setlogmask stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/system/spi/Kconfig b/system/spi/Kconfig
index ad8973f..42b9bae 100644
--- a/system/spi/Kconfig
+++ b/system/spi/Kconfig
@@ -26,7 +26,7 @@ config SPITOOL_PRIORITY
 
 config SPITOOL_STACKSIZE
 	int "Stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config SPITOOL_MINBUS
 	int "Minimum bus number"
diff --git a/system/stackmonitor/Kconfig b/system/stackmonitor/Kconfig
index 8d4c42b..64cfed7 100644
--- a/system/stackmonitor/Kconfig
+++ b/system/stackmonitor/Kconfig
@@ -17,7 +17,7 @@ if SYSTEM_STACKMONITOR
 
 config SYSTEM_STACKMONITOR_STACKSIZE
 	int "Stack monitor daemon stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stack size to use the stack monitor daemon.  Default: 2048
 
diff --git a/system/taskset/Kconfig b/system/taskset/Kconfig
index b28b865..a9e5d21 100644
--- a/system/taskset/Kconfig
+++ b/system/taskset/Kconfig
@@ -24,6 +24,6 @@ config SYSTEM_TASKSET_PRIORITY
 
 config SYSTEM_TASKSET_STACKSIZE
 	int "Taskset stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/system/telnet/Kconfig b/system/telnet/Kconfig
index 5ad2ded..ba84a77 100644
--- a/system/telnet/Kconfig
+++ b/system/telnet/Kconfig
@@ -19,7 +19,7 @@ config SYSTEM_TELNET_CHATD_PROGNAME
 
 config SYSTEM_TELNET_CHATD_STACKSIZE
 	int "Chat daemon stacksize"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config SYSTEM_TELNET_CHATD_PRIORITY
 	int "Chat daemon priority"
@@ -44,7 +44,7 @@ config SYSTEM_TELNET_CLIENT_PROGNAME
 
 config SYSTEM_TELNET_CLIENT_STACKSIZE
 	int "Telnet client stacksize"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config SYSTEM_TELNET_CLIENT_PRIORITY
 	int "Telnet client priority"
diff --git a/system/usrsock_rpmsg/Kconfig b/system/usrsock_rpmsg/Kconfig
index 0ba8051..9f6a9de 100644
--- a/system/usrsock_rpmsg/Kconfig
+++ b/system/usrsock_rpmsg/Kconfig
@@ -20,7 +20,7 @@ config SYSTEM_USRSOCK_RPMSG_PRIORITY
 
 config SYSTEM_USRSOCK_RPMSG_STACKSIZE
 	int "usrsock task stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The stack size allocated for the usrsock task.
 
diff --git a/system/vi/Kconfig b/system/vi/Kconfig
index cef4628..c3b9405 100644
--- a/system/vi/Kconfig
+++ b/system/vi/Kconfig
@@ -73,7 +73,7 @@ config SYSTEM_VI_DEBUGLEVEL
 
 config SYSTEM_VI_STACKSIZE
 	int "Builtin task stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Size of the task to configure when started VI from NSH
 
diff --git a/system/zmodem/Kconfig b/system/zmodem/Kconfig
index 7b449ba..90180a9 100644
--- a/system/zmodem/Kconfig
+++ b/system/zmodem/Kconfig
@@ -22,7 +22,7 @@ config SYSTEM_ZMODEM_PRIORITY
 
 config SYSTEM_ZMODEM_STACKSIZE
 	int "rz/ez stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config SYSTEM_ZMODEM_DEVNAME
 	string "Default Zmodem device"
diff --git a/testing/fstest/Kconfig b/testing/fstest/Kconfig
index 535ca70..d468f9d 100644
--- a/testing/fstest/Kconfig
+++ b/testing/fstest/Kconfig
@@ -24,7 +24,7 @@ config TESTING_FSTEST_PRIORITY
 
 config TESTING_FSTEST_STACKSIZE
 	int "FS test stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config TESTING_FSTEST_MAXNAME
 	int "Max name size"
diff --git a/testing/mm/Kconfig b/testing/mm/Kconfig
index 972ccb2..9b30b05 100644
--- a/testing/mm/Kconfig
+++ b/testing/mm/Kconfig
@@ -24,6 +24,6 @@ config TESTING_MM_PRIORITY
 
 config TESTING_MM_STACKSIZE
 	int "Stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/testing/ostest/Kconfig b/testing/ostest/Kconfig
index d840e25..d007a29 100644
--- a/testing/ostest/Kconfig
+++ b/testing/ostest/Kconfig
@@ -103,7 +103,7 @@ config TESTING_OSTEST_FPUPRIORITY
 
 config TESTING_OSTEST_FPUSTACKSIZE
 	int "FPU test thread stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif # !TESTING_OSTEST_FPUTESTDISABLE
 endif # ARCH_FPU && SCHED_WAITPID
diff --git a/testing/scanftest/Kconfig b/testing/scanftest/Kconfig
index 825661c..c625b63 100644
--- a/testing/scanftest/Kconfig
+++ b/testing/scanftest/Kconfig
@@ -28,6 +28,6 @@ config TESTING_SCANFTEST_PRIORITY
 
 config TESTING_SCANFTEST_STACKSIZE
 	int "Scanftest stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/testing/smp/Kconfig b/testing/smp/Kconfig
index 746c5a1..59af02f 100644
--- a/testing/smp/Kconfig
+++ b/testing/smp/Kconfig
@@ -35,6 +35,6 @@ config TESTING_SMP_PRIORITY
 
 config TESTING_SMP_STACKSIZE
 	int "SMP stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/wireless/bluetooth/btsak/Kconfig b/wireless/bluetooth/btsak/Kconfig
index b64ff70..0c52fb9 100644
--- a/wireless/bluetooth/btsak/Kconfig
+++ b/wireless/bluetooth/btsak/Kconfig
@@ -24,7 +24,7 @@ config BTSAK_PRIORITY
 
 config BTSAK_STACKSIZE
 	int "btsak stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 if NET_6LOWPAN && !NET_BLUETOOTH
 
diff --git a/wireless/gs2200m/Kconfig b/wireless/gs2200m/Kconfig
index 6281b58..8440fc3 100644
--- a/wireless/gs2200m/Kconfig
+++ b/wireless/gs2200m/Kconfig
@@ -23,6 +23,6 @@ config WIRELESS_GS2200M_PRIORITY
 
 config WIRELESS_GS2200M_STACKSIZE
 	int "gs2200m stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 endif
diff --git a/wireless/ieee802154/i8shark/Kconfig b/wireless/ieee802154/i8shark/Kconfig
index 77f827b..8fa2ba3 100644
--- a/wireless/ieee802154/i8shark/Kconfig
+++ b/wireless/ieee802154/i8shark/Kconfig
@@ -18,7 +18,7 @@ config IEEE802154_I8SHARK_DAEMON_PRIORITY
 
 config IEEE802154_I8SHARK_DAEMON_STACKSIZE
 	int "i8shark stack size"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config IEEE802154_I8SHARK_DEVPATH
 	string "MAC char driver path"
diff --git a/wireless/iwpan/Kconfig b/wireless/iwpan/Kconfig
index 543e8a6..735b4d1 100644
--- a/wireless/iwpan/Kconfig
+++ b/wireless/iwpan/Kconfig
@@ -24,7 +24,7 @@ config WIRELESS_IWPAN_PROGNAME
 
 config WIRELESS_IWPAN_STACKSIZE
 	int "Stack Size (bytes)"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config WIRELESS_IWPAN_PRIORITY
 	int "Command Priority"
diff --git a/wireless/wapi/Kconfig b/wireless/wapi/Kconfig
index 65c532a..309f336 100644
--- a/wireless/wapi/Kconfig
+++ b/wireless/wapi/Kconfig
@@ -30,7 +30,7 @@ config WIRELESS_WAPI_PROGNAME
 
 config WIRELESS_WAPI_STACKSIZE
 	int "Stack Size (bytes)"
-	default 2048
+	default DEFAULT_TASK_STACKSIZE
 
 config WIRELESS_WAPI_PRIORITY
 	int "Command Priority"