From 0392efff9442a2ee7fd309b251b21776caf095f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Mon, 3 Apr 2017 16:06:41 +0200 Subject: [PATCH] px4-stm32f4discovery nuttx config: reduce CONFIG_CDCACM_TXBUFSIZE to 2000 Log file download via Mavlink is the one that needs the most bandwidth. It needs typically around 200B TX buffer, and spikes at around 1500B every 10sec, with an average download speed of 230KB/s. --- nuttx-configs/px4-stm32f4discovery/nsh/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx-configs/px4-stm32f4discovery/nsh/defconfig b/nuttx-configs/px4-stm32f4discovery/nsh/defconfig index 4bfb7fac86..f18fea1fdf 100644 --- a/nuttx-configs/px4-stm32f4discovery/nsh/defconfig +++ b/nuttx-configs/px4-stm32f4discovery/nsh/defconfig @@ -934,7 +934,7 @@ CONFIG_CDCACM_NRDREQS=4 CONFIG_CDCACM_NWRREQS=4 CONFIG_CDCACM_BULKIN_REQLEN=96 CONFIG_CDCACM_RXBUFSIZE=600 -CONFIG_CDCACM_TXBUFSIZE=8000 +CONFIG_CDCACM_TXBUFSIZE=2000 CONFIG_CDCACM_VENDORID=0x26ac CONFIG_CDCACM_PRODUCTID=0x0001 CONFIG_CDCACM_VENDORSTR="3D Robotics"