Quellcode durchsuchen

Allow Serial Overrun Protection to be disabled

Scott Lahteine vor 6 Jahren
Ursprung
Commit
1fcc13b011
65 geänderte Dateien mit 283 neuen und 29 gelöschten Zeilen
  1. 4
    0
      Marlin/Configuration_adv.h
  2. 4
    0
      Marlin/src/config/default/Configuration_adv.h
  3. 4
    0
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 4
    0
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  5. 4
    0
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  6. 4
    0
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  7. 4
    0
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  8. 4
    0
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  9. 4
    0
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  10. 4
    0
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  11. 4
    0
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  12. 4
    0
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  13. 4
    0
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  14. 4
    0
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  15. 4
    0
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  16. 4
    0
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  17. 4
    0
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  18. 4
    0
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  19. 4
    0
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  20. 4
    0
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  21. 4
    0
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  22. 4
    0
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  23. 4
    0
      Marlin/src/config/examples/Felix/Configuration_adv.h
  24. 4
    0
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  25. 4
    0
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  26. 4
    0
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  27. 4
    0
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  28. 4
    0
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  29. 4
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  30. 4
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  31. 4
    0
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  32. 4
    0
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  33. 4
    0
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  34. 4
    0
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  35. 4
    0
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  36. 4
    0
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  37. 4
    0
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  38. 4
    0
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  39. 4
    0
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  40. 4
    0
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  41. 4
    0
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  42. 4
    0
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  43. 4
    0
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  44. 4
    0
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h
  45. 4
    0
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  46. 4
    0
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  47. 4
    0
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  48. 4
    0
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  49. 4
    0
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  50. 4
    0
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  51. 4
    0
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  52. 4
    0
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  53. 4
    0
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  54. 4
    0
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h
  55. 4
    0
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  56. 4
    0
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  57. 4
    0
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  58. 4
    0
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  59. 4
    0
      Marlin/src/config/examples/makibox/Configuration_adv.h
  60. 4
    0
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  61. 4
    0
      Marlin/src/config/examples/wt150/Configuration_adv.h
  62. 10
    0
      Marlin/src/core/utility.h
  63. 4
    4
      Marlin/src/feature/bedlevel/ubl/ubl.cpp
  64. 22
    22
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
  65. 3
    3
      Marlin/src/gcode/calibrate/M100.cpp

+ 4
- 0
Marlin/Configuration_adv.h Datei anzeigen

1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 //#define ADVANCED_OK
1050
 //#define ADVANCED_OK
1051
 
1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052
 // @section extras
1056
 // @section extras
1053
 
1057
 
1054
 /**
1058
 /**

+ 4
- 0
Marlin/src/config/default/Configuration_adv.h Datei anzeigen

1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 //#define ADVANCED_OK
1050
 //#define ADVANCED_OK
1051
 
1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052
 // @section extras
1056
 // @section extras
1053
 
1057
 
1054
 /**
1058
 /**

+ 4
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Anet/A2/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Anet/A6/Configuration_adv.h Datei anzeigen

1047
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1047
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 //#define ADVANCED_OK
1048
 //#define ADVANCED_OK
1049
 
1049
 
1050
+// Printrun may have trouble receiving long strings all at once.
1051
+// This option inserts short delays between lines of serial output.
1052
+#define SERIAL_OVERRUN_PROTECTION
1053
+
1050
 // @section extras
1054
 // @section extras
1051
 
1055
 
1052
 /**
1056
 /**

+ 4
- 0
Marlin/src/config/examples/Anet/A8/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/ArmEd/Configuration_adv.h Datei anzeigen

1021
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1021
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1022
 //#define ADVANCED_OK
1022
 //#define ADVANCED_OK
1023
 
1023
 
1024
+// Printrun may have trouble receiving long strings all at once.
1025
+// This option inserts short delays between lines of serial output.
1026
+#define SERIAL_OVERRUN_PROTECTION
1027
+
1024
 // @section extras
1028
 // @section extras
1025
 
1029
 
1026
 /**
1030
 /**

+ 4
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Datei anzeigen

1047
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1047
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 //#define ADVANCED_OK
1048
 //#define ADVANCED_OK
1049
 
1049
 
1050
+// Printrun may have trouble receiving long strings all at once.
1051
+// This option inserts short delays between lines of serial output.
1052
+#define SERIAL_OVERRUN_PROTECTION
1053
+
1050
 // @section extras
1054
 // @section extras
1051
 
1055
 
1052
 /**
1056
 /**

+ 4
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h Datei anzeigen

1056
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1056
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1057
 #define ADVANCED_OK
1057
 #define ADVANCED_OK
1058
 
1058
 
1059
+// Printrun may have trouble receiving long strings all at once.
1060
+// This option inserts short delays between lines of serial output.
1061
+#define SERIAL_OVERRUN_PROTECTION
1062
+
1059
 // @section extras
1063
 // @section extras
1060
 
1064
 
1061
 /**
1065
 /**

+ 4
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Cartesio/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 #define ADVANCED_OK
1049
 #define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Einstart-S/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Felix/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 #define ADVANCED_OK
1051
 #define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h Datei anzeigen

1053
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1053
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1054
 //#define ADVANCED_OK
1054
 //#define ADVANCED_OK
1055
 
1055
 
1056
+// Printrun may have trouble receiving long strings all at once.
1057
+// This option inserts short delays between lines of serial output.
1058
+#define SERIAL_OVERRUN_PROTECTION
1059
+
1056
 // @section extras
1060
 // @section extras
1057
 
1061
 
1058
 /**
1062
 /**

+ 4
- 0
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h Datei anzeigen

1053
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1053
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1054
 //#define ADVANCED_OK
1054
 //#define ADVANCED_OK
1055
 
1055
 
1056
+// Printrun may have trouble receiving long strings all at once.
1057
+// This option inserts short delays between lines of serial output.
1058
+#define SERIAL_OVERRUN_PROTECTION
1059
+
1056
 // @section extras
1060
 // @section extras
1057
 
1061
 
1058
 /**
1062
 /**

+ 4
- 0
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h Datei anzeigen

1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 //#define ADVANCED_OK
1050
 //#define ADVANCED_OK
1051
 
1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052
 // @section extras
1056
 // @section extras
1053
 
1057
 
1054
 /**
1058
 /**

+ 4
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/MakerParts/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h Datei anzeigen

1056
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1056
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1057
 //#define ADVANCED_OK
1057
 //#define ADVANCED_OK
1058
 
1058
 
1059
+// Printrun may have trouble receiving long strings all at once.
1060
+// This option inserts short delays between lines of serial output.
1061
+#define SERIAL_OVERRUN_PROTECTION
1062
+
1059
 // @section extras
1063
 // @section extras
1060
 
1064
 
1061
 /**
1065
 /**

+ 4
- 0
Marlin/src/config/examples/RigidBot/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/SCARA/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/TheBorg/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h Datei anzeigen

1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 //#define ADVANCED_OK
1050
 //#define ADVANCED_OK
1051
 
1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052
 // @section extras
1056
 // @section extras
1053
 
1057
 
1054
 /**
1058
 /**

+ 4
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h Datei anzeigen

1061
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1061
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1062
 //#define ADVANCED_OK
1062
 //#define ADVANCED_OK
1063
 
1063
 
1064
+// Printrun may have trouble receiving long strings all at once.
1065
+// This option inserts short delays between lines of serial output.
1066
+#define SERIAL_OVERRUN_PROTECTION
1067
+
1064
 // @section extras
1068
 // @section extras
1065
 
1069
 
1066
 /**
1070
 /**

+ 4
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/generic/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h Datei anzeigen

1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051
 //#define ADVANCED_OK
1051
 //#define ADVANCED_OK
1052
 
1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053
 // @section extras
1057
 // @section extras
1054
 
1058
 
1055
 /**
1059
 /**

+ 4
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/makibox/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h Datei anzeigen

1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 //#define ADVANCED_OK
1049
 //#define ADVANCED_OK
1050
 
1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051
 // @section extras
1055
 // @section extras
1052
 
1056
 
1053
 /**
1057
 /**

+ 4
- 0
Marlin/src/config/examples/wt150/Configuration_adv.h Datei anzeigen

1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050
 //#define ADVANCED_OK
1050
 //#define ADVANCED_OK
1051
 
1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052
 // @section extras
1056
 // @section extras
1053
 
1057
 
1054
 /**
1058
 /**

+ 10
- 0
Marlin/src/core/utility.h Datei anzeigen

25
 
25
 
26
 constexpr char axis_codes[XYZE] = { 'X', 'Y', 'Z', 'E' };
26
 constexpr char axis_codes[XYZE] = { 'X', 'Y', 'Z', 'E' };
27
 
27
 
28
+// Delay that ensures heaters and watchdog are kept alive
28
 void safe_delay(millis_t ms);
29
 void safe_delay(millis_t ms);
29
 
30
 
31
+// A delay to provide brittle hosts time to receive bytes
32
+inline void serial_delay(const millis_t ms) {
33
+  #if ENABLED(SERIAL_OVERRUN_PROTECTION)
34
+    safe_delay(ms);
35
+  #else
36
+    UNUSED(ms);
37
+  #endif
38
+}
39
+
30
 #if ENABLED(EEPROM_SETTINGS) || ENABLED(SD_FIRMWARE_UPDATE)
40
 #if ENABLED(EEPROM_SETTINGS) || ENABLED(SD_FIRMWARE_UPDATE)
31
   void crc16(uint16_t *crc, const void * const data, uint16_t cnt);
41
   void crc16(uint16_t *crc, const void * const data, uint16_t cnt);
32
 #endif
42
 #endif

+ 4
- 4
Marlin/src/feature/bedlevel/ubl/ubl.cpp Datei anzeigen

59
           SERIAL_ECHOPGM_P(port, " Z");
59
           SERIAL_ECHOPGM_P(port, " Z");
60
           SERIAL_ECHO_F_P(port, z_values[x][y], 2);
60
           SERIAL_ECHO_F_P(port, z_values[x][y], 2);
61
           SERIAL_EOL_P(port);
61
           SERIAL_EOL_P(port);
62
-          safe_delay(75); // Prevent Printrun from exploding
62
+          serial_delay(75); // Prevent Printrun from exploding
63
         }
63
         }
64
   }
64
   }
65
 
65
 
76
     SERIAL_PROTOCOLPGM_P(port, " System v" UBL_VERSION " ");
76
     SERIAL_PROTOCOLPGM_P(port, " System v" UBL_VERSION " ");
77
     if (!planner.leveling_active) SERIAL_PROTOCOLPGM_P(port, "in");
77
     if (!planner.leveling_active) SERIAL_PROTOCOLPGM_P(port, "in");
78
     SERIAL_PROTOCOLLNPGM_P(port, "active.");
78
     SERIAL_PROTOCOLLNPGM_P(port, "active.");
79
-    safe_delay(50);
79
+    serial_delay(50);
80
   }
80
   }
81
 
81
 
82
   #if ENABLED(UBL_DEVEL_DEBUGGING)
82
   #if ENABLED(UBL_DEVEL_DEBUGGING)
173
     if (y < 100) { SERIAL_CHAR(' '); if (y < 10) SERIAL_CHAR(' '); }
173
     if (y < 100) { SERIAL_CHAR(' '); if (y < 10) SERIAL_CHAR(' '); }
174
     SERIAL_ECHO(y);
174
     SERIAL_ECHO(y);
175
     SERIAL_CHAR(')');
175
     SERIAL_CHAR(')');
176
-    safe_delay(5);
176
+    serial_delay(5);
177
   }
177
   }
178
 
178
 
179
   static void serial_echo_column_labels(const uint8_t sp) {
179
   static void serial_echo_column_labels(const uint8_t sp) {
183
       SERIAL_ECHO(i);
183
       SERIAL_ECHO(i);
184
       SERIAL_ECHO_SP(sp);
184
       SERIAL_ECHO_SP(sp);
185
     }
185
     }
186
-    safe_delay(10);
186
+    serial_delay(10);
187
   }
187
   }
188
 
188
 
189
   /**
189
   /**

+ 22
- 22
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp Datei anzeigen

780
           }
780
           }
781
         }
781
         }
782
       }
782
       }
783
-      safe_delay(15);
783
+      serial_delay(15);
784
       return false;
784
       return false;
785
     }
785
     }
786
 
786
 
999
           SERIAL_FLUSH();                                           // Prevent host M105 buffer overrun.
999
           SERIAL_FLUSH();                                           // Prevent host M105 buffer overrun.
1000
         } while (!ui.button_pressed());
1000
         } while (!ui.button_pressed());
1001
 
1001
 
1002
-        if (!lcd_map_control) ui.return_to_status();               // Just editing a single point? Return to status
1002
+        if (!lcd_map_control) ui.return_to_status();                // Just editing a single point? Return to status
1003
 
1003
 
1004
         if (click_and_hold(abort_fine_tune)) goto FINE_TUNE_EXIT;   // If the click is held down, abort editing
1004
         if (click_and_hold(abort_fine_tune)) goto FINE_TUNE_EXIT;   // If the click is held down, abort editing
1005
 
1005
 
1006
         z_values[location.x_index][location.y_index] = new_z;       // Save the updated Z value
1006
         z_values[location.x_index][location.y_index] = new_z;       // Save the updated Z value
1007
 
1007
 
1008
-        safe_delay(20);                                             // No switch noise
1008
+        serial_delay(20);                                           // No switch noise
1009
         ui.refresh();
1009
         ui.refresh();
1010
 
1010
 
1011
       } while (location.x_index >= 0 && --g29_repetition_cnt > 0);
1011
       } while (location.x_index >= 0 && --g29_repetition_cnt > 0);
1509
               SERIAL_PROTOCOLCHAR(',');
1509
               SERIAL_PROTOCOLCHAR(',');
1510
               SERIAL_PROTOCOL_F(z_tmp, 7);
1510
               SERIAL_PROTOCOL_F(z_tmp, 7);
1511
               SERIAL_ECHOPGM("]   ---> ");
1511
               SERIAL_ECHOPGM("]   ---> ");
1512
-              safe_delay(20);
1512
+              serial_delay(20);
1513
             }
1513
             }
1514
           #endif
1514
           #endif
1515
 
1515
 
1524
               SERIAL_PROTOCOLCHAR(',');
1524
               SERIAL_PROTOCOLCHAR(',');
1525
               SERIAL_PROTOCOL_F(z_tmp, 7);
1525
               SERIAL_PROTOCOL_F(z_tmp, 7);
1526
               SERIAL_ECHOLNPGM("]");
1526
               SERIAL_ECHOLNPGM("]");
1527
-              safe_delay(55);
1527
+              serial_delay(55);
1528
             }
1528
             }
1529
           #endif
1529
           #endif
1530
 
1530
 
1542
           SERIAL_ECHOPGM("  D=");
1542
           SERIAL_ECHOPGM("  D=");
1543
           SERIAL_PROTOCOL_F(lsf_results.D, 7);
1543
           SERIAL_PROTOCOL_F(lsf_results.D, 7);
1544
           SERIAL_EOL();
1544
           SERIAL_EOL();
1545
-          safe_delay(55);
1545
+          serial_delay(55);
1546
 
1546
 
1547
           SERIAL_ECHOPGM("bed plane normal = [");
1547
           SERIAL_ECHOPGM("bed plane normal = [");
1548
           SERIAL_PROTOCOL_F(normal.x, 7);
1548
           SERIAL_PROTOCOL_F(normal.x, 7);
1681
         SERIAL_PROTOCOLPGM(" Loaded.");
1681
         SERIAL_PROTOCOLPGM(" Loaded.");
1682
       }
1682
       }
1683
       SERIAL_EOL();
1683
       SERIAL_EOL();
1684
-      safe_delay(50);
1684
+      serial_delay(50);
1685
 
1685
 
1686
       #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
1686
       #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
1687
         SERIAL_PROTOCOLPGM("planner.z_fade_height : ");
1687
         SERIAL_PROTOCOLPGM("planner.z_fade_height : ");
1697
         SERIAL_EOL();
1697
         SERIAL_EOL();
1698
       #endif
1698
       #endif
1699
 
1699
 
1700
-      SERIAL_ECHOLNPAIR("MESH_MIN_X  " STRINGIFY(MESH_MIN_X) "=", MESH_MIN_X); safe_delay(50);
1701
-      SERIAL_ECHOLNPAIR("MESH_MIN_Y  " STRINGIFY(MESH_MIN_Y) "=", MESH_MIN_Y); safe_delay(50);
1702
-      SERIAL_ECHOLNPAIR("MESH_MAX_X  " STRINGIFY(MESH_MAX_X) "=", MESH_MAX_X); safe_delay(50);
1703
-      SERIAL_ECHOLNPAIR("MESH_MAX_Y  " STRINGIFY(MESH_MAX_Y) "=", MESH_MAX_Y); safe_delay(50);
1704
-      SERIAL_ECHOLNPAIR("GRID_MAX_POINTS_X  ", GRID_MAX_POINTS_X);             safe_delay(50);
1705
-      SERIAL_ECHOLNPAIR("GRID_MAX_POINTS_Y  ", GRID_MAX_POINTS_Y);             safe_delay(50);
1700
+      SERIAL_ECHOLNPAIR("MESH_MIN_X  " STRINGIFY(MESH_MIN_X) "=", MESH_MIN_X); serial_delay(50);
1701
+      SERIAL_ECHOLNPAIR("MESH_MIN_Y  " STRINGIFY(MESH_MIN_Y) "=", MESH_MIN_Y); serial_delay(50);
1702
+      SERIAL_ECHOLNPAIR("MESH_MAX_X  " STRINGIFY(MESH_MAX_X) "=", MESH_MAX_X); serial_delay(50);
1703
+      SERIAL_ECHOLNPAIR("MESH_MAX_Y  " STRINGIFY(MESH_MAX_Y) "=", MESH_MAX_Y); serial_delay(50);
1704
+      SERIAL_ECHOLNPAIR("GRID_MAX_POINTS_X  ", GRID_MAX_POINTS_X);             serial_delay(50);
1705
+      SERIAL_ECHOLNPAIR("GRID_MAX_POINTS_Y  ", GRID_MAX_POINTS_Y);             serial_delay(50);
1706
       SERIAL_ECHOLNPAIR("MESH_X_DIST  ", MESH_X_DIST);
1706
       SERIAL_ECHOLNPAIR("MESH_X_DIST  ", MESH_X_DIST);
1707
-      SERIAL_ECHOLNPAIR("MESH_Y_DIST  ", MESH_Y_DIST);                         safe_delay(50);
1707
+      SERIAL_ECHOLNPAIR("MESH_Y_DIST  ", MESH_Y_DIST);                         serial_delay(50);
1708
 
1708
 
1709
       SERIAL_PROTOCOLPGM("X-Axis Mesh Points at: ");
1709
       SERIAL_PROTOCOLPGM("X-Axis Mesh Points at: ");
1710
       for (uint8_t i = 0; i < GRID_MAX_POINTS_X; i++) {
1710
       for (uint8_t i = 0; i < GRID_MAX_POINTS_X; i++) {
1711
         SERIAL_PROTOCOL_F(LOGICAL_X_POSITION(mesh_index_to_xpos(i)), 3);
1711
         SERIAL_PROTOCOL_F(LOGICAL_X_POSITION(mesh_index_to_xpos(i)), 3);
1712
         SERIAL_PROTOCOLPGM("  ");
1712
         SERIAL_PROTOCOLPGM("  ");
1713
-        safe_delay(25);
1713
+        serial_delay(25);
1714
       }
1714
       }
1715
       SERIAL_EOL();
1715
       SERIAL_EOL();
1716
 
1716
 
1718
       for (uint8_t i = 0; i < GRID_MAX_POINTS_Y; i++) {
1718
       for (uint8_t i = 0; i < GRID_MAX_POINTS_Y; i++) {
1719
         SERIAL_PROTOCOL_F(LOGICAL_Y_POSITION(mesh_index_to_ypos(i)), 3);
1719
         SERIAL_PROTOCOL_F(LOGICAL_Y_POSITION(mesh_index_to_ypos(i)), 3);
1720
         SERIAL_PROTOCOLPGM("  ");
1720
         SERIAL_PROTOCOLPGM("  ");
1721
-        safe_delay(25);
1721
+        serial_delay(25);
1722
       }
1722
       }
1723
       SERIAL_EOL();
1723
       SERIAL_EOL();
1724
 
1724
 
1727
         SERIAL_PROTOCOLLNPAIR("  state:", READ(KILL_PIN));
1727
         SERIAL_PROTOCOLLNPAIR("  state:", READ(KILL_PIN));
1728
       #endif
1728
       #endif
1729
       SERIAL_EOL();
1729
       SERIAL_EOL();
1730
-      safe_delay(50);
1730
+      serial_delay(50);
1731
 
1731
 
1732
       #if ENABLED(UBL_DEVEL_DEBUGGING)
1732
       #if ENABLED(UBL_DEVEL_DEBUGGING)
1733
         SERIAL_PROTOCOLLNPAIR("ubl_state_at_invocation :", ubl_state_at_invocation); SERIAL_EOL();
1733
         SERIAL_PROTOCOLLNPAIR("ubl_state_at_invocation :", ubl_state_at_invocation); SERIAL_EOL();
1734
         SERIAL_PROTOCOLLNPAIR("ubl_state_recursion_chk :", ubl_state_recursion_chk); SERIAL_EOL();
1734
         SERIAL_PROTOCOLLNPAIR("ubl_state_recursion_chk :", ubl_state_recursion_chk); SERIAL_EOL();
1735
-        safe_delay(50);
1735
+        serial_delay(50);
1736
 
1736
 
1737
         SERIAL_PROTOCOLPAIR("Meshes go from ", hex_address((void*)settings.meshes_start_index()));
1737
         SERIAL_PROTOCOLPAIR("Meshes go from ", hex_address((void*)settings.meshes_start_index()));
1738
         SERIAL_PROTOCOLLNPAIR(" to ", hex_address((void*)settings.meshes_end_index()));
1738
         SERIAL_PROTOCOLLNPAIR(" to ", hex_address((void*)settings.meshes_end_index()));
1739
-        safe_delay(50);
1739
+        serial_delay(50);
1740
 
1740
 
1741
         SERIAL_PROTOCOLLNPAIR("sizeof(ubl) :  ", (int)sizeof(ubl));         SERIAL_EOL();
1741
         SERIAL_PROTOCOLLNPAIR("sizeof(ubl) :  ", (int)sizeof(ubl));         SERIAL_EOL();
1742
         SERIAL_PROTOCOLLNPAIR("z_value[][] size: ", (int)sizeof(z_values)); SERIAL_EOL();
1742
         SERIAL_PROTOCOLLNPAIR("z_value[][] size: ", (int)sizeof(z_values)); SERIAL_EOL();
1743
-        safe_delay(25);
1743
+        serial_delay(25);
1744
 
1744
 
1745
         SERIAL_PROTOCOLLNPAIR("EEPROM free for UBL: ", hex_address((void*)(settings.meshes_end_index() - settings.meshes_start_index())));
1745
         SERIAL_PROTOCOLLNPAIR("EEPROM free for UBL: ", hex_address((void*)(settings.meshes_end_index() - settings.meshes_start_index())));
1746
-        safe_delay(50);
1746
+        serial_delay(50);
1747
 
1747
 
1748
         SERIAL_PROTOCOLPAIR("EEPROM can hold ", settings.calc_num_meshes());
1748
         SERIAL_PROTOCOLPAIR("EEPROM can hold ", settings.calc_num_meshes());
1749
         SERIAL_PROTOCOLLNPGM(" meshes.\n");
1749
         SERIAL_PROTOCOLLNPGM(" meshes.\n");
1750
-        safe_delay(25);
1750
+        serial_delay(25);
1751
       #endif // UBL_DEVEL_DEBUGGING
1751
       #endif // UBL_DEVEL_DEBUGGING
1752
 
1752
 
1753
       if (!sanity_check()) {
1753
       if (!sanity_check()) {

+ 3
- 3
Marlin/src/gcode/calibrate/M100.cpp Datei anzeigen

117
         print_hex_byte(ptr[i]);
117
         print_hex_byte(ptr[i]);
118
         SERIAL_CHAR(' ');
118
         SERIAL_CHAR(' ');
119
       }
119
       }
120
-      safe_delay(25);
120
+      serial_delay(25);
121
       SERIAL_CHAR('|');                   // Point out non test bytes
121
       SERIAL_CHAR('|');                   // Point out non test bytes
122
       for (uint8_t i = 0; i < 16; i++) {
122
       for (uint8_t i = 0; i < 16; i++) {
123
         char ccc = (char)ptr[i]; // cast to char before automatically casting to char on assignment, in case the compiler is broken
123
         char ccc = (char)ptr[i]; // cast to char before automatically casting to char on assignment, in case the compiler is broken
131
       }
131
       }
132
       SERIAL_EOL();
132
       SERIAL_EOL();
133
       ptr += 16;
133
       ptr += 16;
134
-      safe_delay(25);
134
+      serial_delay(25);
135
       idle();
135
       idle();
136
     }
136
     }
137
   }
137
   }
170
     // safe_delay(20);                 // boards.
170
     // safe_delay(20);                 // boards.
171
     // while ( !READ(63))
171
     // while ( !READ(63))
172
     //   idle();
172
     //   idle();
173
-    safe_delay(20);
173
+    serial_delay(20);
174
     #if ENABLED(M100_FREE_MEMORY_DUMPER)
174
     #if ENABLED(M100_FREE_MEMORY_DUMPER)
175
       M100_dump_routine(PSTR("   Memory corruption detected with sp<Heap\n"), (char*)0x1B80, (char*)0x21FF);
175
       M100_dump_routine(PSTR("   Memory corruption detected with sp<Heap\n"), (char*)0x1B80, (char*)0x21FF);
176
     #endif
176
     #endif

Laden…
Abbrechen
Speichern