mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
HAL_ChibiOS: allow for telem1 and telem2 for bootloader on fmuv3
This commit is contained in:
parent
d470c161e8
commit
ca3beb88b7
@ -31,13 +31,20 @@ USB_STRING_PRODUCT "ProfiCNC CUBE Orange BL"
|
||||
USB_STRING_SERIAL "%SERIAL%"
|
||||
|
||||
# order of UARTs (and USB)
|
||||
UART_ORDER OTG1 USART2 UART7
|
||||
UART_ORDER OTG1 USART2 USART3 UART7
|
||||
|
||||
PD5 USART2_TX USART2
|
||||
PD6 USART2_RX USART2
|
||||
PD3 USART2_CTS USART2
|
||||
PD4 USART2_RTS USART2
|
||||
|
||||
# the telem2 USART, also with RTS/CTS available
|
||||
# USART3 serial3 telem2
|
||||
PD8 USART3_TX USART3
|
||||
PD9 USART3_RX USART3
|
||||
PD11 USART3_CTS USART3
|
||||
PD12 USART3_RTS USART3
|
||||
|
||||
PE7 UART7_RX UART7
|
||||
PE8 UART7_TX UART7
|
||||
|
||||
|
@ -35,11 +35,7 @@ USB_STRING_SERIAL "%SERIAL%"
|
||||
define BOOTLOADER_BAUDRATE 115200
|
||||
|
||||
# uarts and USB to run bootloader protocol on
|
||||
UART_ORDER OTG1 USART2 UART7
|
||||
|
||||
# UART4 serial GPS
|
||||
PA0 UART4_TX UART4
|
||||
PA1 UART4_RX UART4
|
||||
UART_ORDER OTG1 USART2 USART3 UART7
|
||||
|
||||
# this is the pin that senses USB being connected. It is an input pin
|
||||
# setup as OPENDRAIN
|
||||
@ -66,17 +62,12 @@ PD9 USART3_RX USART3
|
||||
PD11 USART3_CTS USART3
|
||||
PD12 USART3_RTS USART3
|
||||
|
||||
# now the 2nd GPS UART
|
||||
# UART8 serial4 GPS2
|
||||
PE0 UART8_RX UART8
|
||||
PE1 UART8_TX UART8
|
||||
|
||||
# UART7 maps to uartF in the HAL (serial5 in SERIALn_ parameters)
|
||||
PE7 UART7_RX UART7
|
||||
PE8 UART7_TX UART7
|
||||
|
||||
# define a LED, mapping it to GPIO(0)
|
||||
PE12 LED_BOOTLOADER OUTPUT GPIO(0)
|
||||
# define a LED
|
||||
PE12 LED_BOOTLOADER OUTPUT
|
||||
define HAL_LED_ON 1
|
||||
|
||||
# this adds a C define which sets up the ArduPilot architecture
|
||||
|
Loading…
Reference in New Issue
Block a user