Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chibios] add support of DSHOT to chibios
- driver for DSHOT protocol, including telemetry (but used yet) - actuators interface for Paparazzi - generic DMA driver - configuration for Apogee board
- Loading branch information
1 parent
f7caab7
commit 6571c08
Showing
11 changed files
with
2,474 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE module SYSTEM "module.dtd"> | ||
|
||
<module name="actuators_dshot" dir="actuators" task="actuators"> | ||
<doc> | ||
<description> | ||
Driver for DSHOT speed controller. | ||
|
||
Beware that servo output from the same timer cannot mix PWM and DSHOT. | ||
It might be required to disable by hand some PWM output to avoid conflicts when they are activated by default on a board. | ||
Currently only implemented over ChibiOS. | ||
</description> | ||
<define name="DSHOT_SPEED" value="600" description="DSHOT speed (150,300,600,1200)"/> | ||
</doc> | ||
<header> | ||
<file name="actuators_dshot.h"/> | ||
</header> | ||
<makefile> | ||
<define name="ACTUATORS"/> | ||
<file_arch name="actuators_dshot_arch.c"/> | ||
<file_arch name="esc_dshot.c" cond="ifeq ($(RTOS),chibios)"/> | ||
<file_arch name="hal_stm32_dma.c" dir="mcu_periph" cond="ifeq ($(RTOS),chibios)"/> | ||
</makefile> | ||
</module> | ||
|
Oops, something went wrong.