From ff360aa75a5383a307397915eff2531566c5da2d Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 10 Aug 2015 16:34:47 +0200 Subject: [PATCH] NuttX configs: Add hotfix for RX DMA buffer sizes --- nuttx-configs/aerocore/nsh/defconfig | 2 ++ nuttx-configs/px4-stm32f4discovery/nsh/defconfig | 2 ++ nuttx-configs/px4fmu-v2/nsh/defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git a/nuttx-configs/aerocore/nsh/defconfig b/nuttx-configs/aerocore/nsh/defconfig index e314bf1d82..655dd1406e 100644 --- a/nuttx-configs/aerocore/nsh/defconfig +++ b/nuttx-configs/aerocore/nsh/defconfig @@ -268,6 +268,8 @@ CONFIG_STM32_USART=y # # U[S]ART Configuration # +# Hot fix for lost data +CONFIG_STM32_RXDMA_BUFFER_SIZE_OVERRIDE=256 # CONFIG_USART1_RS485 is not set CONFIG_USART1_RXDMA=y # CONFIG_USART2_RS485 is not set diff --git a/nuttx-configs/px4-stm32f4discovery/nsh/defconfig b/nuttx-configs/px4-stm32f4discovery/nsh/defconfig index 03092256e9..7be5399629 100644 --- a/nuttx-configs/px4-stm32f4discovery/nsh/defconfig +++ b/nuttx-configs/px4-stm32f4discovery/nsh/defconfig @@ -263,6 +263,8 @@ CONFIG_STM32_USART=y # # U[S]ART Configuration # +# Hot fix for lost data +CONFIG_STM32_RXDMA_BUFFER_SIZE_OVERRIDE=256 # CONFIG_USART2_RS485 is not set CONFIG_USART2_RXDMA=y # CONFIG_USART6_RS485 is not set diff --git a/nuttx-configs/px4fmu-v2/nsh/defconfig b/nuttx-configs/px4fmu-v2/nsh/defconfig index ef9c673785..e828e42be0 100644 --- a/nuttx-configs/px4fmu-v2/nsh/defconfig +++ b/nuttx-configs/px4fmu-v2/nsh/defconfig @@ -294,6 +294,8 @@ CONFIG_STM32_USART=y # # U[S]ART Configuration # +# Hot fix for lost data +CONFIG_STM32_RXDMA_BUFFER_SIZE_OVERRIDE=256 # CONFIG_USART1_RS485 is not set CONFIG_USART1_RXDMA=y # CONFIG_USART2_RS485 is not set