0
0
Fork 0
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:
Keith Bennett 2024-11-12 15:17:49 -08:00 committed by GitHub
parent 4b6109f4e7
commit aa80cb0620
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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." #error "SDSUPPORT, BINARY_FILE_TRANSFER, and CUSTOM_FIRMWARE_UPLOAD are required for custom upload."
#endif #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 * Input Shaping requirements
*/ */