Hello ,
I am trying to understand how Marlin firmware initializes the TMC stepper, there is #define X_DRIVER_TYPE TMC5160 line in the configuration. h; I think here we are declaring what board we are using but after that its very hard to follow the part where the steppers are getting initialized.
i saw tmc_init function in the tmc_util header file but cant able to find where this function is getting called.
If anyone whos how the initializing is happening or how the flow is from this line #define X_DRIVER_TYPE TMC5160 line please let me know it will help for my custom project
Thanks in advance :)
I am trying to understand how Marlin firmware initializes the TMC stepper, there is #define X_DRIVER_TYPE TMC5160 line in the configuration. h; I think here we are declaring what board we are using but after that its very hard to follow the part where the steppers are getting initialized.
i saw tmc_init function in the tmc_util header file but cant able to find where this function is getting called.
If anyone whos how the initializing is happening or how the flow is from this line #define X_DRIVER_TYPE TMC5160 line please let me know it will help for my custom project
Thanks in advance :)