Adding a stepper driver implementation for allegro a4979 microstepping programmable stepper motor driver. The implemenation was tested using the drv8424/api testsuite. Signed-off-by: Verena Schweinstetter <verena.schweinstetter@zeiss.com>
42 lines
810 B
Plaintext
42 lines
810 B
Plaintext
# SPDX-FileCopyrightText: Copyright (c) 2023 Carl Zeiss Meditec AG
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig STEPPER
|
|
bool "Stepper Controller"
|
|
help
|
|
Enable stepper controller
|
|
|
|
if STEPPER
|
|
|
|
module = STEPPER
|
|
module-str = stepper
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
config STEPPER_INIT_PRIORITY
|
|
int "Stepper Motor Controller init priority"
|
|
default 90
|
|
help
|
|
Stepper motor controller initialization priority.
|
|
|
|
config STEPPER_SHELL
|
|
bool "Stepper shell"
|
|
depends on SHELL
|
|
help
|
|
Enable stepper shell for testing.
|
|
|
|
comment "Stepper Driver Common"
|
|
|
|
rsource "step_dir/Kconfig"
|
|
|
|
comment "Stepper Drivers"
|
|
|
|
# zephyr-keep-sorted-start
|
|
rsource "Kconfig.fake"
|
|
rsource "Kconfig.gpio"
|
|
rsource "adi_tmc/Kconfig"
|
|
rsource "allegro/Kconfig"
|
|
rsource "ti/Kconfig"
|
|
# zephyr-keep-sorted-stop
|
|
|
|
endif
|