HAL_ChibiOS: disable USART6_TX on fmuv5

this prevents it acting as a pullup on SBUS input for Pixhawk4. Thanks
to David Sidrane for the suggestion.
This commit is contained in:
Andrew Tridgell 2019-01-18 09:21:02 +11:00
parent 1a87edd102
commit 17d62be9bb
2 changed files with 6 additions and 1 deletions

View File

@ -11,6 +11,9 @@ STM32_ST_USE_TIMER 5
# order of UARTs (and USB). Telem2 is UART4 on the mini, USART3 is not available
UART_ORDER OTG1 USART1 USART2 UART4 USART6 UART7
# enable TX on USART6 (disabled for fmuv5 with iomcu)
PG14 USART6_TX USART6 NODMA
# disable the IOMCU UART
undef IOMCU_UART
undef UART8_TX

View File

@ -139,7 +139,9 @@ PD1 UART4_TX UART4 NODMA
# USART6 is telem3
PG9 USART6_RX USART6 NODMA
PG14 USART6_TX USART6 NODMA
# we leave PG14 as an input to prevent it acting as a pullup
# on the IOMCU SBUS input
# PG14 USART6_TX USART6 NODMA
PG15 USART6_CTS USART6
PG8 USART6_RTS USART6