mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-27 11:27:15 +00:00
🔧 Direct Stepping sanity checks (#27522)
This commit is contained in:
parent
4b6109f4e7
commit
aa80cb0620
1 changed files with 11 additions and 0 deletions
|
@ -4329,6 +4329,17 @@ static_assert(_PLUS_TEST(3), "DEFAULT_MAX_ACCELERATION values must be positive."
|
|||
#error "SDSUPPORT, BINARY_FILE_TRANSFER, and CUSTOM_FIRMWARE_UPLOAD are required for custom upload."
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Direct Stepping requirements
|
||||
*/
|
||||
#if ENABLED(DIRECT_STEPPING)
|
||||
#if ENABLED(CPU_32_BIT)
|
||||
#error "Direct Stepping is not supported on 32-bit boards."
|
||||
#elif !IS_FULL_CARTESIAN
|
||||
#error "Direct Stepping is incompatible with enabled kinematics."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Input Shaping requirements
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue