Skip to content

Commit bea5fc7

Browse files
faxe1008fabiobaltieri
authored andcommitted
tests: drivers: build_all: stepper: Add adi,tmc2209
Adds the adi,tmc2209 driver to the build all stepper test. Signed-off-by: Fabian Blatz <[email protected]>
1 parent 6e79997 commit bea5fc7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/drivers/build_all/stepper/gpio.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,14 @@ test_gpio_stepper: test_gpio_stepper {
1212
<&test_gpio 0 0>,
1313
<&test_gpio 0 0>;
1414
};
15+
16+
test_tmc2209: tmc2209_motor {
17+
compatible = "adi,tmc2209";
18+
status = "okay";
19+
micro-step-res = <1>;
20+
msx-gpios = <&test_gpio 0 0>,
21+
<&test_gpio 0 0>;
22+
enable-gpios = <&test_gpio 0 0>;
23+
step-gpios = <&test_gpio 0 0>;
24+
direction-gpios = <&test_gpio 0 0>;
25+
};

0 commit comments

Comments
 (0)