diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-03 17:28:14 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-03 17:28:14 +0100 |
commit | f7ef6e19502aabbb4b8b1131b88854669885b178 (patch) | |
tree | d02c1e59024e5f8e0bce4509ac20ccadf2f44863 /nuttx-configs/aerocore/nsh/defconfig | |
parent | 3e5b8ded8cdd650e961008ce65c93dd64a326554 (diff) | |
download | px4-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/aerocore/nsh/defconfig')
-rw-r--r-- | nuttx-configs/aerocore/nsh/defconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx-configs/aerocore/nsh/defconfig b/nuttx-configs/aerocore/nsh/defconfig index 29dff64aa..08ff4a988 100644 --- a/nuttx-configs/aerocore/nsh/defconfig +++ b/nuttx-configs/aerocore/nsh/defconfig @@ -332,7 +332,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 @@ -415,8 +415,8 @@ CONFIG_PREALLOC_TIMERS=50 # # Stack and heap information # -CONFIG_IDLETHREAD_STACKSIZE=6000 -CONFIG_USERMAIN_STACKSIZE=4096 +CONFIG_IDLETHREAD_STACKSIZE=1000 +CONFIG_USERMAIN_STACKSIZE=3000 CONFIG_PTHREAD_STACK_MIN=512 CONFIG_PTHREAD_STACK_DEFAULT=2048 |