[stepper_x]
endstop_pin: tmc5160_stepper_x:virtual_endstop
position_min: -1
position_endstop: -1
homing_retract_dist: 0
[stepper_y]
endstop_pin: tmc5160_stepper_y:virtual_endstop
position_min: 0
position_endstop: 0
homing_retract_dist: 0
[tmc5160 stepper_x]
diag1_pin: ^!x_diag_pin
driver_SGT: -64 # Stall guard threshold, this is your X sensitivity, to adjust, copy this section and override it in printer.cfg.
[tmc5160 stepper_y]
diag1_pin: ^!y_diag_pin
driver_SGT: -64 # Stall guard threshold, this is your Y sensitivity, to adjust, copy this section and override it in printer.cfg.
[gcode_macro RatOS]
variable_homing: "sensorless"
variable_sensorless_x_current: 0.6
variable_sensorless_y_current: 0.9
[stepper_x]
endstop_pin: tmc5160_stepper_x:virtual_endstop
position_min: -1
position_endstop: -1
homing_retract_dist: 0
[stepper_y]
endstop_pin: tmc5160_stepper_y:virtual_endstop
position_min: 0
position_endstop: 0
homing_retract_dist: 0
[tmc5160 stepper_x]
diag1_pin: ^!x_diag_pin
driver_SGT: -64 # Stall guard threshold, this is your X sensitivity, to adjust, copy this section and override it in printer.cfg.
[tmc5160 stepper_y]
diag1_pin: ^!y_diag_pin
driver_SGT: -64 # Stall guard threshold, this is your Y sensitivity, to adjust, copy this section and override it in printer.cfg.
[gcode_macro RatOS]
variable_homing: "sensorless"
variable_sensorless_x_current: 0.6
variable_sensorless_y_current: 0.9