mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
px4fmu-v2 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.
This commit is contained in:
parent
0ffcf70a84
commit
b89451f160
@ -898,7 +898,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=0
|
||||
# CONFIG_PM is not set
|
||||
# CONFIG_POWER is not set
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user