Browse Source

test: drivers: build_all: stepper: fix gpio stepper

fixes gpio stepper in build_all tests for stepper drivers

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
pull/82574/head
Jilay Pandya 7 months ago committed by Anas Nashif
parent
commit
c4f044ed81
  1. 23
      tests/drivers/build_all/stepper/gpio.dtsi

23
tests/drivers/build_all/stepper/gpio.dtsi

@ -3,21 +3,12 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
test_uln2003_motor_cluster: uln2003_motor_cluster { test_gpio_stepper: test_gpio_stepper {
compatible = "gpio-steppers"; compatible = "zephyr,gpio-stepper";
status = "okay"; status = "okay";
motor_1: motor_1 { micro-step-res = <1>;
micro-step-res = <1>; gpios = <&test_gpio 0 0>,
gpios = <&test_gpio 0 0>, <&test_gpio 0 0>,
<&test_gpio 0 0>, <&test_gpio 0 0>,
<&test_gpio 0 0>, <&test_gpio 0 0>;
<&test_gpio 0 0>;
};
motor_2: motor_2 {
micro-step-res = <2>;
gpios = <&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>;
};
}; };

Loading…
Cancel
Save