From 77dff35faefe18cc9cc567ec4428fd7f59ad4e24 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 12 Nov 2019 18:18:32 -0500 Subject: tmc: Remove virtual_enable support and replace with automatic support Automatically detect if the stepper has a dedicated enable line. If it does not, then automatically enable virtual enable support. Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'config/example-extras.cfg') diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 4dbf7254..01105b0f 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -1206,10 +1206,7 @@ # Configure a TMC2130 stepper motor driver via SPI bus. To use this # feature, define a config section with a "tmc2130" prefix followed by # the name of the corresponding stepper config section (for example, -# "[tmc2130 stepper_x]"). This also creates a -# "tmc2130_stepper_x:virtual_enable" virtual pin which may be used as -# the stepper's enable_pin (for enabling the driver via an SPI -# message). +# "[tmc2130 stepper_x]"). #[tmc2130 stepper_x] #cs_pin: # The pin corresponding to the TMC2130 chip select line. This pin @@ -1271,10 +1268,7 @@ # Configure a TMC2208 (or TMC2224) stepper motor driver via single # wire UART. To use this feature, define a config section with a # "tmc2208" prefix followed by the name of the corresponding stepper -# config section (for example, "[tmc2208 stepper_x]"). This also -# creates a "tmc2208_stepper_x:virtual_enable" virtual pin which may -# be used as the stepper's enable_pin (for enabling the driver via a -# UART message). +# config section (for example, "[tmc2208 stepper_x]"). #[tmc2208 stepper_x] #uart_pin: # The pin connected to the TMC2208 PDN_UART line. This parameter @@ -1331,10 +1325,7 @@ # Configure a TMC2209 stepper motor driver via single wire UART. To # use this feature, define a config section with a "tmc2209" prefix # followed by the name of the corresponding stepper config section -# (for example, "[tmc2209 stepper_x]"). This also creates a -# "tmc2209_stepper_x:virtual_enable" virtual pin which may be used as -# the stepper's enable_pin (for enabling the driver via a UART -# message). +# (for example, "[tmc2209 stepper_x]"). #[tmc2209 stepper_x] #uart_pin: #tx_pin: @@ -1380,10 +1371,7 @@ # Configure a TMC2660 stepper motor driver via SPI bus. To use this # feature, define a config section with a tmc2660 prefix followed by # the name of the corresponding stepper config section (for example, -# "[tmc2660 stepper_x]"). This also creates a -# "tmc2660_stepper_x:virtual_enable" virtual pin which may be used as -# the stepper's enable_pin (for enabling the driver via an SPI -# message). +# "[tmc2660 stepper_x]"). #[tmc2660 stepper_x] #cs_pin: # The pin corresponding to the TMC2660 chip select line. This pin @@ -1455,10 +1443,7 @@ # Configure a TMC5160 stepper motor driver via SPI bus. To use this # feature, define a config section with a "tmc5160" prefix followed by # the name of the corresponding stepper config section (for example, -# "[tmc5160 stepper_x]"). This also creates a -# "tmc5160_stepper_x:virtual_enable" virtual pin which may be used as -# the stepper's enable_pin (for enabling the driver via an SPI -# message). +# "[tmc5160 stepper_x]"). #[tmc5160 stepper_x] #cs_pin: # The pin corresponding to the TMC5160 chip select line. This pin -- cgit v1.2.3-70-g09d2