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>
19 lines
723 B
CMake
19 lines
723 B
CMake
# SPDX-FileCopyrightText: Copyright (c) 2023 Carl Zeiss Meditec AG
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/stepper.h)
|
|
|
|
# zephyr-keep-sorted-start
|
|
add_subdirectory_ifdef(CONFIG_STEPPER_ADI_TMC adi_tmc)
|
|
add_subdirectory_ifdef(CONFIG_STEPPER_ALLEGRO allegro)
|
|
add_subdirectory_ifdef(CONFIG_STEPPER_TI ti)
|
|
add_subdirectory_ifdef(CONFIG_STEP_DIR_STEPPER step_dir)
|
|
# zephyr-keep-sorted-stop
|
|
|
|
zephyr_library()
|
|
zephyr_library_property(ALLOW_EMPTY TRUE)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_FAKE_STEPPER fake_stepper_controller.c)
|
|
zephyr_library_sources_ifdef(CONFIG_GPIO_STEPPER gpio_stepper_controller.c)
|
|
zephyr_library_sources_ifdef(CONFIG_STEPPER_SHELL stepper_shell.c)
|