File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 120
120
#define HAS_TMC220x 1
121
121
#endif
122
122
123
+ #if HAS_DRIVER (TMC26X )
124
+ #define HAS_TMC26X 1
125
+ #endif
126
+
123
127
#define AXIS_IS_TMC (A ) ( AXIS_DRIVER_TYPE(A,TMC2130) || AXIS_DRIVER_TYPE(A,TMC2160) \
124
128
|| AXIS_DRIVER_TYPE(A,TMC2208) || AXIS_DRIVER_TYPE(A,TMC2209) \
125
129
|| AXIS_DRIVER_TYPE(A,TMC2660) \
184
188
#if ANY_AXIS_HAS (SPI )
185
189
#define HAS_TMC_SPI 1
186
190
#endif
187
-
188
- //
189
- // TMC26XX Stepper Drivers
190
- //
191
- #if HAS_DRIVER (TMC26X )
192
- #define HAS_TMC26X 1
191
+ #if HAS_STALLGUARD || HAS_DRIVER (TMC2160_STANDALONE ) || HAS_DRIVER (TMC2130_STANDALONE ) \
192
+ || HAS_DRIVER (TMC2209_STANDALONE ) || HAS_DRIVER (TMC26X ) \
193
+ || HAS_DRIVER (TMC26X_STANDALONE ) || HAS_DRIVER (TMC2660_STANDALONE ) \
194
+ || HAS_DRIVER (TMC5130_STANDALONE ) || HAS_DRIVER (TMC5160_STANDALONE )
195
+ #define HAS_DIAG_PINS 1
193
196
#endif
Original file line number Diff line number Diff line change 678
678
//
679
679
// Warn users of potential endstop/DIAG pin conflicts to prevent homing issues when not using sensorless homing
680
680
//
681
- #if !USE_SENSORLESS
681
+ #if !USE_SENSORLESS && HAS_DIAG_PINS
682
682
#if ENABLED(USES_DIAG_JUMPERS) && DISABLED(DIAG_JUMPERS_REMOVED)
683
683
#warning "Motherboard DIAG jumpers must be removed when SENSORLESS_HOMING is disabled. (Define DIAG_JUMPERS_REMOVED to suppress this warning.)"
684
684
#endif
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ SR_LCD_3W_NL = SailfishLCD=https://github.com/mikeshub
28
28
HAS_MOTOR_CURRENT_(I2C|DAC|SPI|PWM) = build_src_filter =+<src/gcode/feature/digipot>
29
29
HAS_MOTOR_CURRENT_I2C = SlowSoftI2CMaster
30
30
build_src_filter =+<src/feature/digipot>
31
- HAS_TMC26X = TMC26XStepper =https://github.com/MarlinFirmware/TMC26XStepper/archive/a7d7c92a13 .zip
31
+ HAS_TMC26X = TMC26XStepper =https://github.com/MarlinFirmware/TMC26XStepper/archive/0.1.2 .zip
32
32
build_src_filter =+<src/module/stepper/TMC26X.cpp>
33
33
LIB_INTERNAL_MAX31865 = build_src_filter =+<src/libs/MAX31865.cpp>
34
34
NEOPIXEL_LED = adafruit/Adafruit NeoPixel@~1.8.0
You can’t perform that action at this time.
0 commit comments