|
|
@ -1150,7 +1150,7 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
|
|
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
//#define SDCARD_CONNECTION LCD
|
|
|
|
#define SDCARD_CONNECTION ONBOARD
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif // SDSUPPORT
|
|
|
|
#endif // SDSUPPORT
|
|
|
@ -1573,16 +1573,16 @@
|
|
|
|
// The number of linear motions that can be in the plan at any give time.
|
|
|
|
// The number of linear motions that can be in the plan at any give time.
|
|
|
|
// THE BLOCK_BUFFER_SIZE NEEDS TO BE A POWER OF 2 (e.g. 8, 16, 32) because shifts and ors are used to do the ring-buffering.
|
|
|
|
// THE BLOCK_BUFFER_SIZE NEEDS TO BE A POWER OF 2 (e.g. 8, 16, 32) because shifts and ors are used to do the ring-buffering.
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
#define BLOCK_BUFFER_SIZE 16 // SD,LCD,Buttons take more memory, block buffer needs to be smaller
|
|
|
|
#define BLOCK_BUFFER_SIZE 32 // SD,LCD,Buttons take more memory, block buffer needs to be smaller
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
|
|
|
#define BLOCK_BUFFER_SIZE 32 // maximize block buffer
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// @section serial
|
|
|
|
// @section serial
|
|
|
|
|
|
|
|
|
|
|
|
// The ASCII buffer for serial input
|
|
|
|
// The ASCII buffer for serial input
|
|
|
|
#define MAX_CMD_SIZE 96
|
|
|
|
#define MAX_CMD_SIZE 96
|
|
|
|
#define BUFSIZE 4
|
|
|
|
#define BUFSIZE 32
|
|
|
|
|
|
|
|
|
|
|
|
// Transmission to Host Buffer Size
|
|
|
|
// Transmission to Host Buffer Size
|
|
|
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
|
|
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
|
|
@ -1591,7 +1591,7 @@
|
|
|
|
// For debug-echo: 128 bytes for the optimal speed.
|
|
|
|
// For debug-echo: 128 bytes for the optimal speed.
|
|
|
|
// Other output doesn't need to be that speedy.
|
|
|
|
// Other output doesn't need to be that speedy.
|
|
|
|
// :[0, 2, 4, 8, 16, 32, 64, 128, 256]
|
|
|
|
// :[0, 2, 4, 8, 16, 32, 64, 128, 256]
|
|
|
|
#define TX_BUFFER_SIZE 0
|
|
|
|
#define TX_BUFFER_SIZE 32
|
|
|
|
|
|
|
|
|
|
|
|
// Host Receive Buffer Size
|
|
|
|
// Host Receive Buffer Size
|
|
|
|
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
|
|
|
|
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
|
|
|
|