Closed Flawl3ssSWE closed 6 years ago
What Marlin branch are you using? Please paste in the full error log produced.
I am using Jim Browns easy config: https://github.com/JimBrown/MarlinTarantula so it is bugfix 1.1.x, this is the error log I think:
Build options changed, rebuilding all In file included from sketch\MarlinConfig.h:40:0,
from sketch\G26_Mesh_Validation_Tool.cpp:27:
SanityCheck.h:1439: error: #error "Update TMC2130Stepper library to 2.2.1 or newer."
#error "Update TMC2130Stepper library to 2.2.1 or newer."
^
exit status 1
the current version of the TMC2130Stepper library was 2.4.3 downloaded here from GitHub, I have also tried restarting the IDE and my computer.
Try re-downloading the firmware. I was able to compile it with TMC2130
enabled for X Y Z E0.
If that doesn't help, then attach your config files here.
Since it was not working earlier today, I decided to convert to Marlin 2.0 and now I don’t have that error anymore.
Thanks for the help!
6 aug. 2018 kl. 21:03 skrev teemuatlut notifications@github.com:
Try re-downloading the firmware. I was able to compile it with TMC2130 enabled for X Y Z E0. If that doesn't help, then attach your config files here.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I configured my Marlin for my new TMC2130 v1.1 today and when I hit the verify button I received this error:
` In file included from sketch\MarlinConfig.h:39:0,
SanityCheck.h:1439: error: #error "Update TMC2130Stepper library to 2.2.1 or newer."
exit status 1
error "Update TMC2130Stepper library to 2.2.1 or newer."
` **I have installed the library from Arduino 2.3.0 and tried downloading it from GitHub, I also tried version 2.2.1 but still no luck. I also tried different Arduino IDE versions but still no luck. Have anyone got any idea how to fix it.
If you need the TMC2130 part from the configuration_adv.h here it is:** // @section tmc_smart
/**
pins_MYBOARD.h
file. (e.g., RAMPS 1.4 uses AUX3 pinsX_CS_PIN 53
,Y_CS_PIN 49
, etc.).define HAVE_TMC2130
if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
define X_IS_TMC2130
//#define X2_IS_TMC2130
define Y_IS_TMC2130
//#define Y2_IS_TMC2130
define Z_IS_TMC2130
//#define Z2_IS_TMC2130
define E0_IS_TMC2130
define E1_IS_TMC2130
//#define E2_IS_TMC2130 //#define E3_IS_TMC2130 //#define E4_IS_TMC2130
endif
/**
if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X2_IS_TMC2208 //#define Y_IS_TMC2208 //#define Y2_IS_TMC2208 //#define Z_IS_TMC2208 //#define Z2_IS_TMC2208 //#define E0_IS_TMC2208 //#define E1_IS_TMC2208 //#define E2_IS_TMC2208 //#define E3_IS_TMC2208 //#define E4_IS_TMC2208
endif
if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
define INTERPOLATE true // Interpolate X/Y/Z_MICROSTEPS to 256
define X_CURRENT 600 // rms current in mA. Multiply by 1.41 for peak current.
define X_MICROSTEPS 16 // 0..256
define Y_CURRENT 600
define Y_MICROSTEPS 16
define Z_CURRENT 700
define Z_MICROSTEPS 16
define X2_CURRENT 800
define X2_MICROSTEPS 16
define Y2_CURRENT 800
define Y2_MICROSTEPS 16
define Z2_CURRENT 800
define Z2_MICROSTEPS 16
define E0_CURRENT 600
define E0_MICROSTEPS 16
define E1_CURRENT 600
define E1_MICROSTEPS 16
define E2_CURRENT 800
define E2_MICROSTEPS 16
define E3_CURRENT 800
define E3_MICROSTEPS 16
define E4_CURRENT 800
define E4_MICROSTEPS 16
/**
but you can override or define them here. */ //#define TMC_USE_SW_SPI //#define TMC_SW_MOSI -1 //#define TMC_SW_MISO -1 //#define TMC_SW_SCK -1
/**
When disabled, Marlin will use spreadCycle stepping mode. */
define STEALTHCHOP
/**
M122 S0/1 - Report driver parameters (Requires TMC_DEBUG) */ //#define MONITOR_DRIVER_STATUS
if ENABLED(MONITOR_DRIVER_STATUS)
define CURRENT_STEP_DOWN 50 // [mA]
define REPORT_CURRENT_CHANGE
define STOP_ON_ERROR
endif
/**
M913 X/Y/Z/E to live tune the setting */ //#define HYBRID_THRESHOLD
define X_HYBRID_THRESHOLD 100 // [mm/s]
define X2_HYBRID_THRESHOLD 100
define Y_HYBRID_THRESHOLD 100
define Y2_HYBRID_THRESHOLD 100
define Z_HYBRID_THRESHOLD 3
define Z2_HYBRID_THRESHOLD 3
define E0_HYBRID_THRESHOLD 30
define E1_HYBRID_THRESHOLD 30
define E2_HYBRID_THRESHOLD 30
define E3_HYBRID_THRESHOLD 30
define E4_HYBRID_THRESHOLD 30
/**
M914 X/Y/Z to live tune the setting */ //#define SENSORLESS_HOMING // TMC2130 only
if ENABLED(SENSORLESS_HOMING)
define X_HOMING_SENSITIVITY 8
define Y_HOMING_SENSITIVITY 8
define Z_HOMING_SENSITIVITY 8
endif
/**
M122 S0/1 will enable continous reporting. */
define TMC_DEBUG
/**
Use M925 Znn to add extra Z height to Z_MAX_POS. */ //#define TMC_Z_CALIBRATION
if ENABLED(TMC_Z_CALIBRATION)
define CALIBRATION_CURRENT 250
define CALIBRATION_EXTRA_HEIGHT 10
endif
/**
define TMC_ADV() { \
define TMC_ADV() { }
endif // TMC2130 || TMC2208