aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-01-06 06:33:44 +1100
committerAndrew Tridgell <tridge@samba.org>2013-01-06 06:33:44 +1100
commit375d3c14d742248b434c080527886a95ea1d563f (patch)
tree6046ec56c9a8cee9b5c33c77fedb137ce6a19f04 /nuttx/configs
parent318609bf59083e4247dfd179a3bb36dc2eb9fb45 (diff)
downloadpx4-firmware-375d3c14d742248b434c080527886a95ea1d563f.tar.gz
px4-firmware-375d3c14d742248b434c080527886a95ea1d563f.tar.bz2
px4-firmware-375d3c14d742248b434c080527886a95ea1d563f.zip
increase the UART buffer sizes to 256
The most critical one is the GPS serial port receive buffer size, which needs to be at least 128 to support the UBLOX protocol, but it seems a good idea for people running a FMU without a IO board to increase the UART buffer sizes generally
Diffstat (limited to 'nuttx/configs')
-rwxr-xr-xnuttx/configs/px4fmu/nsh/defconfig18
1 files changed, 9 insertions, 9 deletions
diff --git a/nuttx/configs/px4fmu/nsh/defconfig b/nuttx/configs/px4fmu/nsh/defconfig
index bc724c006..7ff9eaa8c 100755
--- a/nuttx/configs/px4fmu/nsh/defconfig
+++ b/nuttx/configs/px4fmu/nsh/defconfig
@@ -245,18 +245,18 @@ CONFIG_USART6_SERIAL_CONSOLE=n
#Mavlink messages can be bigger than 128
CONFIG_USART1_TXBUFSIZE=512
-CONFIG_USART2_TXBUFSIZE=128
-CONFIG_USART3_TXBUFSIZE=128
-CONFIG_UART4_TXBUFSIZE=128
-CONFIG_UART5_TXBUFSIZE=64
+CONFIG_USART2_TXBUFSIZE=256
+CONFIG_USART3_TXBUFSIZE=256
+CONFIG_UART4_TXBUFSIZE=256
+CONFIG_UART5_TXBUFSIZE=256
CONFIG_USART6_TXBUFSIZE=128
CONFIG_USART1_RXBUFSIZE=512
-CONFIG_USART2_RXBUFSIZE=128
-CONFIG_USART3_RXBUFSIZE=128
-CONFIG_UART4_RXBUFSIZE=128
-CONFIG_UART5_RXBUFSIZE=128
-CONFIG_USART6_RXBUFSIZE=128
+CONFIG_USART2_RXBUFSIZE=256
+CONFIG_USART3_RXBUFSIZE=256
+CONFIG_UART4_RXBUFSIZE=256
+CONFIG_UART5_RXBUFSIZE=256
+CONFIG_USART6_RXBUFSIZE=256
CONFIG_USART1_BAUD=57600
CONFIG_USART2_BAUD=115200