|
|
@ -31,7 +31,7 @@
|
|
|
|
* Basic settings can be found in Configuration.h
|
|
|
|
* Basic settings can be found in Configuration.h
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#define CONFIGURATION_ADV_H_VERSION 020004
|
|
|
|
#define CONFIGURATION_ADV_H_VERSION 020005
|
|
|
|
|
|
|
|
|
|
|
|
// @section temperature
|
|
|
|
// @section temperature
|
|
|
|
|
|
|
|
|
|
|
@ -276,8 +276,10 @@
|
|
|
|
#define AUTOTEMP_OLDWEIGHT 0.98
|
|
|
|
#define AUTOTEMP_OLDWEIGHT 0.98
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// Show extra position information with 'M114 D'
|
|
|
|
// Extra options for the M114 "Current Position" report
|
|
|
|
//#define M114_DETAIL
|
|
|
|
//#define M114_DETAIL // Use 'M114` for details to check planner calculations
|
|
|
|
|
|
|
|
//#define M114_REALTIME // Real current position based on forward kinematics
|
|
|
|
|
|
|
|
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
|
|
|
|
|
|
|
|
|
|
|
|
// Show Temperature ADC value
|
|
|
|
// Show Temperature ADC value
|
|
|
|
// Enable for M105 to include ADC values read from temperature sensors.
|
|
|
|
// Enable for M105 to include ADC values read from temperature sensors.
|
|
|
@ -716,6 +718,9 @@
|
|
|
|
#define Z_STEPPER_ALIGN_ITERATIONS 5 // Number of iterations to apply during alignment
|
|
|
|
#define Z_STEPPER_ALIGN_ITERATIONS 5 // Number of iterations to apply during alignment
|
|
|
|
#define Z_STEPPER_ALIGN_ACC 0.02 // Stop iterating early if the accuracy is better than this
|
|
|
|
#define Z_STEPPER_ALIGN_ACC 0.02 // Stop iterating early if the accuracy is better than this
|
|
|
|
#define RESTORE_LEVELING_AFTER_G34 // Restore leveling after G34 is done?
|
|
|
|
#define RESTORE_LEVELING_AFTER_G34 // Restore leveling after G34 is done?
|
|
|
|
|
|
|
|
// After G34, re-home Z (G28 Z) or just calculate it from the last probe heights?
|
|
|
|
|
|
|
|
// Re-homing might be more precise in reproducing the actual 'G28 Z' homing height, especially on an uneven bed.
|
|
|
|
|
|
|
|
#define HOME_AFTER_G34
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// @section motion
|
|
|
|
// @section motion
|
|
|
@ -990,6 +995,10 @@
|
|
|
|
// Show the E position (filament used) during printing
|
|
|
|
// Show the E position (filament used) during printing
|
|
|
|
//#define LCD_SHOW_E_TOTAL
|
|
|
|
//#define LCD_SHOW_E_TOTAL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SHOW_BOOTSCREEN)
|
|
|
|
|
|
|
|
#define BOOTSCREEN_TIMEOUT 4000 // (ms) Total Duration to display the boot screen(s)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if HAS_GRAPHICAL_LCD && HAS_PRINT_PROGRESS
|
|
|
|
#if HAS_GRAPHICAL_LCD && HAS_PRINT_PROGRESS
|
|
|
|
//#define PRINT_PROGRESS_SHOW_DECIMALS // Show progress with decimal digits
|
|
|
|
//#define PRINT_PROGRESS_SHOW_DECIMALS // Show progress with decimal digits
|
|
|
|
//#define SHOW_REMAINING_TIME // Display estimated time to completion
|
|
|
|
//#define SHOW_REMAINING_TIME // Display estimated time to completion
|
|
|
@ -1012,12 +1021,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
|
|
|
|
|
|
|
|
// Some RAMPS and other boards don't detect when an SD card is inserted. You can work
|
|
|
|
// The standard SD detect circuit reads LOW when media is inserted and HIGH when empty.
|
|
|
|
// around this by connecting a push button or single throw switch to the pin defined
|
|
|
|
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
|
|
|
// as SD_DETECT_PIN in your board's pins definitions.
|
|
|
|
//#define SD_DETECT_STATE HIGH
|
|
|
|
// This setting should be disabled unless you are using a push button, pulling the pin to ground.
|
|
|
|
|
|
|
|
// Note: This is always disabled for ULTIPANEL (except ELB_FULL_GRAPHIC_CONTROLLER).
|
|
|
|
|
|
|
|
#define SD_DETECT_INVERTED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
|
|
|
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
|
|
|
#define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E" // You might want to keep the Z enabled so your bed stays in place.
|
|
|
|
#define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E" // You might want to keep the Z enabled so your bed stays in place.
|
|
|
@ -1039,9 +1045,13 @@
|
|
|
|
* during SD printing. If the recovery file is found at boot time, present
|
|
|
|
* during SD printing. If the recovery file is found at boot time, present
|
|
|
|
* an option on the LCD screen to continue the print from the last-known
|
|
|
|
* an option on the LCD screen to continue the print from the last-known
|
|
|
|
* point in the file.
|
|
|
|
* point in the file.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* If the machine reboots when resuming a print you may need to replace or
|
|
|
|
|
|
|
|
* reformat the SD card. (Bad sectors delay startup triggering the watchdog.)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
//#define POWER_LOSS_RECOVERY
|
|
|
|
//#define POWER_LOSS_RECOVERY
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
|
|
|
|
|
|
|
#define PLR_ENABLED_DEFAULT false // Power Loss Recovery enabled by default. (Set with 'M413 Sn' & M500)
|
|
|
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
|
|
|
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
|
|
|
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
|
|
|
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
|
|
|
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss. Set to -1 to disable default pin on boards without module.
|
|
|
|
//#define POWER_LOSS_PIN 44 // Pin to detect power loss. Set to -1 to disable default pin on boards without module.
|
|
|
@ -1221,10 +1231,6 @@
|
|
|
|
// Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese.
|
|
|
|
// Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese.
|
|
|
|
//#define USE_SMALL_INFOFONT
|
|
|
|
//#define USE_SMALL_INFOFONT
|
|
|
|
|
|
|
|
|
|
|
|
// Enable this option and reduce the value to optimize screen updates.
|
|
|
|
|
|
|
|
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
|
|
|
|
|
|
|
//#define DOGM_SPI_DELAY_US 5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Swap the CW/CCW indicators in the graphics overlay
|
|
|
|
// Swap the CW/CCW indicators in the graphics overlay
|
|
|
|
//#define OVERLAY_GFX_REVERSE
|
|
|
|
//#define OVERLAY_GFX_REVERSE
|
|
|
|
|
|
|
|
|
|
|
@ -1241,6 +1247,10 @@
|
|
|
|
* This will prevent position updates from being displayed.
|
|
|
|
* This will prevent position updates from being displayed.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if ENABLED(U8GLIB_ST7920)
|
|
|
|
#if ENABLED(U8GLIB_ST7920)
|
|
|
|
|
|
|
|
// Enable this option and reduce the value to optimize screen updates.
|
|
|
|
|
|
|
|
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
|
|
|
|
|
|
|
//#define DOGM_SPI_DELAY_US 5
|
|
|
|
|
|
|
|
|
|
|
|
//#define LIGHTWEIGHT_UI
|
|
|
|
//#define LIGHTWEIGHT_UI
|
|
|
|
#if ENABLED(LIGHTWEIGHT_UI)
|
|
|
|
#if ENABLED(LIGHTWEIGHT_UI)
|
|
|
|
#define STATUS_EXPIRE_SECONDS 20
|
|
|
|
#define STATUS_EXPIRE_SECONDS 20
|
|
|
@ -1278,7 +1288,7 @@
|
|
|
|
// Additional options for DGUS / DWIN displays
|
|
|
|
// Additional options for DGUS / DWIN displays
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#if HAS_DGUS_LCD
|
|
|
|
#if HAS_DGUS_LCD
|
|
|
|
#define DGUS_SERIAL_PORT 2
|
|
|
|
#define DGUS_SERIAL_PORT 3
|
|
|
|
#define DGUS_BAUDRATE 115200
|
|
|
|
#define DGUS_BAUDRATE 115200
|
|
|
|
|
|
|
|
|
|
|
|
#define DGUS_RX_BUFFER_SIZE 128
|
|
|
|
#define DGUS_RX_BUFFER_SIZE 128
|
|
|
@ -1286,16 +1296,15 @@
|
|
|
|
//#define DGUS_SERIAL_STATS_RX_BUFFER_OVERRUNS // Fix Rx overrun situation (Currently only for AVR)
|
|
|
|
//#define DGUS_SERIAL_STATS_RX_BUFFER_OVERRUNS // Fix Rx overrun situation (Currently only for AVR)
|
|
|
|
|
|
|
|
|
|
|
|
#define DGUS_UPDATE_INTERVAL_MS 500 // (ms) Interval between automatic screen updates
|
|
|
|
#define DGUS_UPDATE_INTERVAL_MS 500 // (ms) Interval between automatic screen updates
|
|
|
|
#define BOOTSCREEN_TIMEOUT 3000 // (ms) Duration to display the boot screen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if EITHER(DGUS_LCD_UI_FYSETC, DGUS_LCD_UI_HIPRECY)
|
|
|
|
#if EITHER(DGUS_LCD_UI_FYSETC, DGUS_LCD_UI_HIPRECY)
|
|
|
|
#define DGUS_PRINT_FILENAME // Display the filename during printing
|
|
|
|
#define DGUS_PRINT_FILENAME // Display the filename during printing
|
|
|
|
#define DGUS_PREHEAT_UI // Display a preheat screen during heatup
|
|
|
|
#define DGUS_PREHEAT_UI // Display a preheat screen during heatup
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(DGUS_LCD_UI_FYSETC)
|
|
|
|
#if ENABLED(DGUS_LCD_UI_FYSETC)
|
|
|
|
//#define DUGS_UI_MOVE_DIS_OPTION // Disabled by default for UI_FYSETC
|
|
|
|
//#define DGUS_UI_MOVE_DIS_OPTION // Disabled by default for UI_FYSETC
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define DUGS_UI_MOVE_DIS_OPTION // Enabled by default for UI_HIPRECY
|
|
|
|
#define DGUS_UI_MOVE_DIS_OPTION // Enabled by default for UI_HIPRECY
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define DGUS_FILAMENT_LOADUNLOAD
|
|
|
|
#define DGUS_FILAMENT_LOADUNLOAD
|
|
|
@ -1578,7 +1587,7 @@
|
|
|
|
#if ENABLED(PROBE_TEMP_COMPENSATION)
|
|
|
|
#if ENABLED(PROBE_TEMP_COMPENSATION)
|
|
|
|
// Max temperature that can be reached by heated bed.
|
|
|
|
// Max temperature that can be reached by heated bed.
|
|
|
|
// This is required only for the calibration process.
|
|
|
|
// This is required only for the calibration process.
|
|
|
|
#define PTC_MAX_BED_TEMP 110
|
|
|
|
#define PTC_MAX_BED_TEMP BED_MAXTEMP
|
|
|
|
|
|
|
|
|
|
|
|
// Park position to wait for probe cooldown
|
|
|
|
// Park position to wait for probe cooldown
|
|
|
|
#define PTC_PARK_POS_X 0.0F
|
|
|
|
#define PTC_PARK_POS_X 0.0F
|
|
|
@ -2015,7 +2024,7 @@
|
|
|
|
* TMCStepper library is required to use TMC stepper drivers.
|
|
|
|
* TMCStepper library is required to use TMC stepper drivers.
|
|
|
|
* https://github.com/teemuatlut/TMCStepper
|
|
|
|
* https://github.com/teemuatlut/TMCStepper
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if HAS_TRINAMIC
|
|
|
|
#if HAS_TRINAMIC_CONFIG
|
|
|
|
|
|
|
|
|
|
|
|
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
|
|
|
|
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
|
|
|
|
#define INTERPOLATE true // Interpolate X/Y/Z_MICROSTEPS to 256
|
|
|
|
#define INTERPOLATE true // Interpolate X/Y/Z_MICROSTEPS to 256
|
|
|
@ -2302,14 +2311,6 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
|
|
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Use StallGuard2 to probe the bed with the nozzle.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
|
|
|
|
|
|
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
|
|
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
|
|
|
// TMC2209: 0...255. TMC2130: -64...63
|
|
|
|
// TMC2209: 0...255. TMC2130: -64...63
|
|
|
|
#define X_STALL_SENSITIVITY 8
|
|
|
|
#define X_STALL_SENSITIVITY 8
|
|
|
@ -2345,7 +2346,7 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#define TMC_ADV() { }
|
|
|
|
#define TMC_ADV() { }
|
|
|
|
|
|
|
|
|
|
|
|
#endif // HAS_TRINAMIC
|
|
|
|
#endif // HAS_TRINAMIC_CONFIG
|
|
|
|
|
|
|
|
|
|
|
|
// @section L64XX
|
|
|
|
// @section L64XX
|
|
|
|
|
|
|
|
|
|
|
@ -2991,7 +2992,7 @@
|
|
|
|
#define MAX7219_LOAD_PIN 44
|
|
|
|
#define MAX7219_LOAD_PIN 44
|
|
|
|
|
|
|
|
|
|
|
|
//#define MAX7219_GCODE // Add the M7219 G-code to control the LED matrix
|
|
|
|
//#define MAX7219_GCODE // Add the M7219 G-code to control the LED matrix
|
|
|
|
#define MAX7219_INIT_TEST 2 // Do a test pattern at initialization (Set to 2 for spiral)
|
|
|
|
#define MAX7219_INIT_TEST 2 // Test pattern at startup: 0=none, 1=sweep, 2=spiral
|
|
|
|
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
|
|
|
|
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
|
|
|
|
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
|
|
|
|
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
|
|
|
|
// connector at: right=0 bottom=-90 top=90 left=180
|
|
|
|
// connector at: right=0 bottom=-90 top=90 left=180
|
|
|
|