|
@@ -731,7 +731,7 @@
|
731
|
731
|
#define MAX_CMD_SIZE 96
|
732
|
732
|
#define BUFSIZE 4
|
733
|
733
|
|
734
|
|
-// Transfer Buffer Size
|
|
734
|
+// Transmission to Host Buffer Size
|
735
|
735
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
736
|
736
|
// To buffer a simple "ok" you need 4 bytes.
|
737
|
737
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
|
@@ -740,6 +740,13 @@
|
740
|
740
|
// :[0, 2, 4, 8, 16, 32, 64, 128, 256]
|
741
|
741
|
#define TX_BUFFER_SIZE 0
|
742
|
742
|
|
|
743
|
+// Reception from Host Buffer Size
|
|
744
|
+// This is the size of the Reception buffer. If XON/XOFF software flow control
|
|
745
|
+// is not enabled, then 32 bytes should be enough. But if you plan to use XON/XOFF
|
|
746
|
+// you need 1024 bytes at least.
|
|
747
|
+// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
|
|
748
|
+#define RX_BUFFER_SIZE 1024
|
|
749
|
+
|
743
|
750
|
// Enable an emergency-command parser to intercept certain commands as they
|
744
|
751
|
// enter the serial receive buffer, so they cannot be blocked.
|
745
|
752
|
// Currently handles M108, M112, M410
|