Browse Source

Add XON/XOFF options to example configs

Scott Lahteine 8 years ago
parent
commit
af15383578
66 changed files with 741 additions and 66 deletions
  1. 2
    1
      Marlin/src/config/default/Configuration.h
  2. 23
    1
      Marlin/src/config/default/Configuration_adv.h
  3. 2
    1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  4. 23
    1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  5. 2
    1
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  6. 2
    1
      Marlin/src/config/examples/Anet/A6/Configuration.h
  7. 23
    1
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  8. 2
    1
      Marlin/src/config/examples/Anet/A8/Configuration.h
  9. 23
    1
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  10. 2
    1
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  11. 23
    1
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  12. 2
    1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  13. 23
    1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  14. 2
    1
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  15. 23
    1
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  16. 2
    1
      Marlin/src/config/examples/Cartesio/Configuration.h
  17. 23
    1
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  18. 2
    1
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  19. 23
    1
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  20. 2
    1
      Marlin/src/config/examples/Felix/Configuration.h
  21. 23
    1
      Marlin/src/config/examples/Felix/Configuration_adv.h
  22. 2
    1
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  23. 2
    1
      Marlin/src/config/examples/Folger Tech/i3-2020/Configuration.h
  24. 23
    1
      Marlin/src/config/examples/Folger Tech/i3-2020/Configuration_adv.h
  25. 2
    1
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  26. 2
    1
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  27. 2
    1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  28. 23
    1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  29. 2
    1
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  30. 23
    1
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  31. 2
    1
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  32. 2
    1
      Marlin/src/config/examples/RigidBot/Configuration.h
  33. 23
    1
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  34. 2
    1
      Marlin/src/config/examples/SCARA/Configuration.h
  35. 23
    1
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  36. 2
    1
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  37. 23
    1
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  38. 2
    1
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  39. 23
    1
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  40. 2
    1
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  41. 23
    1
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  42. 2
    1
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  43. 23
    1
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  44. 2
    1
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  45. 2
    1
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  46. 2
    1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  47. 23
    1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  48. 2
    1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  49. 23
    1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  50. 2
    1
      Marlin/src/config/examples/delta/generic/Configuration.h
  51. 23
    1
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  52. 2
    1
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  53. 23
    1
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  54. 2
    1
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  55. 23
    1
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  56. 2
    1
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  57. 23
    1
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  58. 2
    1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  59. 23
    1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  60. 2
    1
      Marlin/src/config/examples/makibox/Configuration.h
  61. 23
    1
      Marlin/src/config/examples/makibox/Configuration_adv.h
  62. 2
    1
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  63. 2
    1
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  64. 23
    1
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  65. 2
    1
      Marlin/src/config/examples/wt150/Configuration.h
  66. 23
    1
      Marlin/src/config/examples/wt150/Configuration_adv.h

+ 2
- 1
Marlin/src/config/default/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/default/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 2
- 1
Marlin/src/config/examples/Anet/A6/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Anet/A8/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/BQ/Hephestos/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h View File

@@ -107,8 +107,9 @@
107 107
  *
108 108
  * 250000 works in most cases, but you might try a lower speed if
109 109
  * you commonly experience drop-outs during host printing.
110
+ * You may try up to 1000000 to speed up SD file transfer.
110 111
  *
111
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
112
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
112 113
  */
113 114
 #define BAUDRATE 115200
114 115
 

+ 23
- 1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 32
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/BQ/WITBOX/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Cartesio/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Creality/CR-10/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -744,7 +744,7 @@
744 744
 #define MAX_CMD_SIZE 96
745 745
 #define BUFSIZE 4
746 746
 
747
-// Transfer Buffer Size
747
+// Transmission to Host Buffer Size
748 748
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
749 749
 // To buffer a simple "ok" you need 4 bytes.
750 750
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -753,6 +753,28 @@
753 753
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
754 754
 #define TX_BUFFER_SIZE 0
755 755
 
756
+// Host Receive Buffer Size
757
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
758
+// To use flow control, set this buffer size to at least 1024 bytes.
759
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
760
+//#define RX_BUFFER_SIZE 1024
761
+
762
+#if RX_BUFFER_SIZE >= 1024
763
+  // Enable to have the controller send XON/XOFF control characters to
764
+  // the host to signal the RX buffer is becoming full.
765
+  //#define SERIAL_XON_XOFF
766
+#endif
767
+
768
+#if ENABLED(SDSUPPORT)
769
+  // Enable this option to collect and display the maximum
770
+  // RX queue usage after transferring a file to SD.
771
+  //#define SERIAL_STATS_MAX_RX_QUEUED
772
+
773
+  // Enable this option to collect and display the number
774
+  // of dropped bytes after a file transfer to SD.
775
+  //#define SERIAL_STATS_DROPPED_RX
776
+#endif
777
+
756 778
 // Enable an emergency-command parser to intercept certain commands as they
757 779
 // enter the serial receive buffer, so they cannot be blocked.
758 780
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Felix/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Felix/DUAL/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 2
- 1
Marlin/src/config/examples/Folger Tech/i3-2020/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/Folger Tech/i3-2020/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 2
- 1
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 2
- 1
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Malyan/M150/Configuration.h View File

@@ -113,8 +113,9 @@
113 113
  *
114 114
  * 250000 works in most cases, but you might try a lower speed if
115 115
  * you commonly experience drop-outs during host printing.
116
+ * You may try up to 1000000 to speed up SD file transfer.
116 117
  *
117
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
118
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
118 119
  */
119 120
 #define BAUDRATE 115200
120 121
 

+ 23
- 1
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 2
- 1
Marlin/src/config/examples/RigidBot/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 8
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/SCARA/Configuration.h View File

@@ -138,8 +138,9 @@
138 138
  *
139 139
  * 250000 works in most cases, but you might try a lower speed if
140 140
  * you commonly experience drop-outs during host printing.
141
+ * You may try up to 1000000 to speed up SD file transfer.
141 142
  *
142
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
143
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
143 144
  */
144 145
 #define BAUDRATE 250000
145 146
 

+ 23
- 1
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Sanguinololu/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -740,7 +740,7 @@
740 740
 #define MAX_CMD_SIZE 96
741 741
 #define BUFSIZE 4
742 742
 
743
-// Transfer Buffer Size
743
+// Transmission to Host Buffer Size
744 744
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
745 745
 // To buffer a simple "ok" you need 4 bytes.
746 746
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -749,6 +749,28 @@
749 749
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
750 750
 #define TX_BUFFER_SIZE 0
751 751
 
752
+// Host Receive Buffer Size
753
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
754
+// To use flow control, set this buffer size to at least 1024 bytes.
755
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
756
+//#define RX_BUFFER_SIZE 1024
757
+
758
+#if RX_BUFFER_SIZE >= 1024
759
+  // Enable to have the controller send XON/XOFF control characters to
760
+  // the host to signal the RX buffer is becoming full.
761
+  //#define SERIAL_XON_XOFF
762
+#endif
763
+
764
+#if ENABLED(SDSUPPORT)
765
+  // Enable this option to collect and display the maximum
766
+  // RX queue usage after transferring a file to SD.
767
+  //#define SERIAL_STATS_MAX_RX_QUEUED
768
+
769
+  // Enable this option to collect and display the number
770
+  // of dropped bytes after a file transfer to SD.
771
+  //#define SERIAL_STATS_DROPPED_RX
772
+#endif
773
+
752 774
 // Enable an emergency-command parser to intercept certain commands as they
753 775
 // enter the serial receive buffer, so they cannot be blocked.
754 776
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/TinyBoy2/Configuration.h View File

@@ -124,8 +124,9 @@
124 124
  *
125 125
  * 250000 works in most cases, but you might try a lower speed if
126 126
  * you commonly experience drop-outs during host printing.
127
+ * You may try up to 1000000 to speed up SD file transfer.
127 128
  *
128
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
129
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
129 130
  */
130 131
 #define BAUDRATE 115200
131 132
 

+ 23
- 1
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 64
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Velleman/K8200/Configuration.h View File

@@ -124,8 +124,9 @@
124 124
  *
125 125
  * 250000 works in most cases, but you might try a lower speed if
126 126
  * you commonly experience drop-outs during host printing.
127
+ * You may try up to 1000000 to speed up SD file transfer.
127 128
  *
128
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
129
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
129 130
  */
130 131
 #define BAUDRATE 250000
131 132
 

+ 23
- 1
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -764,7 +764,7 @@
764 764
 #define MAX_CMD_SIZE 96
765 765
 #define BUFSIZE 4
766 766
 
767
-// Transfer Buffer Size
767
+// Transmission to Host Buffer Size
768 768
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
769 769
 // To buffer a simple "ok" you need 4 bytes.
770 770
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -773,6 +773,28 @@
773 773
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
774 774
 #define TX_BUFFER_SIZE 128
775 775
 
776
+// Host Receive Buffer Size
777
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
778
+// To use flow control, set this buffer size to at least 1024 bytes.
779
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
780
+//#define RX_BUFFER_SIZE 1024
781
+
782
+#if RX_BUFFER_SIZE >= 1024
783
+  // Enable to have the controller send XON/XOFF control characters to
784
+  // the host to signal the RX buffer is becoming full.
785
+  //#define SERIAL_XON_XOFF
786
+#endif
787
+
788
+#if ENABLED(SDSUPPORT)
789
+  // Enable this option to collect and display the maximum
790
+  // RX queue usage after transferring a file to SD.
791
+  //#define SERIAL_STATS_MAX_RX_QUEUED
792
+
793
+  // Enable this option to collect and display the number
794
+  // of dropped bytes after a file transfer to SD.
795
+  //#define SERIAL_STATS_DROPPED_RX
796
+#endif
797
+
776 798
 // Enable an emergency-command parser to intercept certain commands as they
777 799
 // enter the serial receive buffer, so they cannot be blocked.
778 800
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Velleman/K8400/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 26
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 2
- 1
Marlin/src/config/examples/adafruit/ST7565/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 2
- 1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -753,7 +753,7 @@
753 753
 #define MAX_CMD_SIZE 96
754 754
 #define BUFSIZE 4
755 755
 
756
-// Transfer Buffer Size
756
+// Transmission to Host Buffer Size
757 757
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
758 758
 // To buffer a simple "ok" you need 4 bytes.
759 759
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -762,6 +762,28 @@
762 762
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
763 763
 #define TX_BUFFER_SIZE 0
764 764
 
765
+// Host Receive Buffer Size
766
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
767
+// To use flow control, set this buffer size to at least 1024 bytes.
768
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
769
+//#define RX_BUFFER_SIZE 1024
770
+
771
+#if RX_BUFFER_SIZE >= 1024
772
+  // Enable to have the controller send XON/XOFF control characters to
773
+  // the host to signal the RX buffer is becoming full.
774
+  //#define SERIAL_XON_XOFF
775
+#endif
776
+
777
+#if ENABLED(SDSUPPORT)
778
+  // Enable this option to collect and display the maximum
779
+  // RX queue usage after transferring a file to SD.
780
+  //#define SERIAL_STATS_MAX_RX_QUEUED
781
+
782
+  // Enable this option to collect and display the number
783
+  // of dropped bytes after a file transfer to SD.
784
+  //#define SERIAL_STATS_DROPPED_RX
785
+#endif
786
+
765 787
 // Enable an emergency-command parser to intercept certain commands as they
766 788
 // enter the serial receive buffer, so they cannot be blocked.
767 789
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -753,7 +753,7 @@
753 753
 #define MAX_CMD_SIZE 96
754 754
 #define BUFSIZE 4
755 755
 
756
-// Transfer Buffer Size
756
+// Transmission to Host Buffer Size
757 757
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
758 758
 // To buffer a simple "ok" you need 4 bytes.
759 759
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -762,6 +762,28 @@
762 762
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
763 763
 #define TX_BUFFER_SIZE 0
764 764
 
765
+// Host Receive Buffer Size
766
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
767
+// To use flow control, set this buffer size to at least 1024 bytes.
768
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
769
+//#define RX_BUFFER_SIZE 1024
770
+
771
+#if RX_BUFFER_SIZE >= 1024
772
+  // Enable to have the controller send XON/XOFF control characters to
773
+  // the host to signal the RX buffer is becoming full.
774
+  //#define SERIAL_XON_XOFF
775
+#endif
776
+
777
+#if ENABLED(SDSUPPORT)
778
+  // Enable this option to collect and display the maximum
779
+  // RX queue usage after transferring a file to SD.
780
+  //#define SERIAL_STATS_MAX_RX_QUEUED
781
+
782
+  // Enable this option to collect and display the number
783
+  // of dropped bytes after a file transfer to SD.
784
+  //#define SERIAL_STATS_DROPPED_RX
785
+#endif
786
+
765 787
 // Enable an emergency-command parser to intercept certain commands as they
766 788
 // enter the serial receive buffer, so they cannot be blocked.
767 789
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/delta/generic/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -753,7 +753,7 @@
753 753
 #define MAX_CMD_SIZE 96
754 754
 #define BUFSIZE 4
755 755
 
756
-// Transfer Buffer Size
756
+// Transmission to Host Buffer Size
757 757
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
758 758
 // To buffer a simple "ok" you need 4 bytes.
759 759
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -762,6 +762,28 @@
762 762
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
763 763
 #define TX_BUFFER_SIZE 0
764 764
 
765
+// Host Receive Buffer Size
766
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
767
+// To use flow control, set this buffer size to at least 1024 bytes.
768
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
769
+//#define RX_BUFFER_SIZE 1024
770
+
771
+#if RX_BUFFER_SIZE >= 1024
772
+  // Enable to have the controller send XON/XOFF control characters to
773
+  // the host to signal the RX buffer is becoming full.
774
+  //#define SERIAL_XON_XOFF
775
+#endif
776
+
777
+#if ENABLED(SDSUPPORT)
778
+  // Enable this option to collect and display the maximum
779
+  // RX queue usage after transferring a file to SD.
780
+  //#define SERIAL_STATS_MAX_RX_QUEUED
781
+
782
+  // Enable this option to collect and display the number
783
+  // of dropped bytes after a file transfer to SD.
784
+  //#define SERIAL_STATS_DROPPED_RX
785
+#endif
786
+
765 787
 // Enable an emergency-command parser to intercept certain commands as they
766 788
 // enter the serial receive buffer, so they cannot be blocked.
767 789
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/delta/kossel_mini/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -753,7 +753,7 @@
753 753
 #define MAX_CMD_SIZE 96
754 754
 #define BUFSIZE 4
755 755
 
756
-// Transfer Buffer Size
756
+// Transmission to Host Buffer Size
757 757
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
758 758
 // To buffer a simple "ok" you need 4 bytes.
759 759
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -762,6 +762,28 @@
762 762
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
763 763
 #define TX_BUFFER_SIZE 0
764 764
 
765
+// Host Receive Buffer Size
766
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
767
+// To use flow control, set this buffer size to at least 1024 bytes.
768
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
769
+//#define RX_BUFFER_SIZE 1024
770
+
771
+#if RX_BUFFER_SIZE >= 1024
772
+  // Enable to have the controller send XON/XOFF control characters to
773
+  // the host to signal the RX buffer is becoming full.
774
+  //#define SERIAL_XON_XOFF
775
+#endif
776
+
777
+#if ENABLED(SDSUPPORT)
778
+  // Enable this option to collect and display the maximum
779
+  // RX queue usage after transferring a file to SD.
780
+  //#define SERIAL_STATS_MAX_RX_QUEUED
781
+
782
+  // Enable this option to collect and display the number
783
+  // of dropped bytes after a file transfer to SD.
784
+  //#define SERIAL_STATS_DROPPED_RX
785
+#endif
786
+
765 787
 // Enable an emergency-command parser to intercept certain commands as they
766 788
 // enter the serial receive buffer, so they cannot be blocked.
767 789
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/delta/kossel_pro/Configuration.h View File

@@ -112,8 +112,9 @@
112 112
  *
113 113
  * 250000 works in most cases, but you might try a lower speed if
114 114
  * you commonly experience drop-outs during host printing.
115
+ * You may try up to 1000000 to speed up SD file transfer.
115 116
  *
116
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
117
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
117 118
  */
118 119
 #define BAUDRATE 115200
119 120
 

+ 23
- 1
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h View File

@@ -758,7 +758,7 @@
758 758
 #define MAX_CMD_SIZE 96
759 759
 #define BUFSIZE 4
760 760
 
761
-// Transfer Buffer Size
761
+// Transmission to Host Buffer Size
762 762
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
763 763
 // To buffer a simple "ok" you need 4 bytes.
764 764
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -767,6 +767,28 @@
767 767
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
768 768
 #define TX_BUFFER_SIZE 0
769 769
 
770
+// Host Receive Buffer Size
771
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
772
+// To use flow control, set this buffer size to at least 1024 bytes.
773
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
774
+//#define RX_BUFFER_SIZE 1024
775
+
776
+#if RX_BUFFER_SIZE >= 1024
777
+  // Enable to have the controller send XON/XOFF control characters to
778
+  // the host to signal the RX buffer is becoming full.
779
+  //#define SERIAL_XON_XOFF
780
+#endif
781
+
782
+#if ENABLED(SDSUPPORT)
783
+  // Enable this option to collect and display the maximum
784
+  // RX queue usage after transferring a file to SD.
785
+  //#define SERIAL_STATS_MAX_RX_QUEUED
786
+
787
+  // Enable this option to collect and display the number
788
+  // of dropped bytes after a file transfer to SD.
789
+  //#define SERIAL_STATS_DROPPED_RX
790
+#endif
791
+
770 792
 // Enable an emergency-command parser to intercept certain commands as they
771 793
 // enter the serial receive buffer, so they cannot be blocked.
772 794
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/delta/kossel_xl/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -753,7 +753,7 @@
753 753
 #define MAX_CMD_SIZE 96
754 754
 #define BUFSIZE 4
755 755
 
756
-// Transfer Buffer Size
756
+// Transmission to Host Buffer Size
757 757
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
758 758
 // To buffer a simple "ok" you need 4 bytes.
759 759
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -762,6 +762,28 @@
762 762
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
763 763
 #define TX_BUFFER_SIZE 0
764 764
 
765
+// Host Receive Buffer Size
766
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
767
+// To use flow control, set this buffer size to at least 1024 bytes.
768
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
769
+//#define RX_BUFFER_SIZE 1024
770
+
771
+#if RX_BUFFER_SIZE >= 1024
772
+  // Enable to have the controller send XON/XOFF control characters to
773
+  // the host to signal the RX buffer is becoming full.
774
+  //#define SERIAL_XON_XOFF
775
+#endif
776
+
777
+#if ENABLED(SDSUPPORT)
778
+  // Enable this option to collect and display the maximum
779
+  // RX queue usage after transferring a file to SD.
780
+  //#define SERIAL_STATS_MAX_RX_QUEUED
781
+
782
+  // Enable this option to collect and display the number
783
+  // of dropped bytes after a file transfer to SD.
784
+  //#define SERIAL_STATS_DROPPED_RX
785
+#endif
786
+
765 787
 // Enable an emergency-command parser to intercept certain commands as they
766 788
 // enter the serial receive buffer, so they cannot be blocked.
767 789
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 32
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/makibox/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/stm32f103ret6/Configuration.h View File

@@ -107,8 +107,9 @@
107 107
  *
108 108
  * 250000 works in most cases, but you might try a lower speed if
109 109
  * you commonly experience drop-outs during host printing.
110
+ * You may try up to 1000000 to speed up SD file transfer.
110 111
  *
111
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
112
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
112 113
  */
113 114
 #define BAUDRATE 250000
114 115
 

+ 2
- 1
Marlin/src/config/examples/tvrrug/Round2/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 250000
115 116
 

+ 23
- 1
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

+ 2
- 1
Marlin/src/config/examples/wt150/Configuration.h View File

@@ -108,8 +108,9 @@
108 108
  *
109 109
  * 250000 works in most cases, but you might try a lower speed if
110 110
  * you commonly experience drop-outs during host printing.
111
+ * You may try up to 1000000 to speed up SD file transfer.
111 112
  *
112
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000]
113
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
113 114
  */
114 115
 #define BAUDRATE 115200
115 116
 

+ 23
- 1
Marlin/src/config/examples/wt150/Configuration_adv.h View File

@@ -751,7 +751,7 @@
751 751
 #define MAX_CMD_SIZE 96
752 752
 #define BUFSIZE 4
753 753
 
754
-// Transfer Buffer Size
754
+// Transmission to Host Buffer Size
755 755
 // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
756 756
 // To buffer a simple "ok" you need 4 bytes.
757 757
 // For ADVANCED_OK (M105) you need 32 bytes.
@@ -760,6 +760,28 @@
760 760
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
761 761
 #define TX_BUFFER_SIZE 0
762 762
 
763
+// Host Receive Buffer Size
764
+// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
765
+// To use flow control, set this buffer size to at least 1024 bytes.
766
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
767
+//#define RX_BUFFER_SIZE 1024
768
+
769
+#if RX_BUFFER_SIZE >= 1024
770
+  // Enable to have the controller send XON/XOFF control characters to
771
+  // the host to signal the RX buffer is becoming full.
772
+  //#define SERIAL_XON_XOFF
773
+#endif
774
+
775
+#if ENABLED(SDSUPPORT)
776
+  // Enable this option to collect and display the maximum
777
+  // RX queue usage after transferring a file to SD.
778
+  //#define SERIAL_STATS_MAX_RX_QUEUED
779
+
780
+  // Enable this option to collect and display the number
781
+  // of dropped bytes after a file transfer to SD.
782
+  //#define SERIAL_STATS_DROPPED_RX
783
+#endif
784
+
763 785
 // Enable an emergency-command parser to intercept certain commands as they
764 786
 // enter the serial receive buffer, so they cannot be blocked.
765 787
 // Currently handles M108, M112, M410

Loading…
Cancel
Save