grblHAL / LPC176x

grblHAL driver for LPC1968 and LPC1769
Other
18 stars 22 forks source link

TMC5160 on SKR 1.4? #36

Closed paukstelis closed 1 year ago

paukstelis commented 1 year ago

Out of curiosity, what is the limitation to enabling TMC5160 drivers on the SKR1.4(turbo) boards?

paukstelis commented 1 year ago

Actually, Iooking a bit more, it seems that TMC5160 define is looked for in btt_skr_1.4_turbo_map.h, but it won't compile for me with the error: too few arguments to function 'hal.enumerate_pins. TMC2209 compiles fine.

paukstelis commented 1 year ago

Looks like getting the arguments correct by adding a null gets it compile (though no idea if it works): hal.enumerate_pins(true, add_cs_pin, NULL);

terjeio commented 1 year ago

Adding the NULL argument should make it work again.