diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-03 16:41:29 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-03 16:41:29 +0200 |
commit | 811e1151fa05520f6f937518f3c7d5f6305b9fd9 (patch) | |
tree | 244d05d7b689348dccc6b7adfb37b177dc2c0dfb | |
parent | 1c5ceb17e87a953da3528750682f27f305cae6c2 (diff) | |
download | px4-firmware-811e1151fa05520f6f937518f3c7d5f6305b9fd9.tar.gz px4-firmware-811e1151fa05520f6f937518f3c7d5f6305b9fd9.tar.bz2 px4-firmware-811e1151fa05520f6f937518f3c7d5f6305b9fd9.zip |
Fix UART buf sizes so that MAVLink transfers are not corrupted for all serial ports intended for MAVLink
-rw-r--r-- | nuttx-configs/px4fmu-v1/nsh/defconfig | 4 | ||||
-rw-r--r-- | nuttx-configs/px4fmu-v2/nsh/defconfig | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/nuttx-configs/px4fmu-v1/nsh/defconfig b/nuttx-configs/px4fmu-v1/nsh/defconfig index 68ab4da32..5be528f8c 100644 --- a/nuttx-configs/px4fmu-v1/nsh/defconfig +++ b/nuttx-configs/px4fmu-v1/nsh/defconfig @@ -509,8 +509,8 @@ CONFIG_USART2_OFLOWCONTROL=y # # UART5 Configuration # -CONFIG_UART5_RXBUFSIZE=32 -CONFIG_UART5_TXBUFSIZE=32 +CONFIG_UART5_RXBUFSIZE=512 +CONFIG_UART5_TXBUFSIZE=512 CONFIG_UART5_BAUD=57600 CONFIG_UART5_BITS=8 CONFIG_UART5_PARITY=0 diff --git a/nuttx-configs/px4fmu-v2/nsh/defconfig b/nuttx-configs/px4fmu-v2/nsh/defconfig index e507c89ba..0615950a2 100644 --- a/nuttx-configs/px4fmu-v2/nsh/defconfig +++ b/nuttx-configs/px4fmu-v2/nsh/defconfig @@ -608,8 +608,8 @@ CONFIG_USART6_2STOP=0 # # UART7 Configuration # -CONFIG_UART7_RXBUFSIZE=256 -CONFIG_UART7_TXBUFSIZE=256 +CONFIG_UART7_RXBUFSIZE=512 +CONFIG_UART7_TXBUFSIZE=512 CONFIG_UART7_BAUD=57600 CONFIG_UART7_BITS=8 CONFIG_UART7_PARITY=0 @@ -620,8 +620,8 @@ CONFIG_UART7_2STOP=0 # # UART8 Configuration # -CONFIG_UART8_RXBUFSIZE=256 -CONFIG_UART8_TXBUFSIZE=256 +CONFIG_UART8_RXBUFSIZE=512 +CONFIG_UART8_TXBUFSIZE=512 CONFIG_UART8_BAUD=57600 CONFIG_UART8_BITS=8 CONFIG_UART8_PARITY=0 |