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:
parent
eae06d0ff7
commit
c4f044ed81
1 changed files with 7 additions and 16 deletions
|
@ -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>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue