From 374dc1be4cb1ef9cf2fdc1f966b5b1450642b00d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 9 Mar 2017 10:17:25 +0100 Subject: [PATCH] px4nucleoF767ZI-v1 NuttX defconfig: lower CONFIG_DEV_PIPE_SIZE to 70 This saves almost 2kb of RAM when using the mavlink shell. 70 matches the size of the mavlink message. Since the pipe is blocking, a process writing a lot of data will just wait, data will not be dropped. The mavlink shell is the only process creating a pipe. --- nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig b/nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig index 5e4d403798..6d2b56f747 100644 --- a/nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig +++ b/nuttx-configs/px4nucleoF767ZI-v1/nsh/defconfig @@ -771,7 +771,7 @@ CONFIG_RAMTRON_SETSPEED=y # CONFIG_EEPROM is not set CONFIG_PIPES=y CONFIG_DEV_PIPE_MAXSIZE=1024 -CONFIG_DEV_PIPE_SIZE=1024 +CONFIG_DEV_PIPE_SIZE=70 CONFIG_DEV_FIFO_SIZE=1024 # CONFIG_PM is not set # CONFIG_POWER is not set