Skip to content

Commit

Permalink
tests: drivers: build_all: stepper: Add adi,tmc2209
Browse files Browse the repository at this point in the history
Adds the adi,tmc2209 driver to the build all stepper test.

Signed-off-by: Fabian Blatz <[email protected]>
  • Loading branch information
faxe1008 authored and fabiobaltieri committed Dec 7, 2024
1 parent 6e79997 commit bea5fc7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/drivers/build_all/stepper/gpio.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ test_gpio_stepper: test_gpio_stepper {
<&test_gpio 0 0>,
<&test_gpio 0 0>;
};

test_tmc2209: tmc2209_motor {
compatible = "adi,tmc2209";
status = "okay";
micro-step-res = <1>;
msx-gpios = <&test_gpio 0 0>,
<&test_gpio 0 0>;
enable-gpios = <&test_gpio 0 0>;
step-gpios = <&test_gpio 0 0>;
direction-gpios = <&test_gpio 0 0>;
};

0 comments on commit bea5fc7

Please sign in to comment.