|
@ -755,19 +755,7 @@ |
|
|
#define GRID_LOOP(A,B) LOOP_L_N(A, GRID_MAX_POINTS_X) LOOP_L_N(B, GRID_MAX_POINTS_Y) |
|
|
#define GRID_LOOP(A,B) LOOP_L_N(A, GRID_MAX_POINTS_X) LOOP_L_N(B, GRID_MAX_POINTS_Y) |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#ifndef INVERT_X_DIR |
|
|
// Slim menu optimizations
|
|
|
#define INVERT_X_DIR false |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef INVERT_Y_DIR |
|
|
|
|
|
#define INVERT_Y_DIR false |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef INVERT_Z_DIR |
|
|
|
|
|
#define INVERT_Z_DIR false |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef INVERT_E_DIR |
|
|
|
|
|
#define INVERT_E_DIR false |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SLIM_LCD_MENUS) |
|
|
#if ENABLED(SLIM_LCD_MENUS) |
|
|
#define BOOT_MARLIN_LOGO_SMALL |
|
|
#define BOOT_MARLIN_LOGO_SMALL |
|
|
#endif |
|
|
#endif |
|
@ -786,14 +774,105 @@ |
|
|
#define HAS_CLASSIC_E_JERK 1 |
|
|
#define HAS_CLASSIC_E_JERK 1 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#ifndef SPI_SPEED |
|
|
|
|
|
#define SPI_SPEED SPI_FULL_SPEED |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if SERIAL_PORT == -1 || SERIAL_PORT_2 == -1 |
|
|
#if SERIAL_PORT == -1 || SERIAL_PORT_2 == -1 |
|
|
#define HAS_USB_SERIAL 1 |
|
|
#define HAS_USB_SERIAL 1 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// Fallback Stepper Driver types
|
|
|
|
|
|
#ifndef X_DRIVER_TYPE |
|
|
|
|
|
#define X_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef Y_DRIVER_TYPE |
|
|
|
|
|
#define Y_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef Z_DRIVER_TYPE |
|
|
|
|
|
#define Z_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if NONE(DUAL_X_CARRIAGE, X_DUAL_STEPPER_DRIVERS) |
|
|
|
|
|
#undef X2_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(X2_DRIVER_TYPE) |
|
|
|
|
|
#define X2_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if DISABLED(Y_DUAL_STEPPER_DRIVERS) |
|
|
|
|
|
#undef Y2_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(Y2_DRIVER_TYPE) |
|
|
|
|
|
#define Y2_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if NUM_Z_STEPPER_DRIVERS < 2 |
|
|
|
|
|
#undef Z2_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(Z2_DRIVER_TYPE) |
|
|
|
|
|
#define Z2_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if NUM_Z_STEPPER_DRIVERS < 3 |
|
|
|
|
|
#undef Z3_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(Z3_DRIVER_TYPE) |
|
|
|
|
|
#define Z3_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if NUM_Z_STEPPER_DRIVERS < 4 |
|
|
|
|
|
#undef Z4_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(Z4_DRIVER_TYPE) |
|
|
|
|
|
#define Z4_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if E_STEPPERS < 1 |
|
|
|
|
|
#undef E0_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(E0_DRIVER_TYPE) |
|
|
|
|
|
#define E0_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if E_STEPPERS < 2 |
|
|
|
|
|
#undef E1_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(E1_DRIVER_TYPE) |
|
|
|
|
|
#define E1_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if E_STEPPERS < 3 |
|
|
|
|
|
#undef E2_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(E2_DRIVER_TYPE) |
|
|
|
|
|
#define E2_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if E_STEPPERS < 4 |
|
|
|
|
|
#undef E3_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(E3_DRIVER_TYPE) |
|
|
|
|
|
#define E3_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if E_STEPPERS < 5 |
|
|
|
|
|
#undef E4_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(E4_DRIVER_TYPE) |
|
|
|
|
|
#define E4_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if E_STEPPERS < 6 |
|
|
|
|
|
#undef E5_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(E5_DRIVER_TYPE) |
|
|
|
|
|
#define E5_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if E_STEPPERS < 7 |
|
|
|
|
|
#undef E6_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(E6_DRIVER_TYPE) |
|
|
|
|
|
#define E6_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
#if E_STEPPERS < 8 |
|
|
|
|
|
#undef E7_DRIVER_TYPE |
|
|
|
|
|
#elif !defined(E7_DRIVER_TYPE) |
|
|
|
|
|
#define E7_DRIVER_TYPE A4988 |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// Fallback axis inverting
|
|
|
|
|
|
#ifndef INVERT_X_DIR |
|
|
|
|
|
#define INVERT_X_DIR false |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef INVERT_Y_DIR |
|
|
|
|
|
#define INVERT_Y_DIR false |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef INVERT_Z_DIR |
|
|
|
|
|
#define INVERT_Z_DIR false |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef INVERT_E_DIR |
|
|
|
|
|
#define INVERT_E_DIR false |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// Fallback SPI Speed
|
|
|
|
|
|
#ifndef SPI_SPEED |
|
|
|
|
|
#define SPI_SPEED SPI_FULL_SPEED |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* This setting is also used by M109 when trying to calculate |
|
|
* This setting is also used by M109 when trying to calculate |
|
|
* a ballpark safe margin to prevent wait-forever situation. |
|
|
* a ballpark safe margin to prevent wait-forever situation. |
|
|