Browse Source

AP_HAL_ChibiOS: bdshot configs for CubeYellow and mRoControlZeroH7

zr-v5.1
Andy Piper 4 years ago committed by Andrew Tridgell
parent
commit
d6575fb6ad
  1. 1
      libraries/AP_HAL_ChibiOS/hwdef/CubeYellow-bdshot/hwdef-bl.dat
  2. 14
      libraries/AP_HAL_ChibiOS/hwdef/CubeYellow-bdshot/hwdef.dat
  3. 1
      libraries/AP_HAL_ChibiOS/hwdef/mRoControlZeroH7-bdshot/hwdef-bl.dat
  4. 12
      libraries/AP_HAL_ChibiOS/hwdef/mRoControlZeroH7-bdshot/hwdef.dat

1
libraries/AP_HAL_ChibiOS/hwdef/CubeYellow-bdshot/hwdef-bl.dat

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

14
libraries/AP_HAL_ChibiOS/hwdef/CubeYellow-bdshot/hwdef.dat

@ -0,0 +1,14 @@ @@ -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

1
libraries/AP_HAL_ChibiOS/hwdef/mRoControlZeroH7-bdshot/hwdef-bl.dat

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

12
libraries/AP_HAL_ChibiOS/hwdef/mRoControlZeroH7-bdshot/hwdef.dat

@ -0,0 +1,12 @@ @@ -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)
Loading…
Cancel
Save