Skip to content

Commit

Permalink
🔧 Direct Stepping sanity checks (MarlinFirmware#27522)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored Nov 12, 2024
1 parent 4b6109f commit aa80cb0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Marlin/src/inc/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit aa80cb0

Please sign in to comment.