AP_HAL_ChibiOS: bdshot configs for CubeYellow and mRoControlZeroH7

This commit is contained in:
Andy Piper 2021-02-28 20:03:19 +00:00 committed by Andrew Tridgell
parent b3ee5d5f59
commit d6575fb6ad
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1 @@
include ../CubeYellow/hwdef-bl.dat

View File

@ -0,0 +1,14 @@
# Bi-directional dshot version of CubeYellow
include ../CubeYellow/hwdef.dat
# undefine the pins we are going to change
undef PE14 PE13 PE11 PE9
# 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)
PE9 TIM1_CH1 TIM1 PWM(4) GPIO(53) BIDIR
DMA_PRIORITY TIM1_CH4 TIM1_CH2

View File

@ -0,0 +1 @@
include ../mRoControlZeroH7/hwdef-bl.dat

View File

@ -0,0 +1,12 @@
# Bi-directional dshot version of mRoControlZeroH7
include ../mRoControlZeroH7/hwdef.dat
# undefine the pins we are going to change
undef PE14 PE13 PE11 PE9
# 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)