G6 Direct Stepping (#17853)
This commit is contained in:
@ -1663,6 +1663,16 @@
|
||||
// Support for G5 with XYZE destination and IJPQ offsets. Requires ~2666 bytes.
|
||||
//#define BEZIER_CURVE_SUPPORT
|
||||
|
||||
/**
|
||||
* Direct Stepping
|
||||
*
|
||||
* Comparable to the method used by Klipper, G6 direct stepping significantly
|
||||
* reduces motion calculations, increases top printing speeds, and results in
|
||||
* less step aliasing by calculating all motions in advance.
|
||||
* Preparing your G-code: https://github.com/colinrgodsey/step-daemon
|
||||
*/
|
||||
//#define DIRECT_STEPPING
|
||||
|
||||
/**
|
||||
* G38 Probe Target
|
||||
*
|
||||
@ -1731,14 +1741,16 @@
|
||||
//================================= Buffers =================================
|
||||
//===========================================================================
|
||||
|
||||
// @section hidden
|
||||
// @section motion
|
||||
|
||||
// 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.
|
||||
#if ENABLED(SDSUPPORT)
|
||||
#define BLOCK_BUFFER_SIZE 16 // SD,LCD,Buttons take more memory, block buffer needs to be smaller
|
||||
// The number of lineear moves that can be in the planner at once.
|
||||
// The value of BLOCK_BUFFER_SIZE must be a power of 2 (e.g. 8, 16, 32)
|
||||
#if BOTH(SDSUPPORT, DIRECT_STEPPING)
|
||||
#define BLOCK_BUFFER_SIZE 8
|
||||
#elif ENABLED(SDSUPPORT)
|
||||
#define BLOCK_BUFFER_SIZE 16
|
||||
#else
|
||||
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
|
||||
#define BLOCK_BUFFER_SIZE 16
|
||||
#endif
|
||||
|
||||
// @section serial
|
||||
|
Reference in New Issue
Block a user