mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_HAL_ChibiOS: make sure LEDs get a DMA channel on MatekH743-bdshot
This commit is contained in:
parent
961c517274
commit
bb270014e7
@ -5,7 +5,7 @@
|
|||||||
include ../MatekH743/hwdef.dat
|
include ../MatekH743/hwdef.dat
|
||||||
|
|
||||||
# undefine the pins we are going to change
|
# undefine the pins we are going to change
|
||||||
undef PC7 PB0 PB1 PA0 PA1 PA15
|
undef PC7 PB0 PB1 PA0 PA1 PA15 PD14 PD15 PE5 PE6
|
||||||
|
|
||||||
PC7 USART6_RX USART6
|
PC7 USART6_RX USART6
|
||||||
|
|
||||||
@ -15,6 +15,12 @@ PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51)
|
|||||||
PA0 TIM2_CH1 TIM2 PWM(3) GPIO(52) BIDIR
|
PA0 TIM2_CH1 TIM2 PWM(3) GPIO(52) BIDIR
|
||||||
PA1 TIM2_CH2 TIM2 PWM(4) GPIO(53)
|
PA1 TIM2_CH2 TIM2 PWM(4) GPIO(53)
|
||||||
|
|
||||||
|
# Disable DMA on PWM9-12 so that the LEDs get a channel
|
||||||
|
PD14 TIM4_CH3 TIM4 PWM(9) GPIO(58) NODMA
|
||||||
|
PD15 TIM4_CH4 TIM4 PWM(10) GPIO(59) NODMA
|
||||||
|
PE5 TIM15_CH1 TIM15 PWM(11) GPIO(60) NODMA
|
||||||
|
PE6 TIM15_CH2 TIM15 PWM(12) GPIO(61) NODMA
|
||||||
|
|
||||||
# Beeper
|
# Beeper
|
||||||
PA15 BUZZER OUTPUT GPIO(32) LOW
|
PA15 BUZZER OUTPUT GPIO(32) LOW
|
||||||
define HAL_BUZZER_PIN 32
|
define HAL_BUZZER_PIN 32
|
||||||
|
Loading…
Reference in New Issue
Block a user