From 4e5cccf67a5d25f8bb9ff87103e31ff8c0b1130b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 24 Mar 2016 15:25:19 +1100 Subject: [PATCH] px4io: increase main stack size by 100 bytes when loading a mixer we were sometimes getting stack corruption in px4io inside the sscanf() code that parses the mixers. Adding 100 more bytes fixes this --- nuttx-configs/px4io-v2/nsh/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx-configs/px4io-v2/nsh/defconfig b/nuttx-configs/px4io-v2/nsh/defconfig index a9b84779484a..21e3e05f1cdf 100755 --- a/nuttx-configs/px4io-v2/nsh/defconfig +++ b/nuttx-configs/px4io-v2/nsh/defconfig @@ -540,7 +540,7 @@ CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n CONFIG_STACK_POINTER= CONFIG_IDLETHREAD_STACKSIZE=1024 -CONFIG_USERMAIN_STACKSIZE=1200 +CONFIG_USERMAIN_STACKSIZE=1300 CONFIG_PTHREAD_STACK_MIN=512 CONFIG_PTHREAD_STACK_DEFAULT=1024 CONFIG_HEAP_BASE=