Skip to content

Commit

Permalink
test: drivers: build_all: stepper: fix gpio stepper
Browse files Browse the repository at this point in the history
fixes gpio stepper in build_all tests for stepper drivers

Signed-off-by: Jilay Pandya <[email protected]>
  • Loading branch information
jilaypandya committed Dec 2, 2024
1 parent d04b3e0 commit a6257fe
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions tests/drivers/build_all/stepper/gpio.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,12 @@
* SPDX-License-Identifier: Apache-2.0
*/

test_uln2003_motor_cluster: uln2003_motor_cluster {
compatible = "gpio-steppers";
test_gpio_stepper: test_gpio_stepper {
compatible = "zephyr,gpio-stepper";
status = "okay";
motor_1: motor_1 {
micro-step-res = <1>;
gpios = <&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>;
};
micro-step-res = <1>;
gpios = <&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>,
<&test_gpio 0 0>;
};

0 comments on commit a6257fe

Please sign in to comment.