diff options
author | px4dev <px4@purgatory.org> | 2012-11-30 22:31:07 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-11-30 22:31:07 -0800 |
commit | 3e036e26c9951acaadfed25d0e9e7bc1f1c73e89 (patch) | |
tree | a37b71f4fbcbc36f9d25908605ee396d25fb4d5e | |
parent | 7d9d307ab096d8d5f07a40959638da67dca9f676 (diff) | |
download | px4-firmware-3e036e26c9951acaadfed25d0e9e7bc1f1c73e89.tar.gz px4-firmware-3e036e26c9951acaadfed25d0e9e7bc1f1c73e89.tar.bz2 px4-firmware-3e036e26c9951acaadfed25d0e9e7bc1f1c73e89.zip |
Disable the flow control signals for USART2/3, since we use them for other things.
-rwxr-xr-x | nuttx/configs/px4io/include/board.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/configs/px4io/include/board.h b/nuttx/configs/px4io/include/board.h index e9181baf1..d941985b4 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 */ |