G6 Direct Stepping (#17853)
This commit is contained in:
@ -323,6 +323,18 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(DIRECT_STEPPING)
|
||||
#ifndef STEPPER_PAGES
|
||||
#define STEPPER_PAGES 16
|
||||
#endif
|
||||
#ifndef STEPPER_PAGE_FORMAT
|
||||
#define STEPPER_PAGE_FORMAT SP_4x2_256
|
||||
#endif
|
||||
#ifndef PAGE_MANAGER
|
||||
#define PAGE_MANAGER SerialPageManager
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// SD Card connection methods
|
||||
// Defined here so pins and sanity checks can use them
|
||||
|
@ -2923,3 +2923,12 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
||||
#if SAVED_POSITIONS > 256
|
||||
#error "SAVED_POSITIONS must be an integer from 0 to 256."
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Sanity checks for stepper chunk support
|
||||
*/
|
||||
#if ENABLED(DIRECT_STEPPING)
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
#error "DIRECT_STEPPING is incompatible with LIN_ADVANCE. Enable in external planner if possible."
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user