|
29 | 29 | * Some of these settings can damage your printer if improperly set!
|
30 | 30 | *
|
31 | 31 | * Basic settings can be found in Configuration.h
|
32 |
| - * |
33 | 32 | */
|
34 |
| -#define CONFIGURATION_ADV_H_VERSION 020006 |
| 33 | +#define CONFIGURATION_ADV_H_VERSION 020007 |
35 | 34 |
|
36 | 35 | // @section temperature
|
37 | 36 |
|
|
738 | 737 | * | 4 3 | 1 4 | 2 1 | 3 2 |
|
739 | 738 | * | | | | |
|
740 | 739 | * | 1 2 | 2 3 | 3 4 | 4 1 |
|
741 |
| - * |
742 | 740 | */
|
743 | 741 | #ifndef Z_STEPPER_ALIGN_XY
|
744 | 742 | //#define Z_STEPPERS_ORIENTATION 0
|
|
773 | 771 | //
|
774 | 772 | //#define ASSISTED_TRAMMING
|
775 | 773 | #if ENABLED(ASSISTED_TRAMMING)
|
776 |
| - |
777 | 774 | // Define positions for probing points, use the hotend as reference not the sensor.
|
778 | 775 | #define TRAMMING_POINT_XY { { 20, 20 }, { 200, 20 }, { 200, 200 }, { 20, 200 } }
|
779 | 776 |
|
|
786 | 783 | // Enable to restore leveling setup after operation
|
787 | 784 | #define RESTORE_LEVELING_AFTER_G35
|
788 | 785 |
|
| 786 | + // Add a menu item for Assisted Tramming |
| 787 | + //#define ASSISTED_TRAMMING_MENU_ITEM |
| 788 | + |
789 | 789 | /**
|
790 | 790 | * Screw thread:
|
791 | 791 | * M3: 30 = Clockwise, 31 = Counter-Clockwise
|
792 | 792 | * M4: 40 = Clockwise, 41 = Counter-Clockwise
|
793 | 793 | * M5: 50 = Clockwise, 51 = Counter-Clockwise
|
794 | 794 | */
|
795 | 795 | #define TRAMMING_SCREW_THREAD 30
|
796 |
| - |
797 | 796 | #endif
|
798 | 797 |
|
799 | 798 | // @section motion
|
|
1105 | 1104 | #define BOOTSCREEN_TIMEOUT 4000 // (ms) Total Duration to display the boot screen(s)
|
1106 | 1105 | #endif
|
1107 | 1106 |
|
1108 |
| -#if HAS_GRAPHICAL_LCD && EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) |
1109 |
| - //#define PRINT_PROGRESS_SHOW_DECIMALS // Show progress with decimal digits |
1110 |
| - //#define SHOW_REMAINING_TIME // Display estimated time to completion |
| 1107 | +#if EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) && ANY(HAS_MARLINUI_U8GLIB, HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL) |
| 1108 | + //#define SHOW_REMAINING_TIME // Display estimated time to completion |
1111 | 1109 | #if ENABLED(SHOW_REMAINING_TIME)
|
1112 |
| - //#define USE_M73_REMAINING_TIME // Use remaining time from M73 command instead of estimation |
1113 |
| - //#define ROTATE_PROGRESS_DISPLAY // Display (P)rogress, (E)lapsed, and (R)emaining time |
| 1110 | + //#define USE_M73_REMAINING_TIME // Use remaining time from M73 command instead of estimation |
| 1111 | + //#define ROTATE_PROGRESS_DISPLAY // Display (P)rogress, (E)lapsed, and (R)emaining time |
1114 | 1112 | #endif
|
1115 |
| -#endif |
1116 | 1113 |
|
1117 |
| -#if HAS_CHARACTER_LCD && EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) |
1118 |
| - //#define LCD_PROGRESS_BAR // Show a progress bar on HD44780 LCDs for SD printing |
1119 |
| - #if ENABLED(LCD_PROGRESS_BAR) |
1120 |
| - #define PROGRESS_BAR_BAR_TIME 2000 // (ms) Amount of time to show the bar |
1121 |
| - #define PROGRESS_BAR_MSG_TIME 3000 // (ms) Amount of time to show the status message |
1122 |
| - #define PROGRESS_MSG_EXPIRE 0 // (ms) Amount of time to retain the status message (0=forever) |
1123 |
| - //#define PROGRESS_MSG_ONCE // Show the message for MSG_TIME then clear it |
1124 |
| - //#define LCD_PROGRESS_BAR_TEST // Add a menu item to test the progress bar |
| 1114 | + #if HAS_MARLINUI_U8GLIB |
| 1115 | + //#define PRINT_PROGRESS_SHOW_DECIMALS // Show progress with decimal digits |
| 1116 | + #endif |
| 1117 | + |
| 1118 | + #if EITHER(HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL) |
| 1119 | + //#define LCD_PROGRESS_BAR // Show a progress bar on HD44780 LCDs for SD printing |
| 1120 | + #if ENABLED(LCD_PROGRESS_BAR) |
| 1121 | + #define PROGRESS_BAR_BAR_TIME 2000 // (ms) Amount of time to show the bar |
| 1122 | + #define PROGRESS_BAR_MSG_TIME 3000 // (ms) Amount of time to show the status message |
| 1123 | + #define PROGRESS_MSG_EXPIRE 0 // (ms) Amount of time to retain the status message (0=forever) |
| 1124 | + //#define PROGRESS_MSG_ONCE // Show the message for MSG_TIME then clear it |
| 1125 | + //#define LCD_PROGRESS_BAR_TEST // Add a menu item to test the progress bar |
| 1126 | + #endif |
1125 | 1127 | #endif
|
1126 | 1128 | #endif
|
1127 | 1129 |
|
|
1164 | 1166 | #if ENABLED(POWER_LOSS_RECOVERY)
|
1165 | 1167 | #define PLR_ENABLED_DEFAULT false // Power Loss Recovery enabled by default. (Set with 'M413 Sn' & M500)
|
1166 | 1168 | //#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
| 1169 | + //#define POWER_LOSS_RECOVER_ZHOME // Z homing is needed for proper recovery. 99.9% of the time this should be disabled! |
1167 | 1170 | //#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
1168 | 1171 | //#define POWER_LOSS_PIN 44 // Pin to detect power loss. Set to -1 to disable default pin on boards without module.
|
1169 | 1172 | //#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
|
1324 | 1327 | * controller events, as there is a trade-off between reliable
|
1325 | 1328 | * printing performance versus fast display updates.
|
1326 | 1329 | */
|
1327 |
| -#if HAS_GRAPHICAL_LCD |
| 1330 | +#if HAS_MARLINUI_U8GLIB |
1328 | 1331 | // Show SD percentage next to the progress bar
|
1329 | 1332 | //#define DOGM_SD_PERCENT
|
1330 | 1333 |
|
|
1394 | 1397 | //#define MARLIN_SNAKE
|
1395 | 1398 | //#define GAMES_EASTER_EGG // Add extra blank lines above the "Games" sub-menu
|
1396 | 1399 |
|
1397 |
| -#endif // HAS_GRAPHICAL_LCD |
| 1400 | +#endif // HAS_MARLINUI_U8GLIB |
1398 | 1401 |
|
1399 | 1402 | //
|
1400 | 1403 | // Additional options for DGUS / DWIN displays
|
1401 | 1404 | //
|
1402 | 1405 | #if HAS_DGUS_LCD
|
1403 |
| - #define DGUS_SERIAL_PORT 3 |
1404 |
| - #define DGUS_BAUDRATE 115200 |
| 1406 | + #define LCD_SERIAL_PORT 3 |
| 1407 | + #define LCD_BAUDRATE 115200 |
1405 | 1408 |
|
1406 | 1409 | #define DGUS_RX_BUFFER_SIZE 128
|
1407 | 1410 | #define DGUS_TX_BUFFER_SIZE 48
|
1408 |
| - //#define DGUS_SERIAL_STATS_RX_BUFFER_OVERRUNS // Fix Rx overrun situation (Currently only for AVR) |
| 1411 | + //#define SERIAL_STATS_RX_BUFFER_OVERRUNS // Fix Rx overrun situation (Currently only for AVR) |
1409 | 1412 |
|
1410 | 1413 | #define DGUS_UPDATE_INTERVAL_MS 500 // (ms) Interval between automatic screen updates
|
1411 | 1414 |
|
|
1572 | 1575 | #if ENABLED(BABYSTEPPING)
|
1573 | 1576 | //#define INTEGRATED_BABYSTEPPING // EXPERIMENTAL integration of babystepping into the Stepper ISR
|
1574 | 1577 | //#define BABYSTEP_WITHOUT_HOMING
|
| 1578 | + //#define BABYSTEP_ALWAYS_AVAILABLE // Allow babystepping at all times (not just during movement). |
1575 | 1579 | //#define BABYSTEP_XY // Also enable X/Y Babystepping. Not supported on DELTA!
|
1576 | 1580 | #define BABYSTEP_INVERT_Z false // Change if Z babysteps should go the other way
|
1577 | 1581 | //#define BABYSTEP_MILLIMETER_UNITS // Specify BABYSTEP_MULTIPLICATOR_(XY|Z) in mm instead of micro-steps
|
|
1582 | 1586 | #if ENABLED(DOUBLECLICK_FOR_Z_BABYSTEPPING)
|
1583 | 1587 | #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
|
1584 | 1588 | // Note: Extra time may be added to mitigate controller latency.
|
1585 |
| - //#define BABYSTEP_ALWAYS_AVAILABLE // Allow babystepping at all times (not just during movement). |
1586 | 1589 | //#define MOVE_Z_WHEN_IDLE // Jump to the move Z menu on doubleclick when printer is idle.
|
1587 | 1590 | #if ENABLED(MOVE_Z_WHEN_IDLE)
|
1588 | 1591 | #define MOVE_Z_IDLE_MULTIPLICATOR 1 // Multiply 1mm by this factor for the move step size.
|
|
1950 | 1953 | * Be sure to turn off auto-retract during filament change.
|
1951 | 1954 | *
|
1952 | 1955 | * Note that M207 / M208 / M209 settings are saved to EEPROM.
|
1953 |
| - * |
1954 | 1956 | */
|
1955 | 1957 | //#define FWRETRACT
|
1956 | 1958 | #if ENABLED(FWRETRACT)
|
|
1976 | 1978 | * Universal tool change settings.
|
1977 | 1979 | * Applies to all types of extruders except where explicitly noted.
|
1978 | 1980 | */
|
1979 |
| -#if EXTRUDERS > 1 |
| 1981 | +#if HAS_MULTI_EXTRUDER |
1980 | 1982 | // Z raise distance for tool-change, as needed for some extruders
|
1981 | 1983 | #define TOOLCHANGE_ZRAISE 2 // (mm)
|
1982 | 1984 | //#define TOOLCHANGE_ZRAISE_BEFORE_RETRACT // Apply raise before swap retraction (if enabled)
|
|
2040 | 2042 | //#define TOOLCHANGE_PARK_X_ONLY // X axis only move
|
2041 | 2043 | //#define TOOLCHANGE_PARK_Y_ONLY // Y axis only move
|
2042 | 2044 | #endif
|
2043 |
| -#endif // EXTRUDERS > 1 |
| 2045 | +#endif // HAS_MULTI_EXTRUDER |
2044 | 2046 |
|
2045 | 2047 | /**
|
2046 | 2048 | * Advanced Pause
|
|
2487 | 2489 | #define E7_HYBRID_THRESHOLD 30
|
2488 | 2490 |
|
2489 | 2491 | /**
|
2490 |
| - * Use StallGuard2 to home / probe X, Y, Z. |
| 2492 | + * Use StallGuard to home / probe X, Y, Z. |
2491 | 2493 | *
|
2492 | 2494 | * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
2493 | 2495 | * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
|
2508 | 2510 | *
|
2509 | 2511 | * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
|
2510 | 2512 | * homing and adds a guard period for endstop triggering.
|
| 2513 | + * |
| 2514 | + * Comment *_STALL_SENSITIVITY to disable sensorless homing for that axis. |
2511 | 2515 | */
|
2512 | 2516 | //#define SENSORLESS_HOMING // StallGuard capable drivers only
|
2513 | 2517 |
|
|
3227 | 3231 | //#define HOST_ACTION_COMMANDS
|
3228 | 3232 | #if ENABLED(HOST_ACTION_COMMANDS)
|
3229 | 3233 | //#define HOST_PROMPT_SUPPORT
|
| 3234 | + //#define HOST_START_MENU_ITEM // Add a menu item that tells the host to start |
3230 | 3235 | #endif
|
3231 | 3236 |
|
3232 | 3237 | /**
|
|
3334 | 3339 | #define JOY_X_LIMITS { 5600, 8190-100, 8190+100, 10800 } // min, deadzone start, deadzone end, max
|
3335 | 3340 | #define JOY_Y_LIMITS { 5600, 8250-100, 8250+100, 11000 }
|
3336 | 3341 | #define JOY_Z_LIMITS { 4800, 8080-100, 8080+100, 11550 }
|
| 3342 | + //#define JOYSTICK_DEBUG |
3337 | 3343 | #endif
|
3338 | 3344 |
|
3339 | 3345 | /**
|
|
3411 | 3417 | #if ENABLED(PRUSA_MMU2)
|
3412 | 3418 |
|
3413 | 3419 | // Serial port used for communication with MMU2.
|
3414 |
| - // For AVR enable the UART port used for the MMU. (e.g., internalSerial) |
| 3420 | + // For AVR enable the UART port used for the MMU. (e.g., mmuSerial) |
3415 | 3421 | // For 32-bit boards check your HAL for available serial ports. (e.g., Serial2)
|
3416 |
| - #define INTERNAL_SERIAL_PORT 2 |
3417 |
| - #define MMU2_SERIAL internalSerial |
| 3422 | + #define MMU2_SERIAL_PORT 2 |
| 3423 | + #define MMU2_SERIAL mmuSerial |
3418 | 3424 |
|
3419 | 3425 | // Use hardware reset for MMU if a pin is defined for it
|
3420 | 3426 | //#define MMU2_RST_PIN 23
|
|
3465 | 3471 | */
|
3466 | 3472 | //#define MMU_EXTRUDER_SENSOR
|
3467 | 3473 | #if ENABLED(MMU_EXTRUDER_SENSOR)
|
3468 |
| - #define MMU_LOADING_ATTEMPTS_NR 5 //max. number of attempts to load filament if first load fail |
| 3474 | + #define MMU_LOADING_ATTEMPTS_NR 5 // max. number of attempts to load filament if first load fail |
3469 | 3475 | #endif
|
3470 | 3476 |
|
3471 | 3477 | /**
|
|
0 commit comments