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

[incubator-nuttx-apps] branch master updated (2f7480d -> 3ba8516)

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

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


    from 2f7480d  Use MODULECC/MODULELD when building modules
     new c304624  Replace "STACKSIZE = 2048" with CONFIG_DEFAULT_TASK_SIZE
     new e7156be  Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
     new 2ecdf4c  Change the default of a few stack size configs to DEFAULT_TASK_STACKSIZE
     new 35933d8  examples: Replace hardcoded stack sizes to DEFAULT_TASK_STACKSIZE
     new c9c1d2b  Change the default of stack size configs to DEFAULT_TASK_STACKSIZE
     new eb08326  system/flash_eraseall: Bump stack size to DEFAULT_TASK_STACKSIZE
     new 3ba8516  system/ramtest: Change the default of stack size to DEFAULT_TASK_STACKSIZE

The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 examples/abntcodi/Kconfig                                    | 2 +-
 examples/adc/Makefile                                        | 2 +-
 examples/adxl372_test/Kconfig                                | 2 +-
 examples/ajoystick/Makefile                                  | 2 +-
 examples/alarm/Kconfig                                       | 2 +-
 examples/apa102/Makefile                                     | 2 +-
 examples/apds9960/Kconfig                                    | 2 +-
 examples/audio_rttl/Kconfig                                  | 2 +-
 examples/bastest/Makefile                                    | 2 +-
 examples/battery/Kconfig                                     | 2 +-
 examples/bmi160/Kconfig                                      | 2 +-
 examples/bmp180/Kconfig                                      | 2 +-
 examples/bridge/Kconfig                                      | 4 ++--
 examples/bridge/Makefile                                     | 2 +-
 examples/buttons/Kconfig                                     | 2 +-
 examples/calib_udelay/Makefile                               | 2 +-
 examples/can/Makefile                                        | 2 +-
 examples/canard/Kconfig                                      | 2 +-
 examples/cctype/Makefile                                     | 2 +-
 examples/charger/Kconfig                                     | 2 +-
 examples/chat/Makefile                                       | 2 +-
 examples/chrono/Kconfig                                      | 2 +-
 examples/configdata/Makefile                                 | 2 +-
 examples/cpuhog/Kconfig                                      | 2 +-
 examples/dac/Makefile                                        | 2 +-
 examples/dhcpd/Makefile                                      | 2 +-
 examples/dhtxx/Kconfig                                       | 2 +-
 examples/discover/Makefile                                   | 2 +-
 examples/djoystick/Makefile                                  | 2 +-
 examples/dsptest/Kconfig                                     | 2 +-
 examples/elf/Makefile                                        | 2 +-
 examples/embedlog/Kconfig                                    | 2 +-
 examples/fb/Kconfig                                          | 2 +-
 examples/fboverlay/Kconfig                                   | 2 +-
 examples/flash_test/Makefile                                 | 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/helloxx/Makefile                                    | 2 +-
 examples/hidkbd/Kconfig                                      | 2 +-
 examples/hts221_reader/Makefile                              | 2 +-
 examples/i2schar/Kconfig                                     | 4 ++--
 examples/i2schar/Makefile                                    | 2 +-
 examples/i2sloop/Makefile                                    | 2 +-
 examples/igmp/Makefile                                       | 2 +-
 examples/ina219/Kconfig                                      | 2 +-
 examples/ina226/Kconfig                                      | 2 +-
 examples/ini_dumper/Kconfig                                  | 2 +-
 examples/ipforward/Kconfig                                   | 2 +-
 examples/json/Makefile                                       | 2 +-
 examples/leds/Kconfig                                        | 2 +-
 examples/lis3dsh_reader/Makefile                             | 2 +-
 examples/lsm303_reader/Makefile                              | 2 +-
 examples/lsm330spi_test/Kconfig                              | 2 +-
 examples/lsm6dsl_reader/Makefile                             | 2 +-
 examples/max31855/Kconfig                                    | 2 +-
 examples/media/Makefile                                      | 2 +-
 examples/mld/Kconfig                                         | 2 +-
 examples/mlx90614/Makefile                                   | 2 +-
 examples/modbus/Makefile                                     | 2 +-
 examples/modbusmaster/Kconfig                                | 2 +-
 examples/module/Makefile                                     | 2 +-
 examples/mount/Kconfig                                       | 2 +-
 examples/mount/Makefile                                      | 2 +-
 examples/mtdpart/Makefile                                    | 2 +-
 examples/mtdrwb/Makefile                                     | 2 +-
 examples/netlink_route/Kconfig                               | 2 +-
 examples/netloop/Kconfig                                     | 2 +-
 examples/netpkt/Makefile                                     | 2 +-
 examples/nettest/Kconfig                                     | 6 +++---
 examples/nrf24l01_term/Makefile                              | 2 +-
 examples/null/Makefile                                       | 2 +-
 examples/nunchuck/Makefile                                   | 2 +-
 examples/nx/Kconfig                                          | 2 +-
 examples/nx/Makefile                                         | 2 +-
 examples/nxdemo/Makefile                                     | 2 +-
 examples/nxflat/Makefile                                     | 2 +-
 examples/nxhello/Kconfig                                     | 4 ++--
 examples/nximage/Kconfig                                     | 4 ++--
 examples/nxlines/Kconfig                                     | 4 ++--
 examples/nxterm/Kconfig                                      | 2 +-
 examples/nxtext/Kconfig                                      | 2 +-
 examples/nxtext/Makefile                                     | 2 +-
 examples/obd2/Makefile                                       | 2 +-
 examples/oneshot/Kconfig                                     | 2 +-
 examples/pca9635/Makefile                                    | 2 +-
 examples/pdcurses/Kconfig                                    | 2 +-
 examples/pf_ieee802154/Kconfig                               | 4 ++--
 examples/pipe/Makefile                                       | 2 +-
 examples/poll/Makefile                                       | 2 +-
 examples/popen/Kconfig                                       | 2 +-
 examples/posix_spawn/Makefile                                | 2 +-
 examples/powerled/Makefile                                   | 2 +-
 examples/powermonitor/Makefile                               | 2 +-
 examples/pppd/Kconfig                                        | 2 +-
 examples/pty_test/Kconfig                                    | 2 +-
 examples/pwfb/Kconfig                                        | 4 ++--
 examples/pwlines/Kconfig                                     | 4 ++--
 examples/pwm/Makefile                                        | 2 +-
 examples/qencoder/Makefile                                   | 2 +-
 examples/random/Makefile                                     | 2 +-
 examples/relays/Makefile                                     | 2 +-
 examples/rfid_readuid/Kconfig                                | 2 +-
 examples/rgbled/Kconfig                                      | 2 +-
 examples/romfs/Makefile                                      | 2 +-
 examples/sendmail/Makefile                                   | 2 +-
 examples/serialblaster/Kconfig                               | 2 +-
 examples/serialrx/Kconfig                                    | 2 +-
 examples/serloop/Makefile                                    | 2 +-
 examples/slcd/Makefile                                       | 2 +-
 examples/smps/Makefile                                       | 2 +-
 examples/sotest/Makefile                                     | 2 +-
 examples/stat/Kconfig                                        | 2 +-
 examples/sx127x_demo/Makefile                                | 2 +-
 examples/system/Kconfig                                      | 2 +-
 examples/tcpblaster/Kconfig                                  | 6 +++---
 examples/tcpecho/Makefile                                    | 2 +-
 examples/telnetd/Kconfig                                     | 4 ++--
 examples/telnetd/Makefile                                    | 2 +-
 examples/thttpd/Makefile                                     | 2 +-
 examples/tiff/Makefile                                       | 2 +-
 examples/timer/Kconfig                                       | 2 +-
 examples/touchscreen/Makefile                                | 2 +-
 examples/udp/Kconfig                                         | 4 ++--
 examples/udpblaster/Kconfig                                  | 2 +-
 examples/uid/Kconfig                                         | 2 +-
 examples/unionfs/Makefile                                    | 2 +-
 examples/usbserial/Makefile                                  | 2 +-
 examples/userfs/Kconfig                                      | 2 +-
 examples/ustream/Makefile                                    | 2 +-
 examples/veml6070/Kconfig                                    | 2 +-
 examples/watchdog/Makefile                                   | 2 +-
 examples/webserver/Makefile                                  | 2 +-
 examples/wget/Makefile                                       | 2 +-
 examples/wgetjson/Makefile                                   | 2 +-
 examples/xbc_test/Kconfig                                    | 2 +-
 examples/xmlrpc/Makefile                                     | 2 +-
 examples/zerocross/Makefile                                  | 2 +-
 graphics/nxwidgets/Kconfig                                   | 2 +-
 graphics/nxwidgets/UnitTests/CButton/Makefile                | 2 +-
 graphics/nxwidgets/UnitTests/CButtonArray/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CCheckBox/Makefile              | 2 +-
 graphics/nxwidgets/UnitTests/CGlyphButton/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CGlyphSliderHorizontal/Makefile | 2 +-
 graphics/nxwidgets/UnitTests/CImage/Makefile                 | 2 +-
 graphics/nxwidgets/UnitTests/CKeypad/Makefile                | 2 +-
 graphics/nxwidgets/UnitTests/CLabel/Makefile                 | 2 +-
 graphics/nxwidgets/UnitTests/CLatchButton/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CLatchButtonArray/Makefile      | 2 +-
 graphics/nxwidgets/UnitTests/CListBox/Makefile               | 2 +-
 graphics/nxwidgets/UnitTests/CProgressBar/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CRadioButton/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CScrollbarHorizontal/Makefile   | 2 +-
 graphics/nxwidgets/UnitTests/CScrollbarVertical/Makefile     | 2 +-
 graphics/nxwidgets/UnitTests/CSliderHorizonal/Makefile       | 2 +-
 graphics/nxwidgets/UnitTests/CSliderVertical/Makefile        | 2 +-
 graphics/nxwidgets/UnitTests/CTextBox/Makefile               | 2 +-
 graphics/nxwm/Kconfig                                        | 8 ++++----
 graphics/nxwm/Makefile                                       | 2 +-
 graphics/twm4nx/Kconfig                                      | 2 +-
 netutils/ftpd/Kconfig                                        | 2 +-
 netutils/libcurl4nx/Kconfig                                  | 2 +-
 netutils/netinit/Kconfig                                     | 2 +-
 netutils/ntpclient/Kconfig                                   | 2 +-
 netutils/thttpd/Kconfig                                      | 2 +-
 nshlib/Kconfig                                               | 4 ++--
 system/cdcacm/Makefile                                       | 2 +-
 system/cfgdata/Kconfig                                       | 2 +-
 system/composite/Makefile                                    | 2 +-
 system/critmon/Kconfig                                       | 4 ++--
 system/cu/Kconfig                                            | 2 +-
 system/dhcpc/Kconfig                                         | 2 +-
 system/flash_eraseall/Makefile                               | 2 +-
 system/hexed/Kconfig                                         | 2 +-
 system/i2c/Makefile                                          | 2 +-
 system/lzf/Kconfig                                           | 2 +-
 system/mdio/Makefile                                         | 2 +-
 system/netdb/Kconfig                                         | 2 +-
 system/nsh/Kconfig                                           | 2 +-
 system/ntpc/Kconfig                                          | 2 +-
 system/nxplayer/Kconfig                                      | 2 +-
 system/nxrecorder/Makefile                                   | 2 +-
 system/ping/Kconfig                                          | 2 +-
 system/ping6/Kconfig                                         | 2 +-
 system/popen/Kconfig                                         | 3 +--
 system/psmq/Kconfig                                          | 6 +++---
 system/ramtest/Kconfig                                       | 2 +-
 system/sched_note/Kconfig                                    | 2 +-
 system/setlogmask/Kconfig                                    | 2 +-
 system/spi/Kconfig                                           | 2 +-
 system/stackmonitor/Kconfig                                  | 2 +-
 system/stackmonitor/Makefile                                 | 2 +-
 system/system/Kconfig                                        | 3 +--
 system/taskset/Kconfig                                       | 2 +-
 system/telnet/Kconfig                                        | 4 ++--
 system/ubloxmodem/Makefile                                   | 2 +-
 system/usrsock_rpmsg/Kconfig                                 | 2 +-
 system/vi/Kconfig                                            | 2 +-
 system/zmodem/Kconfig                                        | 2 +-
 testing/fstest/Kconfig                                       | 2 +-
 testing/getprime/Kconfig                                     | 2 +-
 testing/mm/Kconfig                                           | 2 +-
 testing/nxffs/Makefile                                       | 2 +-
 testing/ostest/Kconfig                                       | 2 +-
 testing/ostest/Makefile                                      | 2 +-
 testing/scanftest/Kconfig                                    | 2 +-
 testing/smart/Makefile                                       | 2 +-
 testing/smp/Kconfig                                          | 2 +-
 wireless/bluetooth/btsak/Kconfig                             | 2 +-
 wireless/gs2200m/Kconfig                                     | 2 +-
 wireless/ieee802154/i8shark/Kconfig                          | 2 +-
 wireless/ieee802154/i8shark/Makefile                         | 2 +-
 wireless/iwpan/Kconfig                                       | 2 +-
 wireless/wapi/Kconfig                                        | 2 +-
 217 files changed, 240 insertions(+), 242 deletions(-)


[incubator-nuttx-apps] 04/07: examples: Replace hardcoded stack sizes to DEFAULT_TASK_STACKSIZE

Posted by xi...@apache.org.
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 35933d81318223e06e578398a2c2634db3e009f2
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Mar 27 15:20:11 2020 +0900

    examples: Replace hardcoded stack sizes to DEFAULT_TASK_STACKSIZE
    
    Where the hardcoded values are less than 2048.
    Using a bit more memory for examples should not be a critical problem.
---
 examples/igmp/Makefile         | 2 +-
 examples/powerled/Makefile     | 2 +-
 examples/powermonitor/Makefile | 2 +-
 examples/relays/Makefile       | 2 +-
 examples/smps/Makefile         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/examples/igmp/Makefile b/examples/igmp/Makefile
index ca86eb4..4c9460a 100644
--- a/examples/igmp/Makefile
+++ b/examples/igmp/Makefile
@@ -37,7 +37,7 @@
 
 PROGNAME = igmp
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 1024
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_IGMP)
 
 # IGMP Networking Example
diff --git a/examples/powerled/Makefile b/examples/powerled/Makefile
index 5e30ff5..6e5e25c 100644
--- a/examples/powerled/Makefile
+++ b/examples/powerled/Makefile
@@ -41,7 +41,7 @@ MAINSRC = powerled_main.c
 
 PROGNAME = powerled
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 1024
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_POWERLED)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/powermonitor/Makefile b/examples/powermonitor/Makefile
index 215b12f..8bc2d00 100644
--- a/examples/powermonitor/Makefile
+++ b/examples/powermonitor/Makefile
@@ -36,7 +36,7 @@
 
 PROGNAME = powermonitor
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 768
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_POWERMONITOR)
 
 MAINSRC = powermonitor_main.c
diff --git a/examples/relays/Makefile b/examples/relays/Makefile
index 7dc0233..f0fd334 100644
--- a/examples/relays/Makefile
+++ b/examples/relays/Makefile
@@ -43,7 +43,7 @@ MAINSRC = relays_main.c
 
 PROGNAME = relays
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 512
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_RELAYS)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/smps/Makefile b/examples/smps/Makefile
index 08d7ae2..a513ab0 100644
--- a/examples/smps/Makefile
+++ b/examples/smps/Makefile
@@ -41,7 +41,7 @@ MAINSRC = smps_main.c
 
 PROGNAME = smps
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 1024
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_SMPS)
 
 include $(APPDIR)/Application.mk


[incubator-nuttx-apps] 01/07: Replace "STACKSIZE = 2048" with CONFIG_DEFAULT_TASK_SIZE

Posted by xi...@apache.org.
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 c304624fab5e03f3fd66f1e96ad8ffb93c78c60e
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Mar 27 13:57:26 2020 +0900

    Replace "STACKSIZE = 2048" with CONFIG_DEFAULT_TASK_SIZE
    
    For now, I left the following instances because it isn't
    clear to me why they are using the different values.
    Maybe they need one-by-one inspection.
    
        examples/igmp/Makefile:STACKSIZE = 1024
        examples/powerled/Makefile:STACKSIZE = 1024
        examples/powermonitor/Makefile:STACKSIZE = 768
        examples/relays/Makefile:STACKSIZE = 512
        examples/smps/Makefile:STACKSIZE = 1024
        graphics/screenshot/Makefile:STACKSIZE = 4096
        system/flash_eraseall/Makefile:STACKSIZE = 1024
        testing/cxxtest/Makefile:STACKSIZE = 4096
        testing/smart_test/Makefile:STACKSIZE = 4096
---
 examples/adc/Makefile                                        | 2 +-
 examples/ajoystick/Makefile                                  | 2 +-
 examples/apa102/Makefile                                     | 2 +-
 examples/bastest/Makefile                                    | 2 +-
 examples/bridge/Makefile                                     | 2 +-
 examples/calib_udelay/Makefile                               | 2 +-
 examples/can/Makefile                                        | 2 +-
 examples/cctype/Makefile                                     | 2 +-
 examples/chat/Makefile                                       | 2 +-
 examples/configdata/Makefile                                 | 2 +-
 examples/dac/Makefile                                        | 2 +-
 examples/dhcpd/Makefile                                      | 2 +-
 examples/discover/Makefile                                   | 2 +-
 examples/djoystick/Makefile                                  | 2 +-
 examples/elf/Makefile                                        | 2 +-
 examples/flash_test/Makefile                                 | 2 +-
 examples/helloxx/Makefile                                    | 2 +-
 examples/hts221_reader/Makefile                              | 2 +-
 examples/i2schar/Makefile                                    | 2 +-
 examples/i2sloop/Makefile                                    | 2 +-
 examples/json/Makefile                                       | 2 +-
 examples/lis3dsh_reader/Makefile                             | 2 +-
 examples/lsm303_reader/Makefile                              | 2 +-
 examples/lsm6dsl_reader/Makefile                             | 2 +-
 examples/media/Makefile                                      | 2 +-
 examples/mlx90614/Makefile                                   | 2 +-
 examples/modbus/Makefile                                     | 2 +-
 examples/module/Makefile                                     | 2 +-
 examples/mount/Makefile                                      | 2 +-
 examples/mtdpart/Makefile                                    | 2 +-
 examples/mtdrwb/Makefile                                     | 2 +-
 examples/netpkt/Makefile                                     | 2 +-
 examples/nrf24l01_term/Makefile                              | 2 +-
 examples/null/Makefile                                       | 2 +-
 examples/nunchuck/Makefile                                   | 2 +-
 examples/nx/Makefile                                         | 2 +-
 examples/nxdemo/Makefile                                     | 2 +-
 examples/nxflat/Makefile                                     | 2 +-
 examples/nxtext/Makefile                                     | 2 +-
 examples/obd2/Makefile                                       | 2 +-
 examples/pca9635/Makefile                                    | 2 +-
 examples/pipe/Makefile                                       | 2 +-
 examples/poll/Makefile                                       | 2 +-
 examples/posix_spawn/Makefile                                | 2 +-
 examples/pwm/Makefile                                        | 2 +-
 examples/qencoder/Makefile                                   | 2 +-
 examples/random/Makefile                                     | 2 +-
 examples/romfs/Makefile                                      | 2 +-
 examples/sendmail/Makefile                                   | 2 +-
 examples/serloop/Makefile                                    | 2 +-
 examples/slcd/Makefile                                       | 2 +-
 examples/sotest/Makefile                                     | 2 +-
 examples/sx127x_demo/Makefile                                | 2 +-
 examples/tcpecho/Makefile                                    | 2 +-
 examples/telnetd/Makefile                                    | 2 +-
 examples/thttpd/Makefile                                     | 2 +-
 examples/tiff/Makefile                                       | 2 +-
 examples/touchscreen/Makefile                                | 2 +-
 examples/unionfs/Makefile                                    | 2 +-
 examples/usbserial/Makefile                                  | 2 +-
 examples/ustream/Makefile                                    | 2 +-
 examples/watchdog/Makefile                                   | 2 +-
 examples/webserver/Makefile                                  | 2 +-
 examples/wget/Makefile                                       | 2 +-
 examples/wgetjson/Makefile                                   | 2 +-
 examples/xmlrpc/Makefile                                     | 2 +-
 examples/zerocross/Makefile                                  | 2 +-
 graphics/nxwidgets/UnitTests/CButton/Makefile                | 2 +-
 graphics/nxwidgets/UnitTests/CButtonArray/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CCheckBox/Makefile              | 2 +-
 graphics/nxwidgets/UnitTests/CGlyphButton/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CGlyphSliderHorizontal/Makefile | 2 +-
 graphics/nxwidgets/UnitTests/CImage/Makefile                 | 2 +-
 graphics/nxwidgets/UnitTests/CKeypad/Makefile                | 2 +-
 graphics/nxwidgets/UnitTests/CLabel/Makefile                 | 2 +-
 graphics/nxwidgets/UnitTests/CLatchButton/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CLatchButtonArray/Makefile      | 2 +-
 graphics/nxwidgets/UnitTests/CListBox/Makefile               | 2 +-
 graphics/nxwidgets/UnitTests/CProgressBar/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CRadioButton/Makefile           | 2 +-
 graphics/nxwidgets/UnitTests/CScrollbarHorizontal/Makefile   | 2 +-
 graphics/nxwidgets/UnitTests/CScrollbarVertical/Makefile     | 2 +-
 graphics/nxwidgets/UnitTests/CSliderHorizonal/Makefile       | 2 +-
 graphics/nxwidgets/UnitTests/CSliderVertical/Makefile        | 2 +-
 graphics/nxwidgets/UnitTests/CTextBox/Makefile               | 2 +-
 graphics/nxwm/Makefile                                       | 2 +-
 system/cdcacm/Makefile                                       | 2 +-
 system/composite/Makefile                                    | 2 +-
 system/i2c/Makefile                                          | 2 +-
 system/mdio/Makefile                                         | 2 +-
 system/nxrecorder/Makefile                                   | 2 +-
 system/stackmonitor/Makefile                                 | 2 +-
 system/ubloxmodem/Makefile                                   | 2 +-
 testing/nxffs/Makefile                                       | 2 +-
 testing/ostest/Makefile                                      | 2 +-
 testing/smart/Makefile                                       | 2 +-
 wireless/ieee802154/i8shark/Makefile                         | 2 +-
 97 files changed, 97 insertions(+), 97 deletions(-)

diff --git a/examples/adc/Makefile b/examples/adc/Makefile
index e0908c9..5c07675 100644
--- a/examples/adc/Makefile
+++ b/examples/adc/Makefile
@@ -43,7 +43,7 @@ MAINSRC = adc_main.c
 
 PROGNAME = adc
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_ADC)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/ajoystick/Makefile b/examples/ajoystick/Makefile
index d267337..e98fbd8 100644
--- a/examples/ajoystick/Makefile
+++ b/examples/ajoystick/Makefile
@@ -43,7 +43,7 @@ MAINSRC = ajoy_main.c
 
 PROGNAME = ajoy
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_AJOYSTICK)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/apa102/Makefile b/examples/apa102/Makefile
index f6c1f6f..2c1e40d 100644
--- a/examples/apa102/Makefile
+++ b/examples/apa102/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = $(CONFIG_EXAMPLES_APA102_PROGNAME)
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_APA102)
 
 # APA102 Test
diff --git a/examples/bastest/Makefile b/examples/bastest/Makefile
index f195d0e..3e20105 100644
--- a/examples/bastest/Makefile
+++ b/examples/bastest/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = bastest
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_BASTEST)
 
 # Hello, World! Example
diff --git a/examples/bridge/Makefile b/examples/bridge/Makefile
index 58a8c40..f13e4f0 100644
--- a/examples/bridge/Makefile
+++ b/examples/bridge/Makefile
@@ -40,7 +40,7 @@
 
 PROGNAME = bridge
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_BRIDGE)
 
 MAINSRC = bridge_main.c
diff --git a/examples/calib_udelay/Makefile b/examples/calib_udelay/Makefile
index 7c6ac42..96c8783 100644
--- a/examples/calib_udelay/Makefile
+++ b/examples/calib_udelay/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME  = calib_udelay
 PRIORITY  = 100
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE    = $(CONFIG_EXAMPLES_CALIB_UDELAY)
 
 # Udelay calibration tool
diff --git a/examples/can/Makefile b/examples/can/Makefile
index f04b637..22ec5c6 100644
--- a/examples/can/Makefile
+++ b/examples/can/Makefile
@@ -43,7 +43,7 @@ MAINSRC = can_main.c
 
 PROGNAME = can
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_CAN)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/cctype/Makefile b/examples/cctype/Makefile
index 1914557..ff16d11 100644
--- a/examples/cctype/Makefile
+++ b/examples/cctype/Makefile
@@ -43,7 +43,7 @@ MAINSRC = cctype_main.cxx
 
 PROGNAME = cctype
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_CCTYP)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/chat/Makefile b/examples/chat/Makefile
index 4e4e2ba..cd81bbc 100644
--- a/examples/chat/Makefile
+++ b/examples/chat/Makefile
@@ -39,7 +39,7 @@ MAINSRC = chat_main.c
 
 PROGNAME = chat
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_CHAT)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/configdata/Makefile b/examples/configdata/Makefile
index 3386f53..5ec97a4 100644
--- a/examples/configdata/Makefile
+++ b/examples/configdata/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = configdata
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_CONFIGDATA)
 
 MAINSRC = configdata_main.c
diff --git a/examples/dac/Makefile b/examples/dac/Makefile
index 6a83e56..f04b366 100644
--- a/examples/dac/Makefile
+++ b/examples/dac/Makefile
@@ -43,7 +43,7 @@ MAINSRC = dac_main.c
 
 PROGNAME = dac
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_DAC)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/dhcpd/Makefile b/examples/dhcpd/Makefile
index d7a53fe..1d37102 100644
--- a/examples/dhcpd/Makefile
+++ b/examples/dhcpd/Makefile
@@ -43,7 +43,7 @@ MAINSRC = target.c
 
 PROGNAME = dhcpd
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_DHCPD)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/discover/Makefile b/examples/discover/Makefile
index 538187a..ee60b88 100644
--- a/examples/discover/Makefile
+++ b/examples/discover/Makefile
@@ -42,7 +42,7 @@
 
 PROGNAME = discover
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_DISCOVER)
 
 MAINSRC = discover_main.c
diff --git a/examples/djoystick/Makefile b/examples/djoystick/Makefile
index 30a9e6d..3740111 100644
--- a/examples/djoystick/Makefile
+++ b/examples/djoystick/Makefile
@@ -43,7 +43,7 @@ MAINSRC = djoy_main.c
 
 PROGNAME = djoy
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_DJOYSTICK)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/elf/Makefile b/examples/elf/Makefile
index b915718..4df948a 100644
--- a/examples/elf/Makefile
+++ b/examples/elf/Makefile
@@ -42,7 +42,7 @@ MAINSRC = elf_main.c
 
 PROGNAME = elf
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_ELF)
 
 ROOTDEPPATH := --dep-path tests
diff --git a/examples/flash_test/Makefile b/examples/flash_test/Makefile
index 215e7d6..bfabfa1 100644
--- a/examples/flash_test/Makefile
+++ b/examples/flash_test/Makefile
@@ -40,7 +40,7 @@
 
 PROGNAME = flash_test
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_FLASH_TEST)
 
 MAINSRC = flash_test.c
diff --git a/examples/helloxx/Makefile b/examples/helloxx/Makefile
index 0f7306c..e821a4c 100644
--- a/examples/helloxx/Makefile
+++ b/examples/helloxx/Makefile
@@ -43,7 +43,7 @@ MAINSRC = helloxx_main.cxx
 
 PROGNAME = helloxx
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_HELLOXX)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/hts221_reader/Makefile b/examples/hts221_reader/Makefile
index a0a9a6b..ba75960 100755
--- a/examples/hts221_reader/Makefile
+++ b/examples/hts221_reader/Makefile
@@ -43,7 +43,7 @@ MAINSRC = hts221_reader_main.c
 
 PROGNAME = hts221_reader
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_HTS221_READER)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/i2schar/Makefile b/examples/i2schar/Makefile
index 645e81f..29bd14e 100644
--- a/examples/i2schar/Makefile
+++ b/examples/i2schar/Makefile
@@ -49,7 +49,7 @@ MAINSRC = i2schar_main.c
 
 PROGNAME = i2schar
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_I2SCHAR)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/i2sloop/Makefile b/examples/i2sloop/Makefile
index 857eb62..a142fe1 100644
--- a/examples/i2sloop/Makefile
+++ b/examples/i2sloop/Makefile
@@ -43,7 +43,7 @@ MAINSRC = i2sloop_main.c
 
 PROGNAME = i2sloop
 PRIORITY = 140
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_I2SLOOP)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/json/Makefile b/examples/json/Makefile
index ae5a662..7d9e4c2 100644
--- a/examples/json/Makefile
+++ b/examples/json/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = json
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_JSON)
 
 MAINSRC = json_main.c
diff --git a/examples/lis3dsh_reader/Makefile b/examples/lis3dsh_reader/Makefile
index fc4fda0..be68b08 100644
--- a/examples/lis3dsh_reader/Makefile
+++ b/examples/lis3dsh_reader/Makefile
@@ -37,7 +37,7 @@
 
 PROGNAME = $(CONFIG_EXAMPLES_LIS3DSH_READER_PROGNAME)
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_LIS3DSH_READER)
 
 # LIS3DSH reader example
diff --git a/examples/lsm303_reader/Makefile b/examples/lsm303_reader/Makefile
index 0e11a15..cc116e6 100755
--- a/examples/lsm303_reader/Makefile
+++ b/examples/lsm303_reader/Makefile
@@ -43,7 +43,7 @@ MAINSRC = lsm303_reader_main.c
 
 PROGNAME = lsm303_reader
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_LSM303_READER)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/lsm6dsl_reader/Makefile b/examples/lsm6dsl_reader/Makefile
index 4d558b0..ebe4f34 100755
--- a/examples/lsm6dsl_reader/Makefile
+++ b/examples/lsm6dsl_reader/Makefile
@@ -43,7 +43,7 @@ MAINSRC = lsm6dsl_reader_main.c
 
 PROGNAME = lsm6dsl_reader
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_LSM6DSL_READER)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/media/Makefile b/examples/media/Makefile
index 7ec1144..8a80959 100644
--- a/examples/media/Makefile
+++ b/examples/media/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = $(CONFIG_EXAMPLES_MEDIA_PROGNAME)
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_MEDIA)
 
 # Media test application files
diff --git a/examples/mlx90614/Makefile b/examples/mlx90614/Makefile
index 6770d1a..8347879 100644
--- a/examples/mlx90614/Makefile
+++ b/examples/mlx90614/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = $(CONFIG_EXAMPLES_MLX90614_PROGNAME)
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_MLX90614)
 
 # MLX90614 Test
diff --git a/examples/modbus/Makefile b/examples/modbus/Makefile
index a5233ff..7069296 100644
--- a/examples/modbus/Makefile
+++ b/examples/modbus/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = modbus
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_MODBUS)
 
 # FreeModBus demo
diff --git a/examples/module/Makefile b/examples/module/Makefile
index c123d2f..17d2202 100644
--- a/examples/module/Makefile
+++ b/examples/module/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = module
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_MODULE)
 
 # Module Example
diff --git a/examples/mount/Makefile b/examples/mount/Makefile
index d1fc2a2..65e1f71 100644
--- a/examples/mount/Makefile
+++ b/examples/mount/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = mount
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_MOUNT)
 
 CSRCS = ramdisk.c
diff --git a/examples/mtdpart/Makefile b/examples/mtdpart/Makefile
index 0c143ab..d01f4b8 100644
--- a/examples/mtdpart/Makefile
+++ b/examples/mtdpart/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = mtdpart
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_MTDPART)
 
 MAINSRC = mtdpart_main.c
diff --git a/examples/mtdrwb/Makefile b/examples/mtdrwb/Makefile
index 40a2aba..baaf74d 100644
--- a/examples/mtdrwb/Makefile
+++ b/examples/mtdrwb/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = $(CONFIG_EXAMPLES_MTDRWB_PROGNAME)
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_MTDRWB)
 
 MAINSRC = mtdrwb_main.c
diff --git a/examples/netpkt/Makefile b/examples/netpkt/Makefile
index 0e7656b..d0b0490 100644
--- a/examples/netpkt/Makefile
+++ b/examples/netpkt/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = netpkt
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_NETPKT)
 
 # MDIO tool
diff --git a/examples/nrf24l01_term/Makefile b/examples/nrf24l01_term/Makefile
index 8e10411..0ddf663 100644
--- a/examples/nrf24l01_term/Makefile
+++ b/examples/nrf24l01_term/Makefile
@@ -43,7 +43,7 @@ MAINSRC = nrf24l01_term.c
 
 PROGNAME = nrf24l01_term
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_NRF24L01TERM)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/null/Makefile b/examples/null/Makefile
index b8e65f5..dcd6830 100644
--- a/examples/null/Makefile
+++ b/examples/null/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = null
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_NULL)
 
 # The smallest thing you can build -- the NULL example.
diff --git a/examples/nunchuck/Makefile b/examples/nunchuck/Makefile
index e955eef..cfd8ffe 100644
--- a/examples/nunchuck/Makefile
+++ b/examples/nunchuck/Makefile
@@ -43,7 +43,7 @@ MAINSRC = nunchuck_main.c
 
 PROGNAME = nunchuck
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_NUNCHUCK)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/nx/Makefile b/examples/nx/Makefile
index f61ba6a..98a720e 100644
--- a/examples/nx/Makefile
+++ b/examples/nx/Makefile
@@ -44,7 +44,7 @@ MAINSRC = nx_main.c
 
 PROGNAME = nx
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_NX)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/nxdemo/Makefile b/examples/nxdemo/Makefile
index 32fa7d3..3fd7a95 100644
--- a/examples/nxdemo/Makefile
+++ b/examples/nxdemo/Makefile
@@ -44,7 +44,7 @@ MAINSRC = nxdemo_main.c
 
 PROGNAME = nxdemo
 PRIORITY = 100
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_NXDEMO)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/nxflat/Makefile b/examples/nxflat/Makefile
index 7eda0a1..baae744 100644
--- a/examples/nxflat/Makefile
+++ b/examples/nxflat/Makefile
@@ -41,7 +41,7 @@ MAINSRC = nxflat_main.c
 
 PROGNAME = nxflat
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_NXFLAT)
 
 nxflat_main.c: build
diff --git a/examples/nxtext/Makefile b/examples/nxtext/Makefile
index 221d2e5..2c01f7b 100644
--- a/examples/nxtext/Makefile
+++ b/examples/nxtext/Makefile
@@ -44,7 +44,7 @@ MAINSRC = nxtext_main.c
 
 PROGNAME = nxtext
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_NXTEXT)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/obd2/Makefile b/examples/obd2/Makefile
index 11e9a5a..ad0ce31 100644
--- a/examples/obd2/Makefile
+++ b/examples/obd2/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = obd2
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_OBD2)
 
 # OBD2 Example
diff --git a/examples/pca9635/Makefile b/examples/pca9635/Makefile
index ba582a3..6e675ba 100644
--- a/examples/pca9635/Makefile
+++ b/examples/pca9635/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = $(CONFIG_EXAMPLES_PCA9635_PROGNAME)
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_PCA9635)
 
 # PCA9635 Test
diff --git a/examples/pipe/Makefile b/examples/pipe/Makefile
index bfacf73..d3f8f3d 100644
--- a/examples/pipe/Makefile
+++ b/examples/pipe/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = pipe
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_PIPE)
 
 CSRCS = transfer_test.c interlock_test.c redirect_test.c
diff --git a/examples/poll/Makefile b/examples/poll/Makefile
index d6e6ff4..6816782 100644
--- a/examples/poll/Makefile
+++ b/examples/poll/Makefile
@@ -40,7 +40,7 @@ MAINSRC = poll_main.c
 
 PROGNAME = poll
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_POLL)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/posix_spawn/Makefile b/examples/posix_spawn/Makefile
index 8baafa3..a00f5e1 100644
--- a/examples/posix_spawn/Makefile
+++ b/examples/posix_spawn/Makefile
@@ -42,7 +42,7 @@ MAINSRC = spawn_main.c
 
 PROGNAME = posix_spawn
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_POSIXSPAWN)
 
 ROOTDEPPATH	+= --dep-path filesystem
diff --git a/examples/pwm/Makefile b/examples/pwm/Makefile
index ca5cb17..68a1433 100644
--- a/examples/pwm/Makefile
+++ b/examples/pwm/Makefile
@@ -43,7 +43,7 @@ MAINSRC = pwm_main.c
 
 PROGNAME = pwm
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_PWM)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/qencoder/Makefile b/examples/qencoder/Makefile
index bdee894..7cbc231 100644
--- a/examples/qencoder/Makefile
+++ b/examples/qencoder/Makefile
@@ -43,7 +43,7 @@ MAINSRC = qe_main.c
 
 PROGNAME = qe
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_QENCODER)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/random/Makefile b/examples/random/Makefile
index 528a649..155ef77 100644
--- a/examples/random/Makefile
+++ b/examples/random/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = rand
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_RANDOM)
 
 MAINSRC = random_main.c
diff --git a/examples/romfs/Makefile b/examples/romfs/Makefile
index bdd2044..64079e2 100644
--- a/examples/romfs/Makefile
+++ b/examples/romfs/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = romfs
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_ROMFS)
 
 # ROMFS File System Example
diff --git a/examples/sendmail/Makefile b/examples/sendmail/Makefile
index 03a52d0..8ebc4c2 100644
--- a/examples/sendmail/Makefile
+++ b/examples/sendmail/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = sendmail
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_SENDMAIL)
 
 MAINSRC = sendmail_main.c
diff --git a/examples/serloop/Makefile b/examples/serloop/Makefile
index 5dee84f..e58a1c2 100644
--- a/examples/serloop/Makefile
+++ b/examples/serloop/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = serloop
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_SERLOOP)
 
 MAINSRC = serloop_main.c
diff --git a/examples/slcd/Makefile b/examples/slcd/Makefile
index 75f1c42..e9298bf 100644
--- a/examples/slcd/Makefile
+++ b/examples/slcd/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = slcd
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_SLCD)
 
 # Hello, World! Example
diff --git a/examples/sotest/Makefile b/examples/sotest/Makefile
index 2411aa0..dc99479 100644
--- a/examples/sotest/Makefile
+++ b/examples/sotest/Makefile
@@ -42,7 +42,7 @@ DELIM ?= /
 
 PROGNAME = sotest
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_SOTEST)
 
 # Shared Library Example
diff --git a/examples/sx127x_demo/Makefile b/examples/sx127x_demo/Makefile
index b68521f..2835c6c 100644
--- a/examples/sx127x_demo/Makefile
+++ b/examples/sx127x_demo/Makefile
@@ -43,7 +43,7 @@ MAINSRC = sx127x_demo.c
 
 PROGNAME = sx127x
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_SX127X)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/tcpecho/Makefile b/examples/tcpecho/Makefile
index 7eac0ea..451d80c 100644
--- a/examples/tcpecho/Makefile
+++ b/examples/tcpecho/Makefile
@@ -42,7 +42,7 @@
 
 PROGNAME = tcpecho
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_TCPECHO)
 
 MAINSRC = tcpecho_main.c
diff --git a/examples/telnetd/Makefile b/examples/telnetd/Makefile
index b9879ed..194c99c 100644
--- a/examples/telnetd/Makefile
+++ b/examples/telnetd/Makefile
@@ -43,7 +43,7 @@ MAINSRC = telnetd.c
 
 PROGNAME = telnetd
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_TELNETD)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/thttpd/Makefile b/examples/thttpd/Makefile
index 7c2d880..9ce0635 100644
--- a/examples/thttpd/Makefile
+++ b/examples/thttpd/Makefile
@@ -48,7 +48,7 @@ endif
 
 PROGNAME = thttp
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_THTTPD)
 
 thttpd_main.c: build
diff --git a/examples/tiff/Makefile b/examples/tiff/Makefile
index f0feaaa..87c5700 100644
--- a/examples/tiff/Makefile
+++ b/examples/tiff/Makefile
@@ -41,7 +41,7 @@ MAINSRC = tiff_main.c
 
 PROGNAME = tiff
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_TIFF)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/touchscreen/Makefile b/examples/touchscreen/Makefile
index 9226cd2..8526d5f 100644
--- a/examples/touchscreen/Makefile
+++ b/examples/touchscreen/Makefile
@@ -43,7 +43,7 @@ MAINSRC = tc_main.c
 
 PROGNAME = tc
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_TOUCHSCREEN)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/unionfs/Makefile b/examples/unionfs/Makefile
index 3b5bcee..8143fda 100644
--- a/examples/unionfs/Makefile
+++ b/examples/unionfs/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = unionfs
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_UNIONFS)
 
 # UNIONFS File System Example
diff --git a/examples/usbserial/Makefile b/examples/usbserial/Makefile
index f1b7602..01979c3 100644
--- a/examples/usbserial/Makefile
+++ b/examples/usbserial/Makefile
@@ -40,7 +40,7 @@
 
 PROGNAME = usbserial
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_USBSERIAL)
 
 MAINSRC = usbserial_main.c
diff --git a/examples/ustream/Makefile b/examples/ustream/Makefile
index 5efb3fa..f0615aa 100644
--- a/examples/ustream/Makefile
+++ b/examples/ustream/Makefile
@@ -41,7 +41,7 @@ MAINSRC = ustream_client.c ustream_server.c
 
 PROGNAME = client server
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_USTREAM)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/watchdog/Makefile b/examples/watchdog/Makefile
index 856c2ca..d48dc58 100644
--- a/examples/watchdog/Makefile
+++ b/examples/watchdog/Makefile
@@ -43,7 +43,7 @@ MAINSRC = watchdog_main.c
 
 PROGNAME = wdog
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_WATCHDOG)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/webserver/Makefile b/examples/webserver/Makefile
index 3ba8e64..f6da913 100644
--- a/examples/webserver/Makefile
+++ b/examples/webserver/Makefile
@@ -44,7 +44,7 @@ MAINSRC = webserver_main.c
 
 PROGNAME = webserver
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_WEBSERVER)
 
 # Common build
diff --git a/examples/wget/Makefile b/examples/wget/Makefile
index 2df1e2d..4698d47 100644
--- a/examples/wget/Makefile
+++ b/examples/wget/Makefile
@@ -41,7 +41,7 @@ MAINSRC = wget_main.c
 
 PROGNAME = wget
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_WGET)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/wgetjson/Makefile b/examples/wgetjson/Makefile
index dd17ace..a548c86 100644
--- a/examples/wgetjson/Makefile
+++ b/examples/wgetjson/Makefile
@@ -43,7 +43,7 @@ MAINSRC = wgetjson_main.c
 
 PROGNAME = wgetjson
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_WGETJSON)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/xmlrpc/Makefile b/examples/xmlrpc/Makefile
index 2ab5016..8e3e939 100644
--- a/examples/xmlrpc/Makefile
+++ b/examples/xmlrpc/Makefile
@@ -42,7 +42,7 @@
 
 PROGNAME = xmlrpc
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_XMLRPC)
 
 CSRCS = calls.c
diff --git a/examples/zerocross/Makefile b/examples/zerocross/Makefile
index 0c7a550..779524b 100644
--- a/examples/zerocross/Makefile
+++ b/examples/zerocross/Makefile
@@ -43,7 +43,7 @@ MAINSRC = zerocross_main.c
 
 PROGNAME = zerocross
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_EXAMPLES_ZEROCROSS)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CButton/Makefile b/graphics/nxwidgets/UnitTests/CButton/Makefile
index 054be1a..310ff91 100644
--- a/graphics/nxwidgets/UnitTests/CButton/Makefile
+++ b/graphics/nxwidgets/UnitTests/CButton/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cbutton_main.cxx
 
 PROGNAME = cbutton
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CBUTTON)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CButtonArray/Makefile b/graphics/nxwidgets/UnitTests/CButtonArray/Makefile
index b94d25d..ecfd7c0 100644
--- a/graphics/nxwidgets/UnitTests/CButtonArray/Makefile
+++ b/graphics/nxwidgets/UnitTests/CButtonArray/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cbuttonarray_main.cxx
 
 PROGNAME = cbuttonarray
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CBUTTONARRAY)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CCheckBox/Makefile b/graphics/nxwidgets/UnitTests/CCheckBox/Makefile
index 046690a..c1ddc33 100644
--- a/graphics/nxwidgets/UnitTests/CCheckBox/Makefile
+++ b/graphics/nxwidgets/UnitTests/CCheckBox/Makefile
@@ -42,7 +42,7 @@ MAINSRC = ccheckbox_main.cxx
 
 PROGNAME = ccheckbox
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CCHECKBOX)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CGlyphButton/Makefile b/graphics/nxwidgets/UnitTests/CGlyphButton/Makefile
index f9b4440..17ace8d 100644
--- a/graphics/nxwidgets/UnitTests/CGlyphButton/Makefile
+++ b/graphics/nxwidgets/UnitTests/CGlyphButton/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cglyphbutton_main.cxx
 
 PROGNAME = cglyphbutton
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CGLYPHBUTTON)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CGlyphSliderHorizontal/Makefile b/graphics/nxwidgets/UnitTests/CGlyphSliderHorizontal/Makefile
index c1d15f5..9f3afc9 100644
--- a/graphics/nxwidgets/UnitTests/CGlyphSliderHorizontal/Makefile
+++ b/graphics/nxwidgets/UnitTests/CGlyphSliderHorizontal/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cglyphsliderhorizontal_main.cxx
 
 PROGNAME = cglyphsliderhorizontal
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CGLYPHSLIDERHORIZONTAL)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CImage/Makefile b/graphics/nxwidgets/UnitTests/CImage/Makefile
index d1a6719..922813a 100644
--- a/graphics/nxwidgets/UnitTests/CImage/Makefile
+++ b/graphics/nxwidgets/UnitTests/CImage/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cimage_main.cxx
 
 PROGNAME = cimage
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CIMAGE)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CKeypad/Makefile b/graphics/nxwidgets/UnitTests/CKeypad/Makefile
index 197f3e5..710d5ae 100644
--- a/graphics/nxwidgets/UnitTests/CKeypad/Makefile
+++ b/graphics/nxwidgets/UnitTests/CKeypad/Makefile
@@ -42,7 +42,7 @@ MAINSRC = ckeypad_main.cxx
 
 PROGNAME = ckeypad
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CKEYPAD)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CLabel/Makefile b/graphics/nxwidgets/UnitTests/CLabel/Makefile
index 6d4996e..d5bc324 100644
--- a/graphics/nxwidgets/UnitTests/CLabel/Makefile
+++ b/graphics/nxwidgets/UnitTests/CLabel/Makefile
@@ -42,7 +42,7 @@ MAINSRC = clabel_main.cxx
 
 PROGNAME = clabel
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CLABEL)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CLatchButton/Makefile b/graphics/nxwidgets/UnitTests/CLatchButton/Makefile
index 4b27b63..2efdfe1 100644
--- a/graphics/nxwidgets/UnitTests/CLatchButton/Makefile
+++ b/graphics/nxwidgets/UnitTests/CLatchButton/Makefile
@@ -42,7 +42,7 @@ MAINSRC = clatchbutton_main.cxx
 
 PROGNAME = clatchbutton
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CLATCHBUTTON)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CLatchButtonArray/Makefile b/graphics/nxwidgets/UnitTests/CLatchButtonArray/Makefile
index 7d620d1..f012bcb 100644
--- a/graphics/nxwidgets/UnitTests/CLatchButtonArray/Makefile
+++ b/graphics/nxwidgets/UnitTests/CLatchButtonArray/Makefile
@@ -42,7 +42,7 @@ MAINSRC = clatchbuttonarray_main.cxx
 
 PROGNAME = clatchbuttonarray
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CLATCHBUTTONARRAY)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CListBox/Makefile b/graphics/nxwidgets/UnitTests/CListBox/Makefile
index 280ad06..afa03c2 100644
--- a/graphics/nxwidgets/UnitTests/CListBox/Makefile
+++ b/graphics/nxwidgets/UnitTests/CListBox/Makefile
@@ -42,7 +42,7 @@ MAINSRC = clistbox_main.cxx
 
 PROGNAME = clistbox
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CLISTBOX)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CProgressBar/Makefile b/graphics/nxwidgets/UnitTests/CProgressBar/Makefile
index b4c4907..561b7ab 100644
--- a/graphics/nxwidgets/UnitTests/CProgressBar/Makefile
+++ b/graphics/nxwidgets/UnitTests/CProgressBar/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cprogressbar_main.cxx
 
 PROGNAME = cprogressbar
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CPROGRESSBAR)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CRadioButton/Makefile b/graphics/nxwidgets/UnitTests/CRadioButton/Makefile
index 62c4f0b..d5b8a7d 100644
--- a/graphics/nxwidgets/UnitTests/CRadioButton/Makefile
+++ b/graphics/nxwidgets/UnitTests/CRadioButton/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cradiobutton_main.cxx
 
 PROGNAME = cradiobutton
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CRADIOBUTTON)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CScrollbarHorizontal/Makefile b/graphics/nxwidgets/UnitTests/CScrollbarHorizontal/Makefile
index 68c128f..1808fea 100644
--- a/graphics/nxwidgets/UnitTests/CScrollbarHorizontal/Makefile
+++ b/graphics/nxwidgets/UnitTests/CScrollbarHorizontal/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cscrollbarhorizontal_main.cxx
 
 PROGNAME = cscrollbarhorizontal
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CSCROLLBARHORIZONTAL)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CScrollbarVertical/Makefile b/graphics/nxwidgets/UnitTests/CScrollbarVertical/Makefile
index 1c1d3d9..882e4f9 100644
--- a/graphics/nxwidgets/UnitTests/CScrollbarVertical/Makefile
+++ b/graphics/nxwidgets/UnitTests/CScrollbarVertical/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cscrollbarvertical_main.cxx
 
 PROGNAME = cscrollbarvertical
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CSCROLLBARVERTICAL)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CSliderHorizonal/Makefile b/graphics/nxwidgets/UnitTests/CSliderHorizonal/Makefile
index 6e3de09..0aa2981 100644
--- a/graphics/nxwidgets/UnitTests/CSliderHorizonal/Makefile
+++ b/graphics/nxwidgets/UnitTests/CSliderHorizonal/Makefile
@@ -42,7 +42,7 @@ MAINSRC = csliderhorizontal_main.cxx
 
 PROGNAME = csliderhorizontal
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CSLIDERHORIZONAL)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CSliderVertical/Makefile b/graphics/nxwidgets/UnitTests/CSliderVertical/Makefile
index 01c5dd0..dc1bde4 100644
--- a/graphics/nxwidgets/UnitTests/CSliderVertical/Makefile
+++ b/graphics/nxwidgets/UnitTests/CSliderVertical/Makefile
@@ -42,7 +42,7 @@ MAINSRC = cslidervertical_main.cxx
 
 PROGNAME = cslidervertical
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CSLIDERVERTICAL)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwidgets/UnitTests/CTextBox/Makefile b/graphics/nxwidgets/UnitTests/CTextBox/Makefile
index bc5411f..187ceb9 100644
--- a/graphics/nxwidgets/UnitTests/CTextBox/Makefile
+++ b/graphics/nxwidgets/UnitTests/CTextBox/Makefile
@@ -42,7 +42,7 @@ MAINSRC = ctextbox_main.cxx
 
 PROGNAME = ctextbox
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWIDGETS_UNITTEST_CTEXTBOX)
 
 include $(APPDIR)/Application.mk
diff --git a/graphics/nxwm/Makefile b/graphics/nxwm/Makefile
index d1c0c97..86ec8aa 100644
--- a/graphics/nxwm/Makefile
+++ b/graphics/nxwm/Makefile
@@ -37,7 +37,7 @@
 
 PROGNAME = nxwm
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXWM)
 
 # Window Manager
diff --git a/system/cdcacm/Makefile b/system/cdcacm/Makefile
index 3be523c..fa6da53 100644
--- a/system/cdcacm/Makefile
+++ b/system/cdcacm/Makefile
@@ -41,7 +41,7 @@ MAINSRC = cdcacm_main.c
 
 PROGNAME = sercon serdis
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_CDCACM)
 
 include $(APPDIR)/Application.mk
diff --git a/system/composite/Makefile b/system/composite/Makefile
index 5cd4231..2ffd723 100644
--- a/system/composite/Makefile
+++ b/system/composite/Makefile
@@ -43,7 +43,7 @@ MAINSRC = composite_main.c
 
 PROGNAME = conn disconn
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_COMPOSITE)
 
 include $(APPDIR)/Application.mk
diff --git a/system/i2c/Makefile b/system/i2c/Makefile
index dd6e18b..66b0444 100644
--- a/system/i2c/Makefile
+++ b/system/i2c/Makefile
@@ -42,7 +42,7 @@ MAINSRC = i2c_main.c
 
 PROGNAME = i2c
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_I2CTOOL)
 
 include $(APPDIR)/Application.mk
diff --git a/system/mdio/Makefile b/system/mdio/Makefile
index dfe8d36..1079d48 100644
--- a/system/mdio/Makefile
+++ b/system/mdio/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = mdio
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_MDIO)
 
 # MDIO tool
diff --git a/system/nxrecorder/Makefile b/system/nxrecorder/Makefile
index 900b564..8aae5a7 100644
--- a/system/nxrecorder/Makefile
+++ b/system/nxrecorder/Makefile
@@ -42,7 +42,7 @@ CSRCS = nxrecorder.c
 ifneq ($(CONFIG_NXRECORDER_COMMAND_LINE),)
 PROGNAME = nxrecorder
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_NXRECORDER_COMMAND_LINE)
 
 MAINSRC = nxrecorder_main.c
diff --git a/system/stackmonitor/Makefile b/system/stackmonitor/Makefile
index f1eceae..ad93df9 100644
--- a/system/stackmonitor/Makefile
+++ b/system/stackmonitor/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = stackmonitor_start stackmonitor_stop
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_STACKMONITOR)
 
 MAINSRC = stackmonitor.c
diff --git a/system/ubloxmodem/Makefile b/system/ubloxmodem/Makefile
index ebfe645..4d3c5b2 100644
--- a/system/ubloxmodem/Makefile
+++ b/system/ubloxmodem/Makefile
@@ -41,7 +41,7 @@ MAINSRC = ubloxmodem_main.c
 
 PROGNAME = ubloxmodem
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_UBLOXMODEM)
 
 include $(APPDIR)/Application.mk
diff --git a/testing/nxffs/Makefile b/testing/nxffs/Makefile
index cbb178b..7bcd699 100644
--- a/testing/nxffs/Makefile
+++ b/testing/nxffs/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = nxffs
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_TESTING_NXFFS)
 
 MAINSRC = nxffs_main.c
diff --git a/testing/ostest/Makefile b/testing/ostest/Makefile
index 0cb2c97..33c06f4 100644
--- a/testing/ostest/Makefile
+++ b/testing/ostest/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = ostest
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_TESTING_OSTEST)
 
 # NuttX OS Test
diff --git a/testing/smart/Makefile b/testing/smart/Makefile
index 690b81a..f090ae9 100644
--- a/testing/smart/Makefile
+++ b/testing/smart/Makefile
@@ -39,7 +39,7 @@
 
 PROGNAME = smart
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_TESTING_SMART)
 
 MAINSRC = smart_main.c
diff --git a/wireless/ieee802154/i8shark/Makefile b/wireless/ieee802154/i8shark/Makefile
index ab58789..9df95ba 100644
--- a/wireless/ieee802154/i8shark/Makefile
+++ b/wireless/ieee802154/i8shark/Makefile
@@ -41,7 +41,7 @@ MAINSRC = i8shark_main.c
 
 PROGNAME = i8shark
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_IEEE802154_I8SHARK)
 
 include $(APPDIR)/Application.mk


[incubator-nuttx-apps] 03/07: Change the default of a few stack size configs to DEFAULT_TASK_STACKSIZE

Posted by xi...@apache.org.
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 2ecdf4c554cc76202dcae9b58185c6dbcf16f9ce
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Mar 27 14:19:29 2020 +0900

    Change the default of a few stack size configs to DEFAULT_TASK_STACKSIZE
    
    These had the larger default for the sim.
    It's no longer necessary as DEFAULT_TASK_STACKSIZE
    can have different default for each arch.
    
    See also:
        commit b1d44a81b450a23511dcbd31b783fe2cf4a935f9
---
 system/popen/Kconfig  | 3 +--
 system/system/Kconfig | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/system/popen/Kconfig b/system/popen/Kconfig
index 9d4814b..9c7527b 100644
--- a/system/popen/Kconfig
+++ b/system/popen/Kconfig
@@ -26,8 +26,7 @@ config SYSTEM_POPEN_SHPATH
 
 config SYSTEM_POPEN_STACKSIZE
 	int "Shell stack size"
-	default 2048 if !ARCH_SIM
-	default 4096 if ARCH_SIM
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The size of stack allocated for the shell.
 
diff --git a/system/system/Kconfig b/system/system/Kconfig
index 2461197..36be798 100644
--- a/system/system/Kconfig
+++ b/system/system/Kconfig
@@ -25,8 +25,7 @@ config SYSTEM_SYSTEM_SHPATH
 
 config SYSTEM_SYSTEM_STACKSIZE
 	int "system stack size"
-	default 2048 if !ARCH_SIM
-	default 4096 if ARCH_SIM
+	default DEFAULT_TASK_STACKSIZE
 	---help---
 		The size of stack allocated for the shell.
 


[incubator-nuttx-apps] 05/07: Change the default of stack size configs to DEFAULT_TASK_STACKSIZE

Posted by xi...@apache.org.
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


[incubator-nuttx-apps] 02/07: Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE

Posted by xi...@apache.org.
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"


[incubator-nuttx-apps] 06/07: system/flash_eraseall: Bump stack size to DEFAULT_TASK_STACKSIZE

Posted by xi...@apache.org.
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 eb083265f47e6196931fb7ea4624b2dabcf02ac2
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Mar 27 15:29:07 2020 +0900

    system/flash_eraseall: Bump stack size to DEFAULT_TASK_STACKSIZE
---
 system/flash_eraseall/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/flash_eraseall/Makefile b/system/flash_eraseall/Makefile
index bf213f6..7a16758 100644
--- a/system/flash_eraseall/Makefile
+++ b/system/flash_eraseall/Makefile
@@ -41,7 +41,7 @@
 
 PROGNAME = flash_eraseall
 PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 1024
+STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_FLASH_ERASEALL)
 
 MAINSRC = flash_eraseall_main.c


[incubator-nuttx-apps] 07/07: system/ramtest: Change the default of stack size to DEFAULT_TASK_STACKSIZE

Posted by xi...@apache.org.
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 3ba85167fe5b158071daab78e6976ccb586e2a36
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Mar 27 16:14:18 2020 +0900

    system/ramtest: Change the default of stack size to DEFAULT_TASK_STACKSIZE
    
    Given what this program does, it's probably ok to allocate a few more
    kilo bytes of the stack.
---
 system/ramtest/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/ramtest/Kconfig b/system/ramtest/Kconfig
index 7c3d08a..6faa15d 100644
--- a/system/ramtest/Kconfig
+++ b/system/ramtest/Kconfig
@@ -24,6 +24,6 @@ config SYSTEM_RAMTEST_PRIORITY
 
 config SYSTEM_RAMTEST_STACKSIZE
 	int "RAM test stack size"
-	default 1024
+	default DEFAULT_TASK_STACKSIZE
 
 endif