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:
Andy Piper 2021-06-10 18:27:43 +01:00 committed by Andrew Tridgell
parent 9791fdeb11
commit d36b4bfa3f
1 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,12 @@
include ../MatekF405/hwdef.dat
undef PC6
undef PC6 PC9 PA15 PA8
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*