This commit is contained in:
Misaki
2026-10-27 00:34:27 +08:00
commit af5987b37b
322 changed files with 135956 additions and 0 deletions
@@ -0,0 +1,29 @@
# SPDX-License-Identifier: Apache-2.0
menuconfig DSHOT
bool "DShot ESC protocol driver"
depends on DT_HAS_MISAKI_DSHOT_ENABLED
depends on SOC_FAMILY_STM32
select DMA
select USE_STM32_LL_TIM
default y
help
Enable the DShot digital ESC protocol driver for STM32.
Uses a general/advanced timer in PWM mode with DMA burst
transfers to TIMx->DMAR.
if DSHOT
config DSHOT_INIT_PRIORITY
int "DShot driver init priority"
default 70
help
Must run after GPIO, DMA and clock control drivers.
config DSHOT_LOG_LEVEL
int "DShot driver log level"
depends on LOG
range 0 4
default 3
endif # DSHOT