Browse Source

Adding XON/XOFF and STATISTICS configuration settings and proper documentation on their usage for serial port

etagle 6 years ago
parent
commit
9e147e9ac4
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      Marlin/Configuration_adv.h

+ 12
- 0
Marlin/Configuration_adv.h View File

@@ -747,6 +747,18 @@
747 747
 // :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
748 748
 #define RX_BUFFER_SIZE 1024
749 749
 
750
+// This setting determines if the printer will send the XON/XOFF
751
+// control characters to the host to signal RX buffer is becoming full
752
+#define SERIAL_XON_XOFF 1
753
+
754
+// This setting determines if you want to display and collect
755
+// maximum RX queue usage after transferring a file to the SD
756
+//#define SERIAL_STATS_MAX_RX_QUEUED 1
757
+
758
+// This setting determines if you want to display and collect
759
+// the number of dropped bytes after a file transfer to the SD
760
+#define SERIAL_STATS_DROPPED_RX 1
761
+
750 762
 // Enable an emergency-command parser to intercept certain commands as they
751 763
 // enter the serial receive buffer, so they cannot be blocked.
752 764
 // Currently handles M108, M112, M410

Loading…
Cancel
Save