Sensorless homing on an IDEX system

Basic Information:

Hybrid CoreXY
MCU / Printerboard: Spider 2.3
klippy.log klippy (4).log (3.1 MB)

I am attempting to get a two carriage IDEX/Hybrid/corexy system configured for the first time. I’m stuck on sensorless homing the two X axis printer heads/ The snag that I am running into is that “the system will not accept any axis designation in the virtual endstop setting.”

The IDEX setup uses a special tag to designate the second head on the same axis:
[dual_carriage]
axis: x

The problem is that I can’t figure out what designator to use in the corresponding virtual endstop declaration.

Driver1

[stepper_x]
step_pin: PE11
dir_pin: !PE10
enable_pin: !PE9
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 0
position_max: 200
homing_speed: 50
homing_retract_dist: 0

[tmc2209 stepper_x]
uart_pin: PE7
diag_pin: PB14
run_current: 0.9
driver_SGTHRS: 127
stealthchop_threshold: 999999

Driver2

[dual_carriage]
axis: x
step_pin: PD8
dir_pin: !PB12
enable_pin: !PD9
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2209_???:virtual_endstop <<<<---- the problem line
position_endstop: 0
position_max: 200
homing_speed: 50
homing_retract_dist: 0

[tmc2209 dual_carriage]
uart_pin: PE15
diag_pin: PA13
run_current: 0.9
driver_SGTHRS: 127
stealthchop_threshold: 999999

Any idea what the correct designator would be in this case?

Never mind… I got it… don’t know what I changed, but now it complies.
used “tmc2209_dual_carriage:virtual_endstop”