zephyr/drivers/stepper/step_dir/Kconfig
Fabian Blatz 0b124a2ff6 drivers: stepper: Add timing source for step dir stepper
Adds a timing source api which is used by the step-dir stepper common code.
This allows the reusable common code to configure different timing sources,
since the initial delayable work implementation was inacurate for higher
maximum velocities.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-12-28 04:37:05 +01:00

22 lines
489 B
Text

# Copyright (c) 2024 Fabian Blatz <fabianblatz@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config STEP_DIR_STEPPER
bool
help
Enable library used for step direction stepper drivers.
if STEP_DIR_STEPPER
config STEP_DIR_STEPPER_COUNTER_TIMING
bool "Counter use for stepping"
select COUNTER
default y
help
Enable usage of a counter device for accurate stepping.
module = STEP_DIR
module-str = step_dir
rsource "../Kconfig.stepper_event_template"
endif # STEP_DIR_STEPPER