Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hwdef: added MatekL431-APDTelem #26893

Merged
merged 2 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Tools/bootloaders/MatekL431-APDTelem_bl.bin
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
OUT1_FUNCTION 33
OUT1_MIN 1000
OUT1_MAX 2000
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include ../MatekL431/hwdef-bl.inc

17 changes: 17 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/MatekL431-APDTelem/hwdef.dat
Original file line number Diff line number Diff line change
@@ -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
Loading