diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-15 00:14:33 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-15 00:14:33 -0700 |
commit | 91b67d3f4aff0686638828ed2629793cc04b8be4 (patch) | |
tree | c91b27ae568cc0f9286f97bd7743b60861921633 /src/systemcmds | |
parent | 839373f5aebe462e55533c0e8a0b960de46d4c24 (diff) | |
parent | 9f097c1858d002eecbcda8cf8272fb8fbde1a31e (diff) | |
download | px4-firmware-91b67d3f4aff0686638828ed2629793cc04b8be4.tar.gz px4-firmware-91b67d3f4aff0686638828ed2629793cc04b8be4.tar.bz2 px4-firmware-91b67d3f4aff0686638828ed2629793cc04b8be4.zip |
Merge pull request #954 from PX4/stack_sweep
Stack sweep
Diffstat (limited to 'src/systemcmds')
-rw-r--r-- | src/systemcmds/param/module.mk | 3 | ||||
-rw-r--r-- | src/systemcmds/perf/module.mk | 2 | ||||
-rw-r--r-- | src/systemcmds/preflight_check/module.mk | 2 | ||||
-rw-r--r-- | src/systemcmds/pwm/module.mk | 2 | ||||
-rw-r--r-- | src/systemcmds/reboot/module.mk | 2 | ||||
-rw-r--r-- | src/systemcmds/top/module.mk | 2 |
6 files changed, 10 insertions, 3 deletions
diff --git a/src/systemcmds/param/module.mk b/src/systemcmds/param/module.mk index 63f15ad28..f716eb71e 100644 --- a/src/systemcmds/param/module.mk +++ b/src/systemcmds/param/module.mk @@ -38,7 +38,8 @@ MODULE_COMMAND = param SRCS = param.c -MODULE_STACKSIZE = 4096 +# Note: measurements yielded a max of 900 bytes used. +MODULE_STACKSIZE = 1800 MAXOPTIMIZATION = -Os diff --git a/src/systemcmds/perf/module.mk b/src/systemcmds/perf/module.mk index 77952842b..ec39a7a85 100644 --- a/src/systemcmds/perf/module.mk +++ b/src/systemcmds/perf/module.mk @@ -39,3 +39,5 @@ MODULE_COMMAND = perf SRCS = perf.c MAXOPTIMIZATION = -Os + +MODULE_STACKSIZE = 1800 diff --git a/src/systemcmds/preflight_check/module.mk b/src/systemcmds/preflight_check/module.mk index 7c3c88783..0cb2a4cd0 100644 --- a/src/systemcmds/preflight_check/module.mk +++ b/src/systemcmds/preflight_check/module.mk @@ -40,3 +40,5 @@ MODULE_COMMAND = preflight_check SRCS = preflight_check.c MAXOPTIMIZATION = -Os + +MODULE_STACKSIZE = 1800 diff --git a/src/systemcmds/pwm/module.mk b/src/systemcmds/pwm/module.mk index 4a23bba90..13a24150f 100644 --- a/src/systemcmds/pwm/module.mk +++ b/src/systemcmds/pwm/module.mk @@ -38,4 +38,4 @@ MODULE_COMMAND = pwm SRCS = pwm.c -MODULE_STACKSIZE = 4096 +MODULE_STACKSIZE = 1800 diff --git a/src/systemcmds/reboot/module.mk b/src/systemcmds/reboot/module.mk index 19f64af54..edf9d8b37 100644 --- a/src/systemcmds/reboot/module.mk +++ b/src/systemcmds/reboot/module.mk @@ -39,3 +39,5 @@ MODULE_COMMAND = reboot SRCS = reboot.c MAXOPTIMIZATION = -Os + +MODULE_STACKSIZE = 800 diff --git a/src/systemcmds/top/module.mk b/src/systemcmds/top/module.mk index 985ea846f..548a09f85 100644 --- a/src/systemcmds/top/module.mk +++ b/src/systemcmds/top/module.mk @@ -38,7 +38,7 @@ MODULE_COMMAND = top SRCS = top.c -MODULE_STACKSIZE = 2048 +MODULE_STACKSIZE = 1700 MAXOPTIMIZATION = -Os |