mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: make sure all MatekF405 bi-dir outputs get a DMA channel
only allow (b)dshot on M1-4 to get full DMA on USART3 and UART4
This commit is contained in:
parent
9791fdeb11
commit
d36b4bfa3f
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
include ../MatekF405/hwdef.dat
|
include ../MatekF405/hwdef.dat
|
||||||
|
|
||||||
undef PC6
|
undef PC6 PC9 PA15 PA8
|
||||||
|
|
||||||
PC6 TIM8_CH1 TIM8 PWM(1) GPIO(50) BIDIR
|
PC6 TIM8_CH1 TIM8 PWM(1) GPIO(50) BIDIR
|
||||||
|
PC9 TIM8_CH4 TIM8 PWM(4) GPIO(53) BIDIR
|
||||||
|
# Can only do bdshot on M1-4, so give up DMA channels on M5/M6 to get full DMA on USART3 and UART4
|
||||||
|
PA15 TIM2_CH1 TIM2 PWM(5) GPIO(54) NODMA
|
||||||
|
PA8 TIM1_CH1 TIM1 PWM(6) GPIO(55) NODMA
|
||||||
|
|
||||||
|
DMA_NOSHARE TIM8*
|
||||||
|
|
Loading…
Reference in New Issue