Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

TMC2130 and Marlin 1.1.9 (6 replies)

$
0
0
Hello, I want to use x2 TMC2130 driver (on the X and Y axis) on SPI mode using Marlin 1.1.9. However I am not able to compile the code and I constantly get this error:
In file included from sketch\stepper_indirection.cpp:40:0:
stepper.h:225: error: redefinition of 'class Stepper'
class Stepper {
      ^
In file included from sketch\stepper_indirection.cpp:1:0:

C:\Program Files (x86)\Arduino\libraries\Stepper\src/Stepper.h:83:7: error: previous definition of 'class Stepper'

class Stepper {
      ^
sketch\stepper_indirection.cpp: In function 'void reset_stepper_drivers()':
stepper_indirection.cpp:585: error: 'class Stepper' has no member named 'set_directions'
  stepper.set_directions();
          ^
exit status 1
redefinition of 'class Stepper'


For the extruder and the Z axis I will use the basic A4988. So, in Configuration.h I have:
#define X_DRIVER_TYPE TMC2130
#define Y_DRIVER_TYPE TMC2130

And the rest of them are commented.

I am using Arduino 1.8.5 and the TMC2130 library on its 2.3.0 version. I have tried with different ones but I still don´t get it.

Any help would be appreciated :) thank you

Viewing all articles
Browse latest Browse all 2831

Trending Articles