first
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user