AP_HAL_ChibiOS: bdshot version of QioTekZealotH743

This commit is contained in:
Andy Piper 2023-03-01 20:58:42 +00:00 committed by Andrew Tridgell
parent 5b5f7836df
commit 7cdbc6169f
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# setup the heater temperature to 45 degree
BRD_HEAT_TARG 45
# setup serial2 port defaults for ESP8266
SERIAL2_BAUD 921600
# setup the parameter for the ADC power module
BATT_MONITOR 4
BATT_VOLT_PIN 16
BATT_CURR_PIN 17
BATT_VOLT_MULT 20.000
BATT_AMP_PERVLT 17.000
BATT2_VOLT_PIN 10
BATT2_CURR_PIN 11
BATT2_VOLT_MULT 20.000
BATT2_AMP_PERVLT 17.000
# setup the parameter for the two Relays GPIO others for reserve
RELAY_PIN 1
RELAY_PIN2 2

View File

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

View File

@ -0,0 +1,16 @@
# hw definition file for processing by chibios_hwdef.py for bdshot version of Qiotek ZealotH743
include ../QioTekZealotH743/hwdef.dat
undef PD12 PD13 PD14 PD15 PC6 PC7
# PWM AUX channels (1-8 have level shifters so cannot be used for bdshot)
PD12 TIM4_CH1 TIM4 PWM(9) GPIO(58) BIDIR
PD13 TIM4_CH2 TIM4 PWM(10) GPIO(59)
PD14 TIM4_CH3 TIM4 PWM(11) GPIO(60) BIDIR
PD15 TIM4_CH4 TIM4 PWM(12) GPIO(61)
PC6 TIM3_CH1 TIM3 PWM(13) GPIO(62) BIDIR
PC7 TIM3_CH2 TIM3 PWM(14) GPIO(63)
NODMA I2C*
define STM32_I2C_USE_DMA FALSE