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.
This commit is contained in:
parent
2ecdf4c554
commit
35933d8131
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
PROGNAME = igmp
|
PROGNAME = igmp
|
||||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||||
STACKSIZE = 1024
|
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
||||||
MODULE = $(CONFIG_EXAMPLES_IGMP)
|
MODULE = $(CONFIG_EXAMPLES_IGMP)
|
||||||
|
|
||||||
# IGMP Networking Example
|
# IGMP Networking Example
|
||||||
|
@ -41,7 +41,7 @@ MAINSRC = powerled_main.c
|
|||||||
|
|
||||||
PROGNAME = powerled
|
PROGNAME = powerled
|
||||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||||
STACKSIZE = 1024
|
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
||||||
MODULE = $(CONFIG_EXAMPLES_POWERLED)
|
MODULE = $(CONFIG_EXAMPLES_POWERLED)
|
||||||
|
|
||||||
include $(APPDIR)/Application.mk
|
include $(APPDIR)/Application.mk
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
PROGNAME = powermonitor
|
PROGNAME = powermonitor
|
||||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||||
STACKSIZE = 768
|
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
||||||
MODULE = $(CONFIG_EXAMPLES_POWERMONITOR)
|
MODULE = $(CONFIG_EXAMPLES_POWERMONITOR)
|
||||||
|
|
||||||
MAINSRC = powermonitor_main.c
|
MAINSRC = powermonitor_main.c
|
||||||
|
@ -43,7 +43,7 @@ MAINSRC = relays_main.c
|
|||||||
|
|
||||||
PROGNAME = relays
|
PROGNAME = relays
|
||||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||||
STACKSIZE = 512
|
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
||||||
MODULE = $(CONFIG_EXAMPLES_RELAYS)
|
MODULE = $(CONFIG_EXAMPLES_RELAYS)
|
||||||
|
|
||||||
include $(APPDIR)/Application.mk
|
include $(APPDIR)/Application.mk
|
||||||
|
@ -41,7 +41,7 @@ MAINSRC = smps_main.c
|
|||||||
|
|
||||||
PROGNAME = smps
|
PROGNAME = smps
|
||||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||||
STACKSIZE = 1024
|
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
||||||
MODULE = $(CONFIG_EXAMPLES_SMPS)
|
MODULE = $(CONFIG_EXAMPLES_SMPS)
|
||||||
|
|
||||||
include $(APPDIR)/Application.mk
|
include $(APPDIR)/Application.mk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user