Step_pin' is not valid in section 'stepper_y1'

Hello friends,

the following issue was discussed here:

https://github.com/Klipper3d/klipper/issues/4915#issuecomment-1079885078

I have used a workaround in meantime but its not pratical anymore. I would like to have two y rails with two steppers (one stepper on each rail) with only one endstop on one rail. The bed ist big and it needs two motors.

Than someone send me this code

https://github.com/Klipper3d/klipper/pull/4886/files

and ported it to corexz.py like this

self.rails = [ stepper.PrinterRail(config.getsection('stepper_x')),
                   stepper.LookupMultiRail(config.getsection('stepper_y')),
                   stepper.PrinterRail(config.getsection('stepper_z')) ]
self.rails[0].get_endstops()[0][0].add_stepper(
                   self.rails[2].get_steppers()[0])
self.rails[2].get_endstops()[0][0].add_stepper(
                  self.rails[0].get_steppers()[0])

But it do not work, it says “step_pin’ is not valid in section ‘stepper_y1’”

According to Wiring_Pinout_and_Size · makerbase-mks/MKS-Robin-Nano-V3.X Wiki · GitHub you should check your stepper pins.
uart_pin = PD4 is Z-stepper. Do you have mixed it up?

I changed the axis z to y It should not make a difference, I try following config

Board - Klipper.cofig
x x
y y
z z
e0 y1
e1 extruder

or

Board - Klipper.cofig
x x
y z
z y
e0 y1
e1 extruder

it wont work either. It wont reconize the the option stepper_y1 bcs its not implemented right. Thats what I would like to achive :smiley:
What I would like to know have I done the code porting from corexy.py (in the link) to corexz.py right. Bcs I am total rookie in programming.