AP_HAL_ChibiOS: on BeastF7 share TIM3 UP/CH and give flash SPI dedicated channel

This commit is contained in:
Andy Piper 2021-01-20 08:21:01 +00:00 committed by Andrew Tridgell
parent 2395018000
commit 877dde4736

View File

@ -92,17 +92,17 @@ PE7 UART7_RX UART7
PE8 UART7_TX UART7 NODMA PE8 UART7_TX UART7 NODMA
# Motors # Motors
PB1 TIM3_CH4 TIM3 PWM(1) GPIO(50) # 1 PB1 TIM3_CH4 TIM3 PWM(1) GPIO(50) BIDIR # 1
PE9 TIM1_CH1 TIM1 PWM(2) GPIO(51) # 2 PE9 TIM1_CH1 TIM1 PWM(2) GPIO(51) # 2
PE11 TIM1_CH2 TIM1 PWM(3) GPIO(52) BIDIR # 3 PE11 TIM1_CH2 TIM1 PWM(3) GPIO(52) BIDIR # 3
PB0 TIM3_CH3 TIM3 PWM(4) GPIO(53) BIDIR # 4 PB0 TIM3_CH3 TIM3 PWM(4) GPIO(53) # 4
# NeoPixel LED strip # NeoPixel LED strip
PD12 TIM4_CH1 TIM4 PWM(5) GPIO(54) PD12 TIM4_CH1 TIM4 PWM(5) GPIO(54)
PC13 LED0 OUTPUT LOW GPIO(90) # Blue LED PC13 LED0 OUTPUT LOW GPIO(90) # Blue LED
DMA_PRIORITY USART1* TIM1* TIM3* DMA_PRIORITY USART1* TIM1* TIM3*
DMA_NOSHARE SPI3_TX TIM1_CH2 TIM3_CH3 DMA_NOSHARE SPI3* TIM1_CH2 TIM3_CH3
define HAL_STORAGE_SIZE 16384 define HAL_STORAGE_SIZE 16384
define STORAGE_FLASH_PAGE 1 define STORAGE_FLASH_PAGE 1