From 49b1bd597e57ba7242e25952896400fa775033c0 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 2 Jun 2017 18:31:50 +0200 Subject: [PATCH] FMUv4 config: Ensure enough stack space in user main function There was enough margin with 200 bytes, but this change widens that to the default of 300. ; --- nuttx-configs/px4fmu-v4/nsh/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx-configs/px4fmu-v4/nsh/defconfig b/nuttx-configs/px4fmu-v4/nsh/defconfig index a80ab34a70..34e3277bfa 100644 --- a/nuttx-configs/px4fmu-v4/nsh/defconfig +++ b/nuttx-configs/px4fmu-v4/nsh/defconfig @@ -761,7 +761,7 @@ CONFIG_SCHED_LPWORKSTACKSIZE=1800 # Stack and heap information # CONFIG_IDLETHREAD_STACKSIZE=500 -CONFIG_USERMAIN_STACKSIZE=2500 +CONFIG_USERMAIN_STACKSIZE=2600 CONFIG_PTHREAD_STACK_MIN=512 CONFIG_PTHREAD_STACK_DEFAULT=2048 # CONFIG_LIB_SYSCALL is not set