diff --git a/examples/abntcodi/Kconfig b/examples/abntcodi/Kconfig index 4154492ac89..6f553153e5c 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/adc/Makefile b/examples/adc/Makefile index e0908c997d7..5c07675808a 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/adxl372_test/Kconfig b/examples/adxl372_test/Kconfig index 19e9c836a12..9f04a579712 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/ajoystick/Makefile b/examples/ajoystick/Makefile index d2673375fbd..e98fbd8fe6d 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/alarm/Kconfig b/examples/alarm/Kconfig index b55c986e82d..e36961f357d 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/apa102/Makefile b/examples/apa102/Makefile index f6c1f6f7c95..2c1e40d203f 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/apds9960/Kconfig b/examples/apds9960/Kconfig index 0de5d404b24..30caec2c522 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 7cff98e8642..2dae260b01b 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/bastest/Makefile b/examples/bastest/Makefile index f195d0ec8dc..3e201056ded 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/battery/Kconfig b/examples/battery/Kconfig index 0f1a5eb82ad..3e532d3e657 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 019ca08f7fb..c84b3afda1d 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 de96192f84f..f2b63ac87a9 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 93803129bb9..a499d307c12 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/bridge/Makefile b/examples/bridge/Makefile index 58a8c400140..f13e4f0700c 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/buttons/Kconfig b/examples/buttons/Kconfig index c2731eb35ea..42150b37e52 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/calib_udelay/Makefile b/examples/calib_udelay/Makefile index 7c6ac42c6f2..96c87838458 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 f04b6372d22..22ec5c63c1c 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/canard/Kconfig b/examples/canard/Kconfig index b52a2a058a1..6595aee6a62 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/cctype/Makefile b/examples/cctype/Makefile index 19145576e5b..ff16d110aed 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/charger/Kconfig b/examples/charger/Kconfig index b9a98f1d9ee..94629bed39d 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/chat/Makefile b/examples/chat/Makefile index 4e4e2ba5473..cd81bbc4bff 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/chrono/Kconfig b/examples/chrono/Kconfig index c6bc6eef05e..26c02ee445e 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/configdata/Makefile b/examples/configdata/Makefile index 3386f53ed2b..5ec97a42b39 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/cpuhog/Kconfig b/examples/cpuhog/Kconfig index 12285c89abc..9384eb52bc9 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/dac/Makefile b/examples/dac/Makefile index 6a83e567304..f04b3668210 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 d7a53fe1357..1d371021043 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/dhtxx/Kconfig b/examples/dhtxx/Kconfig index 08e80ffd81a..7ba8c504a2e 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/discover/Makefile b/examples/discover/Makefile index 538187ae4ad..ee60b88b22d 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 30a9e6d3120..3740111a1ed 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/dsptest/Kconfig b/examples/dsptest/Kconfig index ddbf0481765..4ecda434918 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/elf/Makefile b/examples/elf/Makefile index b915718015e..4df948a313a 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/embedlog/Kconfig b/examples/embedlog/Kconfig index f794642aeb4..8d92d73273a 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 038c41aed32..5029a89c102 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 92e1b9a3d23..a13bfcf6906 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/flash_test/Makefile b/examples/flash_test/Makefile index 215e7d62497..bfabfa15110 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/flowc/Kconfig b/examples/flowc/Kconfig index 10269269cb2..793b67e41ef 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 cbc06f50293..7921a02d15b 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 b3637398c9c..b2edd881eab 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 db97d088d26..954076a9e21 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 9b457421539..c69d0549ce2 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 3ae09609646..a35bddc2321 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/helloxx/Makefile b/examples/helloxx/Makefile index 0f7306c0928..e821a4c895e 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/hidkbd/Kconfig b/examples/hidkbd/Kconfig index 6e2d5a5ed3b..381bbf70b34 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/hts221_reader/Makefile b/examples/hts221_reader/Makefile index a0a9a6bce15..ba759603f11 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/Kconfig b/examples/i2schar/Kconfig index 890b3783f68..00086d2cadb 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/examples/i2schar/Makefile b/examples/i2schar/Makefile index 645e81ffb39..29bd14efe3d 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 857eb62e02a..a142fe17a6d 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/igmp/Makefile b/examples/igmp/Makefile index ca86eb4b0b2..4c9460a16f2 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/ina219/Kconfig b/examples/ina219/Kconfig index efa0d1e7d09..c5fd8605920 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 894ef81e1bb..289b30b5be6 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 27f69974a17..89a0c190b55 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 4ae0add9fc5..951eae3d58f 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/json/Makefile b/examples/json/Makefile index ae5a66238d1..7d9e4c2557c 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/leds/Kconfig b/examples/leds/Kconfig index 62465389dbe..6f1f0921932 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/lis3dsh_reader/Makefile b/examples/lis3dsh_reader/Makefile index fc4fda031e1..be68b083b9e 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 0e11a15c80e..cc116e6af8a 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/lsm330spi_test/Kconfig b/examples/lsm330spi_test/Kconfig index 258f73630f5..5f5efee8df2 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/lsm6dsl_reader/Makefile b/examples/lsm6dsl_reader/Makefile index 4d558b088d8..ebe4f3436dd 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/max31855/Kconfig b/examples/max31855/Kconfig index 7db09231820..befbea82d2f 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/media/Makefile b/examples/media/Makefile index 7ec11443fe4..8a80959937a 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/mld/Kconfig b/examples/mld/Kconfig index af285c8d080..4816998bb92 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/mlx90614/Makefile b/examples/mlx90614/Makefile index 6770d1ae1af..83478793086 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 a5233ffcd98..70692964b0e 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/modbusmaster/Kconfig b/examples/modbusmaster/Kconfig index f875270af4e..5ebead07a3d 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/module/Makefile b/examples/module/Makefile index c123d2f9c60..17d2202955d 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/Kconfig b/examples/mount/Kconfig index 81e80eaa573..499e98d2b7f 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/mount/Makefile b/examples/mount/Makefile index d1fc2a28541..65e1f717214 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 0c143ab1979..d01f4b8f875 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 40a2abac3dc..baaf74d3326 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/netlink_route/Kconfig b/examples/netlink_route/Kconfig index 3632576d503..10c12eca550 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 b246320253b..38938fdcfd2 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/netpkt/Makefile b/examples/netpkt/Makefile index 0e7656bf5a1..d0b0490cd65 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/nettest/Kconfig b/examples/nettest/Kconfig index d7b76f5bc88..5c3d31fea35 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/nrf24l01_term/Makefile b/examples/nrf24l01_term/Makefile index 8e104119b98..0ddf663a466 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 b8e65f5c26b..dcd68303176 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 e955eefb591..cfd8ffe8629 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/Kconfig b/examples/nx/Kconfig index 4408646620e..7c5b834e2e9 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/nx/Makefile b/examples/nx/Makefile index f61ba6a885b..98a720ebfcb 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 32fa7d3d655..3fd7a95758c 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 7eda0a179b4..baae7447167 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/nxhello/Kconfig b/examples/nxhello/Kconfig index d9140e72add..36c97cffa11 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 c0310d5a533..b1ca1bbc140 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 84373315d1a..82bab9d496f 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 44bc3b455c5..d9881638d9a 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 ed3f68c22c9..d92c7fa1572 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/nxtext/Makefile b/examples/nxtext/Makefile index 221d2e5f8d0..2c01f7bc5a9 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 11e9a5a093c..ad0ce3175c2 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/oneshot/Kconfig b/examples/oneshot/Kconfig index d453ac960aa..e244d289db7 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/pca9635/Makefile b/examples/pca9635/Makefile index ba582a3126d..6e675bad021 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/pdcurses/Kconfig b/examples/pdcurses/Kconfig index 5ab088fce9c..60f38f0e89b 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 b4314528339..a124f3d0d26 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/pipe/Makefile b/examples/pipe/Makefile index bfacf737dfa..d3f8f3d5899 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 d6e6ff4ae83..68167820e7b 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/popen/Kconfig b/examples/popen/Kconfig index 0292dfcf457..3b2eba29e5b 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/posix_spawn/Makefile b/examples/posix_spawn/Makefile index 8baafa36900..a00f5e13268 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/powerled/Makefile b/examples/powerled/Makefile index 5e30ff5898a..6e5e25ca227 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 215b12fe53c..8bc2d008dd4 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/pppd/Kconfig b/examples/pppd/Kconfig index bceb7e8bf37..0701a1e4e41 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 be9b2caa3bb..8448693df32 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 1feff751ab8..4c72205f327 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 74518b1d22d..02dd2f82f1c 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/pwm/Makefile b/examples/pwm/Makefile index ca5cb170879..68a1433385b 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 bdee89489e7..7cbc231c74b 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 528a6491316..155ef77922d 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/relays/Makefile b/examples/relays/Makefile index 7dc02333668..f0fd33410af 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/rfid_readuid/Kconfig b/examples/rfid_readuid/Kconfig index 511fa9f9b8f..e117062b9bf 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 0c4ccf646e5..4feac3a4a00 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/romfs/Makefile b/examples/romfs/Makefile index bdd2044d7b2..64079e26957 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 03a52d012bb..8ebc4c2dc5f 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/serialblaster/Kconfig b/examples/serialblaster/Kconfig index 6b566845511..11822a70b92 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 5b5917e09ca..b04144ee9a1 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/serloop/Makefile b/examples/serloop/Makefile index 5dee84ffdd2..e58a1c22ad5 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 75f1c426de6..e9298bf7305 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/smps/Makefile b/examples/smps/Makefile index 08d7ae22004..a513ab01226 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 diff --git a/examples/sotest/Makefile b/examples/sotest/Makefile index 2411aa07bbc..dc9947957fb 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/stat/Kconfig b/examples/stat/Kconfig index fb00e327855..1b349977be6 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/sx127x_demo/Makefile b/examples/sx127x_demo/Makefile index b68521fbe62..2835c6c558c 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/system/Kconfig b/examples/system/Kconfig index 39ed93cdd5f..88664784537 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 470487c6471..7b5304744b4 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/tcpecho/Makefile b/examples/tcpecho/Makefile index 7eac0ea7204..451d80c8ce2 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/Kconfig b/examples/telnetd/Kconfig index 5a5663e3043..f53c77b06d2 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/telnetd/Makefile b/examples/telnetd/Makefile index b9879ed54bb..194c99caa99 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 7c2d8801340..9ce0635baf1 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 f0feaaa732f..87c570041fb 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/timer/Kconfig b/examples/timer/Kconfig index c961d3580d9..6db7e7d6e12 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/touchscreen/Makefile b/examples/touchscreen/Makefile index 9226cd215dc..8526d5faf03 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/udp/Kconfig b/examples/udp/Kconfig index 8233d71addf..4914f655c7b 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 9e889c15527..606de1d5b07 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 302a6658433..74be504ccdb 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/unionfs/Makefile b/examples/unionfs/Makefile index 3b5bceed2bf..8143fdaf290 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 f1b7602f52f..01979c399e2 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/userfs/Kconfig b/examples/userfs/Kconfig index 38c1f8fe468..b1d868f5a3f 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/ustream/Makefile b/examples/ustream/Makefile index 5efb3fabc1b..f0615aa8ad2 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/veml6070/Kconfig b/examples/veml6070/Kconfig index 9746821ea47..4e0bafbc54e 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/watchdog/Makefile b/examples/watchdog/Makefile index 856c2ca88b7..d48dc5834a6 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 3ba8e64f939..f6da913c5cc 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 2df1e2d95d2..4698d47637a 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 dd17ace9c04..a548c8687e8 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/xbc_test/Kconfig b/examples/xbc_test/Kconfig index e0d17b28d56..99f99f7e419 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/examples/xmlrpc/Makefile b/examples/xmlrpc/Makefile index 2ab501677d6..8e3e939a9a2 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 0c7a55059ee..779524bb6e2 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/Kconfig b/graphics/nxwidgets/Kconfig index 46cf936cac9..cfaefa7df35 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/nxwidgets/UnitTests/CButton/Makefile b/graphics/nxwidgets/UnitTests/CButton/Makefile index 054be1ad267..310ff91bcae 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 b94d25d778c..ecfd7c04dac 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 046690a4d3a..c1ddc3390c7 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 f9b44406f97..17ace8d5715 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 c1d15f55837..9f3afc913a6 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 d1a67193737..922813a8dd4 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 197f3e54b96..710d5ae2abb 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 6d4996e73f8..d5bc324bb8e 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 4b27b63c99e..2efdfe14687 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 7d620d13a6c..f012bcb517c 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 280ad06f758..afa03c2e92e 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 b4c4907ecc4..561b7abad33 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 62c4f0ba50e..d5b8a7d071c 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 68c128fb12f..1808fea88aa 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 1c1d3d915c1..882e4f92a73 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 6e3de097ecd..0aa2981ec0a 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 01c5dd0335d..dc1bde45459 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 bc5411fad61..187ceb9f5eb 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/Kconfig b/graphics/nxwm/Kconfig index 6914d71817a..e8a319485b2 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/nxwm/Makefile b/graphics/nxwm/Makefile index d1c0c974d60..86ec8aa423b 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/graphics/twm4nx/Kconfig b/graphics/twm4nx/Kconfig index f0f7c97c76f..b1369db0a71 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 c3fe95ad85a..07f4cda6dbc 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 173737771a4..d6466ffef4d 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/netinit/Kconfig b/netutils/netinit/Kconfig index e6856a8829b..4f0e31a05c6 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/netutils/ntpclient/Kconfig b/netutils/ntpclient/Kconfig index 202b4112dbd..ce2be151a8d 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 c714f0b706a..8d7b40ecff3 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 e87853c8bdc..abc96d69e04 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/cdcacm/Makefile b/system/cdcacm/Makefile index 3be523c042f..fa6da535149 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/cfgdata/Kconfig b/system/cfgdata/Kconfig index f79546efb94..23eb9ebced4 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/composite/Makefile b/system/composite/Makefile index 5cd42316cb7..2ffd7238e30 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/critmon/Kconfig b/system/critmon/Kconfig index 4922b3d4d7a..626b2bbd92c 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 6ce6d7b8ef1..aa5693a09b7 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 3d18de27853..f6794344d66 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/flash_eraseall/Makefile b/system/flash_eraseall/Makefile index bf213f68624..7a16758c721 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 diff --git a/system/hexed/Kconfig b/system/hexed/Kconfig index 4e6c37fc357..5319c5f9271 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/i2c/Makefile b/system/i2c/Makefile index dd6e18b59eb..66b0444b22e 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/lzf/Kconfig b/system/lzf/Kconfig index 17c12622434..dad84b9a27b 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/mdio/Makefile b/system/mdio/Makefile index dfe8d36c705..1079d480a3c 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/netdb/Kconfig b/system/netdb/Kconfig index c2d39ff804d..0677dee8e59 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 8158cfd80fb..e92a29733e8 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 946a40f8156..30be27a063e 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 39558bc1096..3a7ac362f50 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/nxrecorder/Makefile b/system/nxrecorder/Makefile index 900b56418f7..8aae5a7b9b2 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/ping/Kconfig b/system/ping/Kconfig index 020a81ea978..78502b6d2d6 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 35b08905ad1..2d76a264076 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/popen/Kconfig b/system/popen/Kconfig index 9d4814bbb27..9c7527baaa0 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/psmq/Kconfig b/system/psmq/Kconfig index df20e6f06c5..d3d8178cdce 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/ramtest/Kconfig b/system/ramtest/Kconfig index 7c3d08ab01d..6faa15da168 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 diff --git a/system/sched_note/Kconfig b/system/sched_note/Kconfig index 92186eeaec9..2b178786b11 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 4f1258fff15..1f31eaf1135 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 ad8973f3448..42b9bae6cc7 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 8d4c42ba52f..64cfed70884 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/stackmonitor/Makefile b/system/stackmonitor/Makefile index f1eceaefcba..ad93df93f06 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/system/Kconfig b/system/system/Kconfig index 24611971665..36be798e4df 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. diff --git a/system/taskset/Kconfig b/system/taskset/Kconfig index b28b865ad18..a9e5d215ebc 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 5ad2dedc5d3..ba84a77b5f9 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/ubloxmodem/Makefile b/system/ubloxmodem/Makefile index ebfe6457cac..4d3c5b29e5e 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/system/usrsock_rpmsg/Kconfig b/system/usrsock_rpmsg/Kconfig index 0ba8051197a..9f6a9de4d6e 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 cef46288b01..c3b94056161 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 7b449badc41..90180a917c5 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 535ca70d7c0..d468f9d3db5 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/getprime/Kconfig b/testing/getprime/Kconfig index d59fd80a732..5085ac7839d 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 diff --git a/testing/mm/Kconfig b/testing/mm/Kconfig index 972ccb25d5d..9b30b0544d8 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/nxffs/Makefile b/testing/nxffs/Makefile index cbb178baeab..7bcd699a818 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/Kconfig b/testing/ostest/Kconfig index d840e25c86c..d007a296b7d 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/ostest/Makefile b/testing/ostest/Makefile index 0cb2c976232..33c06f462dc 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/scanftest/Kconfig b/testing/scanftest/Kconfig index 825661cceb5..c625b63f65f 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/smart/Makefile b/testing/smart/Makefile index 690b81a6b55..f090ae9b88a 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/testing/smp/Kconfig b/testing/smp/Kconfig index 746c5a14b31..59af02f49bd 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 b64ff70089b..0c52fb94631 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 6281b587e6e..8440fc3109a 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 77f827b2cab..8fa2ba36fe2 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/ieee802154/i8shark/Makefile b/wireless/ieee802154/i8shark/Makefile index ab58789f32b..9df95ba6c77 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 diff --git a/wireless/iwpan/Kconfig b/wireless/iwpan/Kconfig index 543e8a6b83f..735b4d1ebe2 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 65c532aa63c..309f3366d73 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"