aboutsummaryrefslogtreecommitdiff
path: root/nuttx-configs
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-03-06 15:17:53 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-03-06 15:18:48 +0100
commit61eb228e4d8cfc95c1c4a84ed870f2b4918d7c6e (patch)
treeca57b3d01afa017d71398c2cf9c0d14c8ddd37de /nuttx-configs
parent36ba60d63c024c23efdb4bba780ac98b5b257ee6 (diff)
downloadpx4-firmware-61eb228e4d8cfc95c1c4a84ed870f2b4918d7c6e.tar.gz
px4-firmware-61eb228e4d8cfc95c1c4a84ed870f2b4918d7c6e.tar.bz2
px4-firmware-61eb228e4d8cfc95c1c4a84ed870f2b4918d7c6e.zip
Reduce excessive stack sizes on main OS stacks. This has been tested on mavlink_beta, but needs more careful testing.
Diffstat (limited to 'nuttx-configs')
-rw-r--r--nuttx-configs/px4fmu-v1/nsh/defconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx-configs/px4fmu-v1/nsh/defconfig b/nuttx-configs/px4fmu-v1/nsh/defconfig
index 1dc96b3c3..20edc68aa 100644
--- a/nuttx-configs/px4fmu-v1/nsh/defconfig
+++ b/nuttx-configs/px4fmu-v1/nsh/defconfig
@@ -417,7 +417,7 @@ CONFIG_PREALLOC_TIMERS=50
#
# Stack and heap information
#
-CONFIG_IDLETHREAD_STACKSIZE=6000
+CONFIG_IDLETHREAD_STACKSIZE=4096
CONFIG_USERMAIN_STACKSIZE=4096
CONFIG_PTHREAD_STACK_MIN=512
CONFIG_PTHREAD_STACK_DEFAULT=2048
@@ -720,11 +720,11 @@ CONFIG_SCHED_WORKQUEUE=y
CONFIG_SCHED_HPWORK=y
CONFIG_SCHED_WORKPRIORITY=192
CONFIG_SCHED_WORKPERIOD=5000
-CONFIG_SCHED_WORKSTACKSIZE=4000
+CONFIG_SCHED_WORKSTACKSIZE=2048
CONFIG_SCHED_LPWORK=y
CONFIG_SCHED_LPWORKPRIORITY=50
CONFIG_SCHED_LPWORKPERIOD=50000
-CONFIG_SCHED_LPWORKSTACKSIZE=4000
+CONFIG_SCHED_LPWORKSTACKSIZE=2048
# CONFIG_LIB_KBDCODEC is not set
# CONFIG_LIB_SLCDCODEC is not set