AP_HAL_ChibiOS: correctly default SERIAL7 to RCIN and SERIAL5 to ESC telem on MatekH743-bdshot

This commit is contained in:
Andy Piper 2022-10-20 11:47:09 +01:00 committed by Randy Mackay
parent 9494c14d38
commit 39f243ca8f
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# SERIAL7 is RCIN by default
SERIAL7_PROTOCOL 23
SERIAL7_BAUD 115

View File

@ -7,6 +7,15 @@ include ../MatekH743/hwdef.dat
# undefine the pins we are going to change
undef PC7 PB0 PB1 PA0 PA1 PA15 PD14 PD15 PE5 PE6
# UART4 (spare)
PB9 UART4_TX UART4 NODMA
PB8 UART4_RX UART4 NODMA
# UART8 (ESC Telemetry), SERIAL5
PE0 UART8_RX UART8 NODMA
PE1 UART8_TX UART8 NODMA
# USART6 (RC input), SERIAL7
PC7 USART6_RX USART6
# Motors