@ -1,6 +1,6 @@
/**
* Marlin 3 D Printer Firmware
* Copyright ( c ) 20 19 MarlinFirmware [ https : //github.com/MarlinFirmware/Marlin]
* Copyright ( c ) 20 20 MarlinFirmware [ https : //github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl .
* Copyright ( c ) 2011 Camiel Gubbels / Erik van der Zalm
@ -31,7 +31,7 @@
* Basic settings can be found in Configuration . h
*
*/
# define CONFIGURATION_ADV_H_VERSION 02000 0
# define CONFIGURATION_ADV_H_VERSION 02000 4
// @section temperature
@ -668,11 +668,37 @@
*/
//#define Z_STEPPER_AUTO_ALIGN
# if ENABLED(Z_STEPPER_AUTO_ALIGN)
// Define probe X and Y positions for Z1, Z2 [, Z3]
# define Z_STEPPER_ALIGN_XY { { 10, 190 }, { 100, 10 }, { 190, 190 } }
// Define probe X and Y positions for Z1, Z2 [, Z3 [, Z4]]
// If not defined, probe limits will be used.
// Override with 'M422 S<index> X<pos> Y<pos>'
//#define Z_STEPPER_ALIGN_XY { { 10, 190 }, { 100, 10 }, { 190, 190 } }
/**
* Orientation for the automatically - calculated probe positions .
* Override Z stepper align points with ' M422 S < index > X < pos > Y < pos > '
*
* 2 Steppers : ( 0 ) ( 1 )
* | | 2 |
* | 1 2 | |
* | | 1 |
*
* 3 Steppers : ( 0 ) ( 1 ) ( 2 ) ( 3 )
* | 3 | 1 | 2 1 | 2 |
* | | 3 | | 3 |
* | 1 2 | 2 | 3 | 1 |
*
* 4 Steppers : ( 0 ) ( 1 ) ( 2 ) ( 3 )
* | 4 3 | 1 4 | 2 1 | 3 2 |
* | | | | |
* | 1 2 | 2 3 | 3 4 | 4 1 |
*
*/
# ifndef Z_STEPPER_ALIGN_XY
//#define Z_STEPPERS_ORIENTATION 0
# endif
// Provide Z stepper positions for more rapid convergence in bed alignment.
// Currently requires triple stepper drivers.
// Requires triple stepper drivers (i.e., set NUM_Z_STEPPER_DRIVERS to 3)
//#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
# if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
// Define Stepper XY positions for Z1, Z2, Z3 corresponding to
@ -680,23 +706,16 @@
// Define one position per Z stepper in stepper driver order.
# define Z_STEPPER_ALIGN_STEPPER_XY { { 210.7, 102.5 }, { 152.6, 220.0 }, { 94.5, 102.5 } }
# else
// Amplification factor. Used to scale the correction step up or down.
// In case the stepper (spindle) position is further out than the test point.
// Use a value > 1. NOTE: This may cause instability
# define Z_STEPPER_ALIGN_AMP 1.0
// Amplification factor. Used to scale the correction step up or down in case
// the stepper (spindle) position is farther out than the test point.
# define Z_STEPPER_ALIGN_AMP 1.0 // Use a value > 1.0 NOTE: This may cause instability!
# endif
// Set number of iterations to align
# define Z_STEPPER_ALIGN_ITERATIONS 3
// Enable to restore leveling setup after operation
# define RESTORE_LEVELING_AFTER_G34
// On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
# define G34_MAX_GRADE 5 // (%) Maximum incline G34 will handle
// Stop criterion. If the accuracy is better than this stop iterating early
# define Z_STEPPER_ALIGN_ACC 0.02
# define G34_MAX_GRADE 5 // (%) Maximum incline that G34 will handle
# 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 RESTORE_LEVELING_AFTER_G34 // Restore leveling after G34 is done?
# endif
// @section motion
@ -821,8 +840,8 @@
// Define the pin to read during calibration
# ifndef CALIBRATION_PIN
# define CALIBRATION_PIN -1 // Override in pins.h or set to -1 to use your Z endstop
# define CALIBRATION_PIN_INVERTING false // Set to true to invert the pin
//#define CALIBRATION_PIN -1 // Define here to override the default pin
# define CALIBRATION_PIN_INVERTING false // Set to true to invert the custom pin
//#define CALIBRATION_PIN_PULLDOWN
# define CALIBRATION_PIN_PULLUP
# endif
@ -1314,9 +1333,11 @@
//#define AO_EXP1_PINMAP // AlephObjects CLCD UI EXP1 mapping
//#define AO_EXP2_PINMAP // AlephObjects CLCD UI EXP2 mapping
//#define CR10_TFT_PINMAP // Rudolph Riedel's CR10 pin mapping
//#define S6_TFT_PINMAP // FYSETC S6 pin mapping
//#define OTHER_PIN_LAYOUT // Define pins manually below
# if ENABLED(OTHER_PIN_LAYOUT)
// The pins for CS and MOD_RESET (PD) must be chosen.
// Pins for CS and MOD_RESET (PD) must be chosen
# define CLCD_MOD_RESET 9
# define CLCD_SPI_CS 10
@ -1426,6 +1447,7 @@
*/
//#define BABYSTEPPING
# if ENABLED(BABYSTEPPING)
//#define INTEGRATED_BABYSTEPPING // EXPERIMENTAL integration of babystepping into the Stepper ISR
//#define BABYSTEP_WITHOUT_HOMING
//#define BABYSTEP_XY // Also enable X/Y Babystepping. Not supported on DELTA!
# define BABYSTEP_INVERT_Z false // Change if Z babysteps should go the other way
@ -1554,7 +1576,7 @@
// Add additional compensation depending on hotend temperature
// Note: this values cannot be calibrated and have to be set manually
# if def PROBE_TEMP_COMPENSATION
# if ENABLED( PROBE_TEMP_COMPENSATION)
// Max temperature that can be reached by heated bed.
// This is required only for the calibration process.
# define PTC_MAX_BED_TEMP 110
@ -2765,6 +2787,10 @@
*/
# define FASTER_GCODE_PARSER
# if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
# endif
/**
* CNC G - code options
* Support CNC - style G - code dialects used by laser cutters , drawing machine cams , etc .
@ -3004,11 +3030,19 @@
//#define ESP3D_WIFISUPPORT // ESP3D Library WiFi management (https://github.com/luc-github/ESP3DLib)
# if EITHER(WIFISUPPORT, ESP3D_WIFISUPPORT)
# define WIFI_SSID "Wifi SSID"
# define WIFI_PWD "Wifi Password"
//#define WEBSUPPORT // Start a webserver (which may include auto-discovery)
//#define OTASUPPORT // Support over-the-air firmware updates
//#define WIFI_CUSTOM_COMMAND // Accept feature config commands (e.g., WiFi ESP3D) from the host
/**
* To set a default WiFi SSID / Password , create a file called Configuration_Secure . h with
* the following defines , customized for your network . This specific file is excluded via
* . gitignore to prevent it from accidentally leaking to the public .
*
* # define WIFI_SSID " WiFi SSID "
* # define WIFI_PWD " WiFi Password "
*/
//#include "Configuration_Secure.h" // External file with WiFi SSID / Password
# endif
/**