AP_HAL_ChibiOS: allow 8 bdshot channels on mRoControlZeroH7

This commit is contained in:
Andy Piper 2023-08-04 14:55:12 +02:00 committed by Randy Mackay
parent c86f438679
commit a7986ba27f
1 changed files with 5 additions and 1 deletions

View File

@ -3,10 +3,14 @@
include ../mRoControlZeroH7/hwdef.dat
# undefine the pins we are going to change
undef PE14 PE13 PE11 PE9
undef PE14 PE13 PE11 PE9 PD13 PD14 PI5 PI6
# Motors
PE14 TIM1_CH4 TIM1 PWM(1) GPIO(50) BIDIR
PE13 TIM1_CH3 TIM1 PWM(2) GPIO(51)
PE11 TIM1_CH2 TIM1 PWM(3) GPIO(52) BIDIR
PE9 TIM1_CH1 TIM1 PWM(4) GPIO(53)
PD13 TIM4_CH2 TIM4 PWM(5) GPIO(54) BIDIR
PD14 TIM4_CH3 TIM4 PWM(6) GPIO(55) BIDIR
PI5 TIM8_CH1 TIM8 PWM(7) GPIO(56) BIDIR
PI6 TIM8_CH2 TIM8 PWM(8) GPIO(57)