aboutsummaryrefslogtreecommitdiff
path: root/nuttx-configs/px4fmu-v2
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-03-03 17:28:14 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-03-03 17:28:14 +0100
commitf7ef6e19502aabbb4b8b1131b88854669885b178 (patch)
treed02c1e59024e5f8e0bce4509ac20ccadf2f44863 /nuttx-configs/px4fmu-v2
parent3e5b8ded8cdd650e961008ce65c93dd64a326554 (diff)
downloadpx4-firmware-f7ef6e19502aabbb4b8b1131b88854669885b178.tar.gz
px4-firmware-f7ef6e19502aabbb4b8b1131b88854669885b178.tar.bz2
px4-firmware-f7ef6e19502aabbb4b8b1131b88854669885b178.zip
Fix stack sizes based on observed usage. Frees some more RAM
Diffstat (limited to 'nuttx-configs/px4fmu-v2')
-rw-r--r--nuttx-configs/px4fmu-v2/nsh/defconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx-configs/px4fmu-v2/nsh/defconfig b/nuttx-configs/px4fmu-v2/nsh/defconfig
index 6a1aec22b..4ccc5dacb 100644
--- a/nuttx-configs/px4fmu-v2/nsh/defconfig
+++ b/nuttx-configs/px4fmu-v2/nsh/defconfig
@@ -367,7 +367,7 @@ CONFIG_BOARD_LOOPSPERMSEC=16717
CONFIG_DRAM_START=0x20000000
CONFIG_DRAM_SIZE=262144
CONFIG_ARCH_HAVE_INTERRUPTSTACK=y
-CONFIG_ARCH_INTERRUPTSTACK=4096
+CONFIG_ARCH_INTERRUPTSTACK=1500
#
# Boot options
@@ -451,8 +451,8 @@ CONFIG_PREALLOC_TIMERS=50
#
# Stack and heap information
#
-CONFIG_IDLETHREAD_STACKSIZE=3500
-CONFIG_USERMAIN_STACKSIZE=2600
+CONFIG_IDLETHREAD_STACKSIZE=1000
+CONFIG_USERMAIN_STACKSIZE=3000
CONFIG_PTHREAD_STACK_MIN=512
CONFIG_PTHREAD_STACK_DEFAULT=2048