diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-15 07:52:51 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-15 07:52:51 +0200 |
commit | 8f6a50708fe847fdfe7a1ea5c8d3f8771019e7c8 (patch) | |
tree | 7dd54d1150b9f9581315b5ab1e7cbd45cc34bad7 /src | |
parent | 8e46308fdd65356e4e06ef9a91cc5771b7ac6f34 (diff) | |
download | px4-firmware-8f6a50708fe847fdfe7a1ea5c8d3f8771019e7c8.tar.gz px4-firmware-8f6a50708fe847fdfe7a1ea5c8d3f8771019e7c8.tar.bz2 px4-firmware-8f6a50708fe847fdfe7a1ea5c8d3f8771019e7c8.zip |
examples: Adjust start tool and main stack sizes to reasonable defaults
Diffstat (limited to 'src')
-rw-r--r-- | src/examples/px4_daemon_app/module.mk | 2 | ||||
-rw-r--r-- | src/examples/px4_daemon_app/px4_daemon_app.c | 2 | ||||
-rw-r--r-- | src/examples/px4_mavlink_debug/module.mk | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/examples/px4_daemon_app/module.mk b/src/examples/px4_daemon_app/module.mk index 5f8aa73d5..fc4223142 100644 --- a/src/examples/px4_daemon_app/module.mk +++ b/src/examples/px4_daemon_app/module.mk @@ -38,3 +38,5 @@ MODULE_COMMAND = px4_daemon_app SRCS = px4_daemon_app.c + +MODULE_STACKSIZE = 1200 diff --git a/src/examples/px4_daemon_app/px4_daemon_app.c b/src/examples/px4_daemon_app/px4_daemon_app.c index 53f1b4a9a..3eaf14148 100644 --- a/src/examples/px4_daemon_app/px4_daemon_app.c +++ b/src/examples/px4_daemon_app/px4_daemon_app.c @@ -98,7 +98,7 @@ int px4_daemon_app_main(int argc, char *argv[]) daemon_task = task_spawn_cmd("daemon", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT, - 4096, + 2000, px4_daemon_thread_main, (argv) ? (const char **)&argv[2] : (const char **)NULL); exit(0); diff --git a/src/examples/px4_mavlink_debug/module.mk b/src/examples/px4_mavlink_debug/module.mk index fefd61496..c7ef97fc4 100644 --- a/src/examples/px4_mavlink_debug/module.mk +++ b/src/examples/px4_mavlink_debug/module.mk @@ -37,4 +37,6 @@ MODULE_COMMAND = px4_mavlink_debug -SRCS = px4_mavlink_debug.c
\ No newline at end of file +SRCS = px4_mavlink_debug.c + +MODULE_STACKSIZE = 2000 |