hwdef: added MatekL431-APDTelem

for using APD ESCs with serial telemetry
This commit is contained in:
Andrew Tridgell 2024-04-27 12:54:46 +10:00 committed by Peter Barker
parent 972872d09f
commit b4bc6f1e2e
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,3 @@
OUT1_FUNCTION 33
OUT1_MIN 1000
OUT1_MAX 2000

View File

@ -0,0 +1,2 @@
include ../MatekL431/hwdef-bl.inc

View File

@ -0,0 +1,17 @@
include ../MatekL431/hwdef.inc
define HAL_USE_ADC FALSE
# --------------------- PWM -----------------------
PA8 TIM1_CH1 TIM1 PWM(1) GPIO(50)
PA9 TIM1_CH2 TIM1 PWM(2) GPIO(51)
PA10 TIM1_CH3 TIM1 PWM(3) GPIO(52)
PA11 TIM1_CH4 TIM1 PWM(4) GPIO(53)
PA15 TIM2_CH1 TIM2 PWM(5) GPIO(54)
define HAL_PERIPH_ENABLE_RC_OUT
# enable APD telemetry on rx1
define HAL_PERIPH_ENABLE_ESC_APD
define APD_ESC_INSTANCES 1
define APD_ESC_SERIAL_0 0