Skip to content

Commit aa80cb0

Browse files
authored
🔧 Direct Stepping sanity checks (#27522)
1 parent 4b6109f commit aa80cb0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Marlin/src/inc/SanityCheck.h

+11
Original file line numberDiff line numberDiff line change
@@ -4329,6 +4329,17 @@ static_assert(_PLUS_TEST(3), "DEFAULT_MAX_ACCELERATION values must be positive."
43294329
#error "SDSUPPORT, BINARY_FILE_TRANSFER, and CUSTOM_FIRMWARE_UPLOAD are required for custom upload."
43304330
#endif
43314331

4332+
/**
4333+
* Direct Stepping requirements
4334+
*/
4335+
#if ENABLED(DIRECT_STEPPING)
4336+
#if ENABLED(CPU_32_BIT)
4337+
#error "Direct Stepping is not supported on 32-bit boards."
4338+
#elif !IS_FULL_CARTESIAN
4339+
#error "Direct Stepping is incompatible with enabled kinematics."
4340+
#endif
4341+
#endif
4342+
43324343
/**
43334344
* Input Shaping requirements
43344345
*/

0 commit comments

Comments
 (0)