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>
This commit is contained in:
Jilay Pandya 2024-12-02 17:20:01 +01:00 committed by Anas Nashif
commit c4f044ed81

View file

@ -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>;
};