Merge pull request #4409 from thinkyhead/rc_cleanup_comment
Clean up Transfer Buffer Size comment
This commit is contained in:
commit
42eebcd518
18 changed files with 126 additions and 72 deletions
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -565,10 +565,13 @@ const unsigned int dropsegments = 2; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 26
|
#define BUFSIZE 26
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 8
|
#define BUFSIZE 8
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -567,10 +567,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -561,10 +561,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -561,10 +561,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -560,10 +560,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -565,10 +565,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -561,10 +561,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
||||||
#define MAX_CMD_SIZE 96
|
#define MAX_CMD_SIZE 96
|
||||||
#define BUFSIZE 4
|
#define BUFSIZE 4
|
||||||
|
|
||||||
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
// Transfer Buffer Size
|
||||||
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
||||||
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
// To buffer a simple "ok" you need 4 bytes.
|
||||||
// Any other output does not need to be that speedy.
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
||||||
|
// For debug-echo: 128 bytes for the optimal speed.
|
||||||
|
// Other output doesn't need to be that speedy.
|
||||||
|
// :[0,2,4,8,16,32,64,128,256]
|
||||||
#define TX_BUFFER_SIZE 0
|
#define TX_BUFFER_SIZE 0
|
||||||
|
|
||||||
// Enable an emergency-command parser to intercept certain commands as they
|
// Enable an emergency-command parser to intercept certain commands as they
|
||||||
|
|
Reference in a new issue