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: SpeedyBeeF405-bdshot variant #28084

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@include ../SpeedyBeeF405WING/defaults.parm
14 changes: 14 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING-bdshot/hwdef.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Bi-directional dshot version of SpeedyBeeF405WING

include ../SpeedyBeeF405WING/hwdef.dat
USE_BOOTLOADER_FROM_BOARD SpeedyBeeF405WING

undef PB6 PB0 PC8 PC9

PB6 TIM4_CH1 TIM4 PWM(2) GPIO(51) BIDIR
PB0 TIM3_CH3 TIM3 PWM(3) GPIO(52) BIDIR

# Can only do bdshot on M1-4, so give up DMA channel on M5/M6 to get full DMA on USART3
PC8 TIM8_CH3 TIM8 PWM(5) GPIO(54) NODMA
PC9 TIM8_CH4 TIM8 PWM(6) GPIO(55) NODMA
DMA_NOSHARE TIM3_UP
Loading