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
|
* 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…
Add table
Add a link
Reference in a new issue