The firmware doesn't auto detect the drivers. It auto detects which type of DueX expansion board (or none) is connected, and bases the number of TMC2660 drivers on that.

External stepper drivers should always be connected to either the expansion connector or the CONN_LCD connector.