From 3e036e26c9951acaadfed25d0e9e7bc1f1c73e89 Mon Sep 17 00:00:00 2001 From: px4dev Date: Fri, 30 Nov 2012 22:31:07 -0800 Subject: [PATCH] Disable the flow control signals for USART2/3, since we use them for other things. --- nuttx/configs/px4io/include/board.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nuttx/configs/px4io/include/board.h b/nuttx/configs/px4io/include/board.h index e9181baf18..d941985b47 100755 --- a/nuttx/configs/px4io/include/board.h +++ b/nuttx/configs/px4io/include/board.h @@ -96,6 +96,18 @@ #define STM32_APB1_TIM3_CLKIN (STM32_PCLK1_FREQUENCY) #define STM32_APB1_TIM4_CLKIN (STM32_PCLK1_FREQUENCY) +/* + * Some of the USART pins are not available; override the GPIO + * definitions with an invalid pin configuration. + */ +#define GPIO_USART2_CTS 0xffffffff +#define GPIO_USART2_RTS 0xffffffff +#define GPIO_USART2_CK 0xffffffff +#define GPIO_USART3_TX 0xffffffff +#define GPIO_USART3_CK 0xffffffff +#define GPIO_USART3_CTS 0xffffffff +#define GPIO_USART3_RTS 0xffffffff + /* * High-resolution timer */