AP_HAL_ChibiOS: bdshot configs for CubeYellow and mRoControlZeroH7
This commit is contained in:
parent
b3ee5d5f59
commit
d6575fb6ad
@ -0,0 +1 @@
|
||||
include ../CubeYellow/hwdef-bl.dat
|
14
libraries/AP_HAL_ChibiOS/hwdef/CubeYellow-bdshot/hwdef.dat
Normal file
14
libraries/AP_HAL_ChibiOS/hwdef/CubeYellow-bdshot/hwdef.dat
Normal 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
|
@ -0,0 +1 @@
|
||||
include ../mRoControlZeroH7/hwdef-bl.dat
|
@ -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…
Reference in New Issue
Block a user