From 6bcf9266dc7fe276ef13f15a030741ff8ab30edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Thu, 19 Jan 2017 15:45:45 -0800 Subject: [PATCH] aerofc: Correctly enable UART driver for UART5(Telemetry port) UART4 and UART5 are not USART instances. --- nuttx-configs/aerofc-v1/nsh/defconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nuttx-configs/aerofc-v1/nsh/defconfig b/nuttx-configs/aerofc-v1/nsh/defconfig index f81c64d37d..799a73217d 100644 --- a/nuttx-configs/aerofc-v1/nsh/defconfig +++ b/nuttx-configs/aerofc-v1/nsh/defconfig @@ -491,7 +491,7 @@ CONFIG_STM32_UART4_SERIALDRIVER=y # CONFIG_STM32_UART4_1WIREDRIVER is not set # CONFIG_UART4_RS485 is not set CONFIG_UART4_RXDMA=y -CONFIG_STM32_USART5_SERIALDRIVER=y +CONFIG_STM32_UART5_SERIALDRIVER=y # CONFIG_STM32_UART5_1WIREDRIVER is not set # CONFIG_UART5_RS485 is not set CONFIG_UART5_RXDMA=y @@ -909,8 +909,6 @@ CONFIG_UART5_SERIALDRIVER=y CONFIG_USART1_SERIALDRIVER=y CONFIG_USART2_SERIALDRIVER=y CONFIG_USART3_SERIALDRIVER=y -# CONFIG_USART4_SERIALDRIVER is not set -# CONFIG_USART5_SERIALDRIVER is not set CONFIG_USART6_SERIALDRIVER=y # CONFIG_USART7_SERIALDRIVER is not set # CONFIG_USART8_SERIALDRIVER is not set