Selaa lähdekoodia

Update Marlin for newest TMC libraries

- TMC2130Stepper v2.2.0
- TMC2208Stepper v0.0.4
Scott Lahteine 7 vuotta sitten
vanhempi
commit
1e946d681d

+ 3
- 3
Marlin/src/feature/tmc_util.cpp Näytä tiedosto

@@ -392,8 +392,8 @@ void _tmc_say_sgt(const TMC_AxisEnum axis, const int8_t sgt) {
392 392
       case TMC_OTPW_TRIGGERED: serialprintPGM(st.getOTPW() ? PSTR("true") : PSTR("false")); break;
393 393
       case TMC_TOFF: SERIAL_PRINT(st.toff(), DEC); break;
394 394
       case TMC_TBL: SERIAL_PRINT(st.blank_time(), DEC); break;
395
-      case TMC_HEND: SERIAL_PRINT(st.hysterisis_end(), DEC); break;
396
-      case TMC_HSTRT: SERIAL_PRINT(st.hysterisis_start(), DEC); break;
395
+      case TMC_HEND: SERIAL_PRINT(st.hysteresis_end(), DEC); break;
396
+      case TMC_HSTRT: SERIAL_PRINT(st.hysteresis_start(), DEC); break;
397 397
       default: tmc_status(st, i); break;
398 398
     }
399 399
   }
@@ -545,7 +545,7 @@ void _tmc_say_sgt(const TMC_AxisEnum axis, const int8_t sgt) {
545 545
                "been triggered",     TMC_OTPW_TRIGGERED);
546 546
     TMC_REPORT("off time\t",         TMC_TOFF);
547 547
     TMC_REPORT("blank time",         TMC_TBL);
548
-    TMC_REPORT("hysterisis\n-end\t", TMC_HEND);
548
+    TMC_REPORT("hysteresis\n-end\t", TMC_HEND);
549 549
     TMC_REPORT("-start\t",           TMC_HSTRT);
550 550
     TMC_REPORT("Stallguard thrs",    TMC_SGT);
551 551
 

+ 4
- 4
Marlin/src/module/stepper_indirection.cpp Näytä tiedosto

@@ -188,8 +188,8 @@
188 188
     st.off_time(5); // Only enables the driver if used with stealthChop
189 189
     st.interpolate(INTERPOLATE);
190 190
     st.power_down_delay(128); // ~2s until driver lowers to hold current
191
-    st.hysterisis_start(3);
192
-    st.hysterisis_end(2);
191
+    st.hysteresis_start(3);
192
+    st.hysteresis_end(2);
193 193
     st.diag1_active_high(1); // For sensorless homing
194 194
     #if ENABLED(STEALTHCHOP)
195 195
       st.stealth_freq(1); // f_pwm = 2/683 f_clk
@@ -406,8 +406,8 @@
406 406
     st.toff(5);
407 407
     st.intpol(INTERPOLATE);
408 408
     st.TPOWERDOWN(128); // ~2s until driver lowers to hold current
409
-    st.hysterisis_start(3);
410
-    st.hysterisis_end(2);
409
+    st.hysteresis_start(3);
410
+    st.hysteresis_end(2);
411 411
     #if ENABLED(STEALTHCHOP)
412 412
       st.pwm_lim(12);
413 413
       st.pwm_reg(8);

+ 2
- 2
platformio.ini Näytä tiedosto

@@ -31,7 +31,7 @@ lib_deps =
31 31
   https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
32 32
   LiquidCrystal_I2C@1.1.2
33 33
   TMC2130Stepper
34
-  https://github.com/teemuatlut/TMC2208Stepper/archive/v0.0.3.zip
34
+  https://github.com/teemuatlut/TMC2208Stepper/archive/v0.0.4.zip
35 35
   Adafruit NeoPixel@1.1.3
36 36
   https://github.com/lincomatic/LiquidTWI2/archive/30aa480.zip
37 37
   https://github.com/ameyer/Arduino-L6470/archive/3cd0993.zip
@@ -110,7 +110,7 @@ lib_ldf_mode    = off
110 110
 lib_extra_dirs  = frameworks
111 111
 lib_deps        = CMSIS-LPC1768
112 112
   https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
113
-  TMC2130Stepper@>=2.1.1
113
+  TMC2130Stepper@>=2.2.0
114 114
 extra_scripts   = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
115 115
 src_filter      = ${common.default_src_filter}
116 116
 

Loading…
Peruuta
Tallenna