Browse Source

px4esc-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.
sbg
Beat Küng 8 years ago committed by Lorenz Meier
parent
commit
ab541b1321
  1. 2
      nuttx-configs/px4esc-v1/nsh/defconfig

2
nuttx-configs/px4esc-v1/nsh/defconfig

@ -767,7 +767,7 @@ CONFIG_WATCHDOG_DEVPATH="/dev/watchdog0" @@ -767,7 +767,7 @@ CONFIG_WATCHDOG_DEVPATH="/dev/watchdog0"
# 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=0
# CONFIG_PM is not set
# CONFIG_POWER is not set

Loading…
Cancel
Save