Skip to content

Commit b55397e

Browse files
committed
tmc5150 spi, sg not working - WIP
1 parent d4b7bf9 commit b55397e

File tree

6 files changed

+933
-0
lines changed

6 files changed

+933
-0
lines changed

drivers/stepper/adi_tmc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ zephyr_library_property(ALLOW_EMPTY TRUE)
66

77
zephyr_library_sources_ifdef(CONFIG_STEPPER_ADI_TMC_SPI adi_tmc_spi.c)
88
zephyr_library_sources_ifdef(CONFIG_STEPPER_ADI_TMC5041 adi_tmc5041_stepper_controller.c)
9+
zephyr_library_sources_ifdef(CONFIG_STEPPER_ADI_TMC5160 adi_tmc5160_stepper_controller.c)

drivers/stepper/adi_tmc/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,12 @@ config STEPPER_ADI_TMC5041_RAMPSTAT_POLL_INTERVAL_IN_MSEC
5252
help
5353
The interval in ms to poll the ramp status on TMC5041.
5454

55+
config STEPPER_ADI_TMC5160
56+
bool "Activate trinamic tmc5160 stepper driver"
57+
depends on DT_HAS_ADI_TMC5160_ENABLED && STEPPER_ADI_TMC
58+
select STEPPER_ADI_TMC_SPI
59+
default y
60+
help
61+
Stepper driver for TMC5160.
62+
5563
endif # STEPPER_ADI_TMC

0 commit comments

Comments
 (0)