|
242 | 242 | #endif
|
243 | 243 | #endif
|
244 | 244 |
|
| 245 | +// |
| 246 | +// Motherboard Sensor options |
| 247 | +// |
| 248 | +#if TEMP_SENSOR_BOARD |
| 249 | + #define THERMAL_PROTECTION_BOARD // Halt the printer if the board sensor leaves the temp range below. |
| 250 | + #define BOARD_MINTEMP 8 // (°C) |
| 251 | + #define BOARD_MAXTEMP 70 // (°C) |
| 252 | + #ifndef TEMP_BOARD_PIN |
| 253 | + //#define TEMP_BOARD_PIN -1 // Board temp sensor pin, if not set in pins file. |
| 254 | + #endif |
| 255 | +#endif |
| 256 | + |
245 | 257 | //
|
246 | 258 | // Laser Coolant Flow Meter
|
247 | 259 | //
|
|
1620 | 1632 | * Set STATUS_EXPIRE_SECONDS to zero to never clear the status.
|
1621 | 1633 | * This will prevent position updates from being displayed.
|
1622 | 1634 | */
|
1623 |
| - #if ENABLED(U8GLIB_ST7920) |
| 1635 | + #if IS_U8GLIB_ST7920 |
1624 | 1636 | // Enable this option and reduce the value to optimize screen updates.
|
1625 | 1637 | // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
1626 | 1638 | //#define DOGM_SPI_DELAY_US 5
|
|
1642 | 1654 | // #define STATUS_HOTEND_ANIM // Use a second bitmap to indicate hotend heating
|
1643 | 1655 | // #define STATUS_BED_ANIM // Use a second bitmap to indicate bed heating
|
1644 | 1656 | // #define STATUS_CHAMBER_ANIM // Use a second bitmap to indicate chamber heating
|
1645 |
| - //#define STATUS_CUTTER_ANIM // Use a second bitmap to indicate spindle / laser active |
1646 |
| - //#define STATUS_COOLER_ANIM // Use a second bitmap to indicate laser cooling |
1647 |
| - //#define STATUS_FLOWMETER_ANIM // Use multiple bitmaps to indicate coolant flow |
1648 |
| - //#define STATUS_ALT_BED_BITMAP // Use the alternative bed bitmap |
1649 |
| - //#define STATUS_ALT_FAN_BITMAP // Use the alternative fan bitmap |
1650 |
| - //#define STATUS_FAN_FRAMES 3 // :[0,1,2,3,4] Number of fan animation frames |
1651 |
| - //#define STATUS_HEAT_PERCENT // Show heating in a progress bar |
| 1657 | +//#define STATUS_CUTTER_ANIM // Use a second bitmap to indicate spindle / laser active |
| 1658 | +//#define STATUS_COOLER_ANIM // Use a second bitmap to indicate laser cooling |
| 1659 | +//#define STATUS_FLOWMETER_ANIM // Use multiple bitmaps to indicate coolant flow |
| 1660 | +//#define STATUS_ALT_BED_BITMAP // Use the alternative bed bitmap |
| 1661 | +//#define STATUS_ALT_FAN_BITMAP // Use the alternative fan bitmap |
| 1662 | +//#define STATUS_FAN_FRAMES 3 // :[0,1,2,3,4] Number of fan animation frames |
| 1663 | +//#define STATUS_HEAT_PERCENT // Show heating in a progress bar |
1652 | 1664 | #define BOOT_MARLIN_LOGO_ANIMATED // Animated Marlin logo. Costs ~3260 (or ~940) bytes of PROGMEM.
|
1653 | 1665 |
|
1654 | 1666 | // Frivolous Game Options
|
|
1670 | 1682 | //#define OVERLAY_GFX_REVERSE
|
1671 | 1683 | #endif
|
1672 | 1684 |
|
| 1685 | +#if HAS_MARLINUI_U8GLIB || IS_DWIN_MARLINUI |
| 1686 | + // Show SD percentage next to the progress bar |
| 1687 | + //#define SHOW_SD_PERCENT |
| 1688 | + |
| 1689 | + // Enable to save many cycles by drawing a hollow frame on Menu Screens |
| 1690 | + #define MENU_HOLLOW_FRAME |
| 1691 | + |
| 1692 | +// Swap the CW/CCW indicators in the graphics overlay |
| 1693 | +//#define OVERLAY_GFX_REVERSE |
| 1694 | +#endif |
| 1695 | + |
1673 | 1696 | //
|
1674 | 1697 | // Additional options for DGUS / DWIN displays
|
1675 | 1698 | //
|
|
2332 | 2355 | */
|
2333 | 2356 | //#define EVENT_GCODE_TOOLCHANGE_T0 "G28 A\nG1 A0" // Extra G-code to run while executing tool-change command T0
|
2334 | 2357 | //#define EVENT_GCODE_TOOLCHANGE_T1 "G1 A10" // Extra G-code to run while executing tool-change command T1
|
| 2358 | + //#define EVENT_GCODE_TOOLCHANGE_ALWAYS_RUN // Always execute above G-code sequences. Use with caution! |
2335 | 2359 |
|
2336 | 2360 | /**
|
2337 | 2361 | * Tool Sensors detect when tools have been picked up or dropped.
|
|
2532 | 2556 | #define K_MICROSTEPS 16
|
2533 | 2557 | #endif
|
2534 | 2558 |
|
| 2559 | + #if AXIS_DRIVER_TYPE_I(TMC26X) |
| 2560 | + #define I_MAX_CURRENT 1000 |
| 2561 | + #define I_SENSE_RESISTOR 91 |
| 2562 | + #define I_MICROSTEPS 16 |
| 2563 | + #endif |
| 2564 | + |
| 2565 | + #if AXIS_DRIVER_TYPE_J(TMC26X) |
| 2566 | + #define J_MAX_CURRENT 1000 |
| 2567 | + #define J_SENSE_RESISTOR 91 |
| 2568 | + #define J_MICROSTEPS 16 |
| 2569 | + #endif |
| 2570 | + |
| 2571 | + #if AXIS_DRIVER_TYPE_K(TMC26X) |
| 2572 | + #define K_MAX_CURRENT 1000 |
| 2573 | + #define K_SENSE_RESISTOR 91 |
| 2574 | + #define K_MICROSTEPS 16 |
| 2575 | + #endif |
| 2576 | + |
2535 | 2577 | #if AXIS_DRIVER_TYPE_E0(TMC26X)
|
2536 | 2578 | #define E0_MAX_CURRENT 1000
|
2537 | 2579 | #define E0_SENSE_RESISTOR 91
|
|
2709 | 2751 | //#define K_INTERPOLATE true
|
2710 | 2752 | #endif
|
2711 | 2753 |
|
| 2754 | + #if AXIS_IS_TMC(I) |
| 2755 | + #define I_CURRENT 800 |
| 2756 | + #define I_CURRENT_HOME I_CURRENT |
| 2757 | + #define I_MICROSTEPS 16 |
| 2758 | + #define I_RSENSE 0.11 |
| 2759 | + #define I_CHAIN_POS -1 |
| 2760 | + //#define I_INTERPOLATE true |
| 2761 | + #endif |
| 2762 | + |
| 2763 | + #if AXIS_IS_TMC(J) |
| 2764 | + #define J_CURRENT 800 |
| 2765 | + #define J_CURRENT_HOME J_CURRENT |
| 2766 | + #define J_MICROSTEPS 16 |
| 2767 | + #define J_RSENSE 0.11 |
| 2768 | + #define J_CHAIN_POS -1 |
| 2769 | + //#define J_INTERPOLATE true |
| 2770 | + #endif |
| 2771 | + |
| 2772 | + #if AXIS_IS_TMC(K) |
| 2773 | + #define K_CURRENT 800 |
| 2774 | + #define K_CURRENT_HOME K_CURRENT |
| 2775 | + #define K_MICROSTEPS 16 |
| 2776 | + #define K_RSENSE 0.11 |
| 2777 | + #define K_CHAIN_POS -1 |
| 2778 | + //#define K_INTERPOLATE true |
| 2779 | + #endif |
| 2780 | + |
2712 | 2781 | #if AXIS_IS_TMC(E0)
|
2713 | 2782 | #define E0_CURRENT 800
|
2714 | 2783 | #define E0_MICROSTEPS 16
|
|
3148 | 3217 | #define K_SLEW_RATE 1
|
3149 | 3218 | #endif
|
3150 | 3219 |
|
| 3220 | + #if AXIS_DRIVER_TYPE_I(L6470) |
| 3221 | + #define I_MICROSTEPS 128 |
| 3222 | + #define I_OVERCURRENT 2000 |
| 3223 | + #define I_STALLCURRENT 1500 |
| 3224 | + #define I_MAX_VOLTAGE 127 |
| 3225 | + #define I_CHAIN_POS -1 |
| 3226 | + #define I_SLEW_RATE 1 |
| 3227 | + #endif |
| 3228 | + |
| 3229 | + #if AXIS_DRIVER_TYPE_J(L6470) |
| 3230 | + #define J_MICROSTEPS 128 |
| 3231 | + #define J_OVERCURRENT 2000 |
| 3232 | + #define J_STALLCURRENT 1500 |
| 3233 | + #define J_MAX_VOLTAGE 127 |
| 3234 | + #define J_CHAIN_POS -1 |
| 3235 | + #define J_SLEW_RATE 1 |
| 3236 | + #endif |
| 3237 | + |
| 3238 | + #if AXIS_DRIVER_TYPE_K(L6470) |
| 3239 | + #define K_MICROSTEPS 128 |
| 3240 | + #define K_OVERCURRENT 2000 |
| 3241 | + #define K_STALLCURRENT 1500 |
| 3242 | + #define K_MAX_VOLTAGE 127 |
| 3243 | + #define K_CHAIN_POS -1 |
| 3244 | + #define K_SLEW_RATE 1 |
| 3245 | + #endif |
| 3246 | + |
3151 | 3247 | #if AXIS_IS_L64XX(E0)
|
3152 | 3248 | #define E0_MICROSTEPS 128
|
3153 | 3249 | #define E0_OVERCURRENT 2000
|
|
4005 | 4101 | #define FREEZE_PIN P2_00 // Override the default (KILL) pin here
|
4006 | 4102 | #endif
|
4007 | 4103 |
|
| 4104 | +/** |
| 4105 | + * Instant freeze / unfreeze functionality |
| 4106 | + * Specified pin has pullup and connecting to ground will instantly pause motion. |
| 4107 | + * Potentially useful for emergency stop that allows being resumed. |
| 4108 | + */ |
| 4109 | +//#define FREEZE_FEATURE |
| 4110 | +#if ENABLED(FREEZE_FEATURE) |
| 4111 | +//#define FREEZE_PIN 41 // Override the default (KILL) pin here |
| 4112 | +#endif |
| 4113 | + |
4008 | 4114 | /**
|
4009 | 4115 | * MAX7219 Debug Matrix
|
4010 | 4116 | *
|
|
0 commit comments