Selaa lähdekoodia

Add spreadCycle parameter sets (#12645)

teemuatlut 5 vuotta sitten
vanhempi
commit
7a5e637a37
63 muutettua tiedostoa jossa 813 lisäystä ja 186 poistoa
  1. 13
    3
      Marlin/Configuration_adv.h
  2. 13
    3
      Marlin/src/config/default/Configuration_adv.h
  3. 13
    3
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 13
    3
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  5. 13
    3
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  6. 13
    3
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  7. 13
    3
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  8. 13
    3
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  9. 13
    3
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  10. 13
    3
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  11. 13
    3
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  12. 13
    3
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  13. 13
    3
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  14. 13
    3
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  15. 13
    3
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  16. 13
    3
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  17. 13
    3
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  18. 13
    3
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  19. 13
    3
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  20. 13
    3
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  21. 13
    3
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  22. 13
    3
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  23. 13
    3
      Marlin/src/config/examples/Felix/Configuration_adv.h
  24. 13
    3
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  25. 13
    3
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  26. 13
    3
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  27. 13
    3
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  28. 13
    3
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  29. 13
    3
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  30. 13
    3
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  31. 13
    3
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  32. 13
    3
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  33. 13
    3
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  34. 13
    3
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  35. 13
    3
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  36. 13
    3
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  37. 13
    3
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  38. 13
    3
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  39. 13
    3
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  40. 13
    3
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  41. 13
    3
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  42. 13
    3
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  43. 13
    3
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  44. 13
    3
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h
  45. 13
    3
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  46. 13
    3
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  47. 13
    3
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  48. 13
    3
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  49. 13
    3
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  50. 13
    3
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  51. 13
    3
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  52. 13
    3
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  53. 13
    3
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  54. 13
    3
      Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h
  55. 13
    3
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h
  56. 13
    3
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  57. 13
    3
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  58. 13
    3
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  59. 13
    3
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  60. 13
    3
      Marlin/src/config/examples/makibox/Configuration_adv.h
  61. 13
    3
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  62. 13
    3
      Marlin/src/config/examples/wt150/Configuration_adv.h
  63. 7
    0
      Marlin/src/feature/tmc_util.h

+ 13
- 3
Marlin/Configuration_adv.h Näytä tiedosto

@@ -1389,10 +1389,20 @@
1389 1389
   #define STEALTHCHOP_E
1390 1390
 
1391 1391
   /**
1392
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1393
-   * The parameters are off time, hysteresis end and hysteresis start.
1392
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1393
+   * or with the help of an example included in the library.
1394
+   * Provided parameter sets are
1395
+   * CHOPPER_DEFAULT_12V
1396
+   * CHOPPER_DEFAULT_19V
1397
+   * CHOPPER_DEFAULT_24V
1398
+   * CHOPPER_DEFAULT_36V
1399
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1400
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1401
+   *
1402
+   * Define you own with
1403
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1394 1404
    */
1395
-  #define CHOPPER_TIMING { 4, -2, 1 }
1405
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1396 1406
 
1397 1407
   /**
1398 1408
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/default/Configuration_adv.h Näytä tiedosto

@@ -1389,10 +1389,20 @@
1389 1389
   #define STEALTHCHOP_E
1390 1390
 
1391 1391
   /**
1392
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1393
-   * The parameters are off time, hysteresis end and hysteresis start.
1392
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1393
+   * or with the help of an example included in the library.
1394
+   * Provided parameter sets are
1395
+   * CHOPPER_DEFAULT_12V
1396
+   * CHOPPER_DEFAULT_19V
1397
+   * CHOPPER_DEFAULT_24V
1398
+   * CHOPPER_DEFAULT_36V
1399
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1400
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1401
+   *
1402
+   * Define you own with
1403
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1394 1404
    */
1395
-  #define CHOPPER_TIMING { 4, -2, 1 }
1405
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1396 1406
 
1397 1407
   /**
1398 1408
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Anet/A2/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Anet/A6/Configuration_adv.h Näytä tiedosto

@@ -1387,10 +1387,20 @@
1387 1387
   #define STEALTHCHOP_E
1388 1388
 
1389 1389
   /**
1390
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1391
-   * The parameters are off time, hysteresis end and hysteresis start.
1390
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1391
+   * or with the help of an example included in the library.
1392
+   * Provided parameter sets are
1393
+   * CHOPPER_DEFAULT_12V
1394
+   * CHOPPER_DEFAULT_19V
1395
+   * CHOPPER_DEFAULT_24V
1396
+   * CHOPPER_DEFAULT_36V
1397
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1398
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1399
+   *
1400
+   * Define you own with
1401
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1392 1402
    */
1393
-  #define CHOPPER_TIMING { 4, -2, 1 }
1403
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1394 1404
 
1395 1405
   /**
1396 1406
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Anet/A8/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/ArmEd/Configuration_adv.h Näytä tiedosto

@@ -1362,10 +1362,20 @@
1362 1362
   #define STEALTHCHOP_E
1363 1363
 
1364 1364
   /**
1365
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1366
-   * The parameters are off time, hysteresis end and hysteresis start.
1365
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1366
+   * or with the help of an example included in the library.
1367
+   * Provided parameter sets are
1368
+   * CHOPPER_DEFAULT_12V
1369
+   * CHOPPER_DEFAULT_19V
1370
+   * CHOPPER_DEFAULT_24V
1371
+   * CHOPPER_DEFAULT_36V
1372
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1373
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1374
+   *
1375
+   * Define you own with
1376
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1367 1377
    */
1368
-  #define CHOPPER_TIMING { 4, -2, 1 }
1378
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1369 1379
 
1370 1380
   /**
1371 1381
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Näytä tiedosto

@@ -1387,10 +1387,20 @@
1387 1387
   #define STEALTHCHOP_E
1388 1388
 
1389 1389
   /**
1390
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1391
-   * The parameters are off time, hysteresis end and hysteresis start.
1390
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1391
+   * or with the help of an example included in the library.
1392
+   * Provided parameter sets are
1393
+   * CHOPPER_DEFAULT_12V
1394
+   * CHOPPER_DEFAULT_19V
1395
+   * CHOPPER_DEFAULT_24V
1396
+   * CHOPPER_DEFAULT_36V
1397
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1398
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1399
+   *
1400
+   * Define you own with
1401
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1392 1402
    */
1393
-  #define CHOPPER_TIMING { 4, -2, 1 }
1403
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1394 1404
 
1395 1405
   /**
1396 1406
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h Näytä tiedosto

@@ -1396,10 +1396,20 @@
1396 1396
   #define STEALTHCHOP_E
1397 1397
 
1398 1398
   /**
1399
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1400
-   * The parameters are off time, hysteresis end and hysteresis start.
1399
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1400
+   * or with the help of an example included in the library.
1401
+   * Provided parameter sets are
1402
+   * CHOPPER_DEFAULT_12V
1403
+   * CHOPPER_DEFAULT_19V
1404
+   * CHOPPER_DEFAULT_24V
1405
+   * CHOPPER_DEFAULT_36V
1406
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1407
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1408
+   *
1409
+   * Define you own with
1410
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1401 1411
    */
1402
-  #define CHOPPER_TIMING { 4, -2, 1 }
1412
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1403 1413
 
1404 1414
   /**
1405 1415
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Cartesio/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Einstart-S/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Felix/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h Näytä tiedosto

@@ -1393,10 +1393,20 @@
1393 1393
   #define STEALTHCHOP_E
1394 1394
 
1395 1395
   /**
1396
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1397
-   * The parameters are off time, hysteresis end and hysteresis start.
1396
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1397
+   * or with the help of an example included in the library.
1398
+   * Provided parameter sets are
1399
+   * CHOPPER_DEFAULT_12V
1400
+   * CHOPPER_DEFAULT_19V
1401
+   * CHOPPER_DEFAULT_24V
1402
+   * CHOPPER_DEFAULT_36V
1403
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1404
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1405
+   *
1406
+   * Define you own with
1407
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1398 1408
    */
1399
-  #define CHOPPER_TIMING { 4, -2, 1 }
1409
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1400 1410
 
1401 1411
   /**
1402 1412
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h Näytä tiedosto

@@ -1393,10 +1393,20 @@
1393 1393
   #define STEALTHCHOP_E
1394 1394
 
1395 1395
   /**
1396
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1397
-   * The parameters are off time, hysteresis end and hysteresis start.
1396
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1397
+   * or with the help of an example included in the library.
1398
+   * Provided parameter sets are
1399
+   * CHOPPER_DEFAULT_12V
1400
+   * CHOPPER_DEFAULT_19V
1401
+   * CHOPPER_DEFAULT_24V
1402
+   * CHOPPER_DEFAULT_36V
1403
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1404
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1405
+   *
1406
+   * Define you own with
1407
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1398 1408
    */
1399
-  #define CHOPPER_TIMING { 4, -2, 1 }
1409
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1400 1410
 
1401 1411
   /**
1402 1412
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h Näytä tiedosto

@@ -1389,10 +1389,20 @@
1389 1389
   #define STEALTHCHOP_E
1390 1390
 
1391 1391
   /**
1392
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1393
-   * The parameters are off time, hysteresis end and hysteresis start.
1392
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1393
+   * or with the help of an example included in the library.
1394
+   * Provided parameter sets are
1395
+   * CHOPPER_DEFAULT_12V
1396
+   * CHOPPER_DEFAULT_19V
1397
+   * CHOPPER_DEFAULT_24V
1398
+   * CHOPPER_DEFAULT_36V
1399
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1400
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1401
+   *
1402
+   * Define you own with
1403
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1394 1404
    */
1395
-  #define CHOPPER_TIMING { 4, -2, 1 }
1405
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1396 1406
 
1397 1407
   /**
1398 1408
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/MakerParts/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h Näytä tiedosto

@@ -1396,10 +1396,20 @@
1396 1396
   #define STEALTHCHOP_E
1397 1397
 
1398 1398
   /**
1399
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1400
-   * The parameters are off time, hysteresis end and hysteresis start.
1399
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1400
+   * or with the help of an example included in the library.
1401
+   * Provided parameter sets are
1402
+   * CHOPPER_DEFAULT_12V
1403
+   * CHOPPER_DEFAULT_19V
1404
+   * CHOPPER_DEFAULT_24V
1405
+   * CHOPPER_DEFAULT_36V
1406
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1407
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1408
+   *
1409
+   * Define you own with
1410
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1401 1411
    */
1402
-  #define CHOPPER_TIMING { 4, -2, 1 }
1412
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1403 1413
 
1404 1414
   /**
1405 1415
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/RigidBot/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/SCARA/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/TheBorg/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h Näytä tiedosto

@@ -1389,10 +1389,20 @@
1389 1389
   #define STEALTHCHOP_E
1390 1390
 
1391 1391
   /**
1392
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1393
-   * The parameters are off time, hysteresis end and hysteresis start.
1392
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1393
+   * or with the help of an example included in the library.
1394
+   * Provided parameter sets are
1395
+   * CHOPPER_DEFAULT_12V
1396
+   * CHOPPER_DEFAULT_19V
1397
+   * CHOPPER_DEFAULT_24V
1398
+   * CHOPPER_DEFAULT_36V
1399
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1400
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1401
+   *
1402
+   * Define you own with
1403
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1394 1404
    */
1395
-  #define CHOPPER_TIMING { 4, -2, 1 }
1405
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1396 1406
 
1397 1407
   /**
1398 1408
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h Näytä tiedosto

@@ -1401,10 +1401,20 @@
1401 1401
   #define STEALTHCHOP_E
1402 1402
 
1403 1403
   /**
1404
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1405
-   * The parameters are off time, hysteresis end and hysteresis start.
1404
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1405
+   * or with the help of an example included in the library.
1406
+   * Provided parameter sets are
1407
+   * CHOPPER_DEFAULT_12V
1408
+   * CHOPPER_DEFAULT_19V
1409
+   * CHOPPER_DEFAULT_24V
1410
+   * CHOPPER_DEFAULT_36V
1411
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1412
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1413
+   *
1414
+   * Define you own with
1415
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1406 1416
    */
1407
-  #define CHOPPER_TIMING { 4, -2, 1 }
1417
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1408 1418
 
1409 1419
   /**
1410 1420
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h Näytä tiedosto

@@ -1363,10 +1363,20 @@
1363 1363
   #define STEALTHCHOP_E
1364 1364
 
1365 1365
   /**
1366
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1367
-   * The parameters are off time, hysteresis end and hysteresis start.
1366
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1367
+   * or with the help of an example included in the library.
1368
+   * Provided parameter sets are
1369
+   * CHOPPER_DEFAULT_12V
1370
+   * CHOPPER_DEFAULT_19V
1371
+   * CHOPPER_DEFAULT_24V
1372
+   * CHOPPER_DEFAULT_36V
1373
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1374
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1375
+   *
1376
+   * Define you own with
1377
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1368 1378
    */
1369
-  #define CHOPPER_TIMING { 4, -2, 1 }
1379
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1370 1380
 
1371 1381
   /**
1372 1382
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/generic/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h Näytä tiedosto

@@ -1390,10 +1390,20 @@
1390 1390
   #define STEALTHCHOP_E
1391 1391
 
1392 1392
   /**
1393
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1394
-   * The parameters are off time, hysteresis end and hysteresis start.
1393
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1394
+   * or with the help of an example included in the library.
1395
+   * Provided parameter sets are
1396
+   * CHOPPER_DEFAULT_12V
1397
+   * CHOPPER_DEFAULT_19V
1398
+   * CHOPPER_DEFAULT_24V
1399
+   * CHOPPER_DEFAULT_36V
1400
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1401
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1402
+   *
1403
+   * Define you own with
1404
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1395 1405
    */
1396
-  #define CHOPPER_TIMING { 4, -2, 1 }
1406
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1397 1407
 
1398 1408
   /**
1399 1409
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/makibox/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h Näytä tiedosto

@@ -1388,10 +1388,20 @@
1388 1388
   #define STEALTHCHOP_E
1389 1389
 
1390 1390
   /**
1391
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1392
-   * The parameters are off time, hysteresis end and hysteresis start.
1391
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1392
+   * or with the help of an example included in the library.
1393
+   * Provided parameter sets are
1394
+   * CHOPPER_DEFAULT_12V
1395
+   * CHOPPER_DEFAULT_19V
1396
+   * CHOPPER_DEFAULT_24V
1397
+   * CHOPPER_DEFAULT_36V
1398
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1399
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1400
+   *
1401
+   * Define you own with
1402
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1393 1403
    */
1394
-  #define CHOPPER_TIMING { 4, -2, 1 }
1404
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1395 1405
 
1396 1406
   /**
1397 1407
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 13
- 3
Marlin/src/config/examples/wt150/Configuration_adv.h Näytä tiedosto

@@ -1389,10 +1389,20 @@
1389 1389
   #define STEALTHCHOP_E
1390 1390
 
1391 1391
   /**
1392
-   * Adjust spreadCycle chopper parameters with the help of an example included in the library.
1393
-   * The parameters are off time, hysteresis end and hysteresis start.
1392
+   * Optimize spreadCycle chopper parameters by using predefined parameter sets
1393
+   * or with the help of an example included in the library.
1394
+   * Provided parameter sets are
1395
+   * CHOPPER_DEFAULT_12V
1396
+   * CHOPPER_DEFAULT_19V
1397
+   * CHOPPER_DEFAULT_24V
1398
+   * CHOPPER_DEFAULT_36V
1399
+   * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V)
1400
+   * CHOPPER_MARLIN_119   // Old defaults from Marlin v1.1.9
1401
+   *
1402
+   * Define you own with
1403
+   * { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
1394 1404
    */
1395
-  #define CHOPPER_TIMING { 4, -2, 1 }
1405
+  #define CHOPPER_TIMING CHOPPER_DEFAULT_12V
1396 1406
 
1397 1407
   /**
1398 1408
    * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions,

+ 7
- 0
Marlin/src/feature/tmc_util.h Näytä tiedosto

@@ -43,6 +43,13 @@
43 43
 #define TMC_E4_LABEL 'E', '4'
44 44
 #define TMC_E5_LABEL 'E', '5'
45 45
 
46
+#define CHOPPER_DEFAULT_12V  { 3, -1, 1 }
47
+#define CHOPPER_DEFAULT_19V  { 4,  1, 1 }
48
+#define CHOPPER_DEFAULT_24V  { 4,  2, 1 }
49
+#define CHOPPER_DEFAULT_36V  { 5,  2, 4 }
50
+#define CHOPPER_PRUSAMK3_24V { 4,  1, 4 }
51
+#define CHOPPER_MARLIN_119   { 5,  2, 3 }
52
+
46 53
 template<char AXIS_LETTER, char DRIVER_ID>
47 54
 class TMCStorage {
48 55
   protected:

Loading…
Peruuta
Tallenna