HAL_ChibiOS: switch MatekF765 to timer 12

fixes PWM 5 and 6
This commit is contained in:
Andrew Tridgell 2019-12-23 19:33:48 +11:00
parent 4a54aa92c6
commit c8c6c80aef

View File

@ -27,7 +27,7 @@ FLASH_RESERVE_START_KB 96
# board voltage
STM32_VDD 330U
STM32_ST_USE_TIMER 3
STM32_ST_USE_TIMER 12
define CH_CFG_ST_RESOLUTION 16
# two I2C bus
@ -123,7 +123,7 @@ PD0 UART4_RX UART4 NODMA
# PB8 UART5_RX UART5 NODMA
# USART6 (RC input)
PC7 TIM8_CH2 TIM8 RCININT FLOAT LOW
PC7 TIM3_CH2 TIM3 RCININT FLOAT LOW
PC6 USART6_TX USART6 NODMA LOW
# UART7 (telem1)
@ -145,8 +145,8 @@ PA0 TIM2_CH1 TIM2 PWM(1) GPIO(50)
PA1 TIM2_CH2 TIM2 PWM(2) GPIO(51)
PA2 TIM5_CH3 TIM5 PWM(3) GPIO(52)
PA3 TIM5_CH4 TIM5 PWM(4) GPIO(53)
PB0 TIM1_CH2N TIM1 PWM(5) GPIO(54)
PB1 TIM1_CH3N TIM1 PWM(6) GPIO(55)
PB0 TIM8_CH2N TIM8 PWM(5) GPIO(54)
PB1 TIM8_CH3N TIM8 PWM(6) GPIO(55)
PD12 TIM4_CH1 TIM4 PWM(7) GPIO(56)
PD13 TIM4_CH2 TIM4 PWM(8) GPIO(57)
PD14 TIM4_CH3 TIM4 PWM(9) GPIO(58)