zephyr/tests/drivers/stepper/stepper_api/testcase.yaml
Josselin Bunt c4970880a1 drivers: stepper: Add unit tests for stepper API using work_q
This commit adds unit tests for the stepper API using work_q scheduler.

Signed-off-by: Josselin Bunt <josselin@sensible.health>
2025-05-04 19:55:51 +02:00

73 lines
2.6 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.adi_tmc2209_work_q:
extra_args:
- platform:native_sim/native/64:DTC_OVERLAY_FILE="boards/native_sim_adi_tmc2209_work_q.overlay"
extra_configs:
- CONFIG_GPIO=y
- CONFIG_STEPPER_STEP_DIR_GENERATE_ISR_SAFE_EVENTS=y
- CONFIG_STEPPER_TEST_TIMING_TIMEOUT_TOLERANCE_PCT=30
platform_allow:
- native_sim/native/64
drivers.stepper.stepper_api.allegro_a4979:
extra_args:
- platform:native_sim/native/64:DTC_OVERLAY_FILE="boards/native_sim_allegro_a4979.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.allegro_a4979_work_q:
extra_args:
- platform:native_sim/native/64:DTC_OVERLAY_FILE="boards/native_sim_allegro_a4979_work_q.overlay"
extra_configs:
- CONFIG_GPIO=y
- CONFIG_STEPPER_STEP_DIR_GENERATE_ISR_SAFE_EVENTS=y
- CONFIG_STEPPER_TEST_TIMING_TIMEOUT_TOLERANCE_PCT=30
platform_allow:
- native_sim/native/64
drivers.stepper.stepper_api.ti_drv84xx:
extra_args:
- platform:native_sim/native/64:DTC_OVERLAY_FILE="boards/native_sim_ti_drv84xx.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_drv84xx_work_q:
extra_args:
- platform:native_sim/native/64:DTC_OVERLAY_FILE="boards/native_sim_ti_drv84xx_work_q.overlay"
extra_configs:
- CONFIG_GPIO=y
- CONFIG_STEPPER_STEP_DIR_GENERATE_ISR_SAFE_EVENTS=y
- CONFIG_STEPPER_TEST_TIMING_TIMEOUT_TOLERANCE_PCT=30
platform_allow:
- native_sim/native/64
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: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
- qemu_x86_64/atom