mirror of https://github.com/ArduPilot/ardupilot
25 lines
711 B
Plaintext
25 lines
711 B
Plaintext
# Bi-directional dshot version of MatekH743
|
|
# RC input and buzzer timers need to be used so buzzer becomes single tone
|
|
# and UART is used for RCIN
|
|
|
|
include ../MatekH743/hwdef.dat
|
|
|
|
# undefine the pins we are going to change
|
|
undef PC7 PA0 PD14 PD15 PE5 PE6 PB0 PB1
|
|
|
|
PC7 USART6_RX USART6
|
|
|
|
# Motors
|
|
PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50) BIDIR
|
|
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51)
|
|
PA0 TIM2_CH1 TIM2 PWM(3) GPIO(52) BIDIR
|
|
|
|
# Disable DMA on PWM9-12 so that the LEDs get a channel
|
|
PD14 TIM4_CH3 TIM4 PWM(9) GPIO(58) NODMA
|
|
PD15 TIM4_CH4 TIM4 PWM(10) GPIO(59) NODMA
|
|
PE5 TIM15_CH1 TIM15 PWM(11) GPIO(60) NODMA
|
|
PE6 TIM15_CH2 TIM15 PWM(12) GPIO(61) NODMA
|
|
|
|
DMA_PRIORITY S* TIM3* TIM2*
|
|
DMA_NOSHARE SPI1* SPI4* TIM3* TIM2*
|