Files
Sakimi-UAV/modules/zephyr-dshot/drivers/dshot/Kconfig
T
Misaki af5987b37b first
2026-10-27 00:34:27 +08:00

30 lines
612 B
Plaintext

# 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