Check out my config.g for my ToolChanger. It is important to note that I am using CAN toolboards, but if you adjust the extruder drive mapping, heater output, and thermistor inputs it might be helpful:
https://github.com/bdtower8/Duet3ToolboardToolChanger/blob/master/sys/config.g
Line numbers that would need to be changed:
40, 61, 62, 66, 67, 71, 72, 76, 77, 83, 86, 89, 92