AP_HAL_ChibiOS: Pixhawk6X bdshot version

This commit is contained in:
Andy Piper 2023-06-20 20:36:07 +01:00 committed by Andrew Tridgell
parent 3f7f7cd3a1
commit 539277ba2f
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1 @@
include ../Pixhawk6X/hwdef-bl.dat

View File

@ -0,0 +1,16 @@
# hw definition file for processing by chibios_hwdef.py
# for the Pixhawk V6X hardware bdshot version
include ../Pixhawk6X/hwdef.dat
undef PI0 PH12 PH11 PH10 PD13 PD14
# PWM output pins
PI0 TIM5_CH4 TIM5 PWM(1) GPIO(50) BIDIR
PH12 TIM5_CH3 TIM5 PWM(2) GPIO(51)
PH11 TIM5_CH2 TIM5 PWM(3) GPIO(52) BIDIR
PH10 TIM5_CH1 TIM5 PWM(4) GPIO(53)
PD13 TIM4_CH2 TIM4 PWM(5) GPIO(54) BIDIR
PD14 TIM4_CH3 TIM4 PWM(6) GPIO(55) BIDIR
DMA_PRIORITY TIM5* TIM4* SPI1* SPI2* SPI3* SDMMC* USART6* ADC* UART* USART*

View File

@ -0,0 +1,3 @@
BATT_MONITOR=8
CAN_P1_DRIVER=1
CAN_P2_DRIVER=1