zephyr/tests/drivers/stepper/stepper_api/testcase.yaml
Jilay Pandya f780df495d tests: stepper_api: create a scaffold to generalize tests
This commit creates a scaffold for executing stepper_api tests
on the existing step_dir drivers.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-03-13 07:31:06 +01:00

41 lines
1.5 KiB
YAML

# SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
# SPDX-License-Identifier: Apache-2.0
common:
tags:
- drivers
- stepper
- api
tests:
drivers.stepper.stepper_api.adi_tmc2209:
extra_args:
- platform:native_sim/native/64:DTC_OVERLAY_FILE="boards/native_sim_adi_tmc2209.overlay"
extra_configs:
- CONFIG_GPIO=y
- CONFIG_COUNTER=y
- CONFIG_STEPPER_STEP_DIR_GENERATE_ISR_SAFE_EVENTS=y
platform_allow:
- native_sim/native/64
drivers.stepper.stepper_api.ti_drv8424:
extra_args:
- platform:native_sim/native/64:DTC_OVERLAY_FILE="boards/native_sim_ti_drv8424.overlay"
- platform:nucleo_f767zi/stm32f767xx:DTC_OVERLAY_FILE="boards/nucleo_f767zi_ti_drv8424.overlay"
extra_configs:
- CONFIG_GPIO=y
- CONFIG_COUNTER=y
- CONFIG_STEPPER_STEP_DIR_GENERATE_ISR_SAFE_EVENTS=y
platform_allow:
- native_sim/native/64
- nucleo_f767zi/stm32f767xx
drivers.stepper.stepper_api.zephyr_gpio_stepper:
extra_args:
- platform:native_sim/native/64:DTC_OVERLAY_FILE="boards/native_sim_zephyr_gpio_stepper.overlay"
- platform:nucleo_g071rb/stm32g071xx:DTC_OVERLAY_FILE="boards/nucleo_g071rb_zephyr_gpio_stepper.overlay"
- platform:qemu_x86_64/atom:DTC_OVERLAY_FILE="boards/qemu_x86_64_zephyr_gpio_stepper.overlay"
extra_configs:
- CONFIG_GPIO=y
platform_allow:
- native_sim/native/64
- nucleo_g071rb/stm32g071xx
- qemu_x86_64/atom