Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KakuteF4: Add BRD_ALT_CONFIG for serial RC_INPUT #26975

Closed
wants to merge 11 commits into from
9 changes: 7 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteF4/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,17 @@ define HAL_BATT_CURR_SCALE 17.0
# order of UARTs (and USB)
SERIAL_ORDER OTG1 USART6 USART1 UART4 UART5 USART3

# rcinput is PB11
# RC input defaults to timer capture
PB11 TIM2_CH4 TIM2 RCININT PULLDOWN LOW
PB10 USART3_TX USART3

# alternative RC input using USART3 serial port,
PB10 USART3_TX USART3 NODMA
PB11 USART3_RX USART3 NODMA ALT(1)
menschel marked this conversation as resolved.
Show resolved Hide resolved

# SBUS inversion control pin, active high
PB15 USART3_RXINV OUTPUT LOW GPIO(78) POL(1)
# or active low
PB15 USART3_RXINV OUTPUT HIGH GPIO(78) POL(1) ALT(1)
menschel marked this conversation as resolved.
Show resolved Hide resolved

# for FrSky S.PORT. Has builtin inverters and diode to combine
# RX and TX onto the one pin
Expand Down
Loading