Merge branch 'pr-lite-st7920-status' of github.com:marcio-ao/Marlin into pr-lite-st7920-status
This commit is contained in:
		| @@ -109,7 +109,7 @@ | ||||
| /** | ||||
|  * Select a secondary serial port on the board to use for communication with the host. | ||||
|  * This allows the connection of wireless adapters (for instance) to non-default port pins. | ||||
|  * Serial port -1 is the USB emulated serial port, if avaialble. | ||||
|  * Serial port -1 is the USB emulated serial port, if available. | ||||
|  * | ||||
|  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7] | ||||
|  */ | ||||
| @@ -132,13 +132,13 @@ | ||||
| // The following define selects which electronics board you have. | ||||
| // Please choose the name from boards.h that matches your setup | ||||
| #ifndef MOTHERBOARD | ||||
|   #define MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB   // For people switching over to the Panucatt Re-ARM board | ||||
| //#define MOTHERBOARD BOARD_RAMPS_14_EFB          // For unmodified printers using Atmega-2560 and RAMPS boards. | ||||
| //#define MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB   // For people switching over to the Panucatt Re-ARM board | ||||
|   #define MOTHERBOARD BOARD_RAMPS_14_EFB          // For unmodified printers using Atmega-2560 and RAMPS boards. | ||||
| #endif | ||||
|  | ||||
| // Optional custom name for your RepStrap or other custom machine | ||||
| // Displayed in the LCD "Ready" message | ||||
| #define CUSTOM_MACHINE_NAME "FT-2020 v5" | ||||
| #define CUSTOM_MACHINE_NAME "FT-2020 v9" | ||||
|  | ||||
| // Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines) | ||||
| // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4) | ||||
| @@ -565,7 +565,7 @@ | ||||
|  * Override with M203 | ||||
|  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] | ||||
|  */ | ||||
| #define DEFAULT_MAX_FEEDRATE          { 250, 250, 6, 17 } | ||||
| #define DEFAULT_MAX_FEEDRATE          { 250, 250, 2, 17 } | ||||
|  | ||||
| /** | ||||
|  * Default Max Acceleration (change/s) change = mm/s | ||||
| @@ -573,7 +573,7 @@ | ||||
|  * Override with M201 | ||||
|  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] | ||||
|  */ | ||||
| #define DEFAULT_MAX_ACCELERATION      { 1000, 1000, 10, 750 } | ||||
| #define DEFAULT_MAX_ACCELERATION      { 1000, 1000, 4, 750 } | ||||
|  | ||||
| /** | ||||
|  * Default Acceleration (change/s) change = mm/s | ||||
| @@ -714,7 +714,7 @@ | ||||
|  */ | ||||
| #define X_PROBE_OFFSET_FROM_EXTRUDER 38     // X offset: -left  +right  [of the nozzle] | ||||
| #define Y_PROBE_OFFSET_FROM_EXTRUDER -7     // Y offset: -front +behind [the nozzle] | ||||
| #define Z_PROBE_OFFSET_FROM_EXTRUDER -10.4  // Z offset: -below +above  [the nozzle] | ||||
| #define Z_PROBE_OFFSET_FROM_EXTRUDER -10.35 // Z offset: -below +above  [the nozzle] | ||||
|  | ||||
| // X and Y axis travel speed (mm/m) between probes | ||||
| #define XY_PROBE_SPEED 7500 | ||||
| @@ -744,8 +744,8 @@ | ||||
|  * Example: `M851 Z-5` with a CLEARANCE of 4  =>  9mm from bed to nozzle. | ||||
|  *     But: `M851 Z+1` with a CLEARANCE of 2  =>  2mm from bed to nozzle. | ||||
|  */ | ||||
| #define Z_CLEARANCE_DEPLOY_PROBE    5 // Z Clearance for Deploy/Stow | ||||
| #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points | ||||
| #define Z_CLEARANCE_DEPLOY_PROBE    3 // Z Clearance for Deploy/Stow | ||||
| #define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points | ||||
|  | ||||
| // For M851 give a range for adjusting the Z probe offset | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| @@ -816,8 +816,8 @@ | ||||
| #define X_MIN_POS 6 | ||||
| #define Y_MIN_POS 3 | ||||
| #define Z_MIN_POS 0 | ||||
| #define X_MAX_POS 212 | ||||
| #define Y_MAX_POS 190 | ||||
| #define X_MAX_POS 207 | ||||
| #define Y_MAX_POS 182 | ||||
| #define Z_MAX_POS 175 | ||||
|  | ||||
| /** | ||||
| @@ -920,7 +920,7 @@ | ||||
|   // For Cartesian machines, instead of dividing moves on mesh boundaries, | ||||
|   // split up moves into short segments like a Delta. This follows the | ||||
|   // contours of the bed more closely than edge-to-edge straight moves. | ||||
|   #define SEGMENT_LEVELED_MOVES | ||||
| //#define SEGMENT_LEVELED_MOVES | ||||
|   #define LEVELED_SEGMENT_LENGTH 5.0 // (mm) Length of all segments (except the last one) | ||||
|  | ||||
|   /** | ||||
| @@ -1005,6 +1005,9 @@ | ||||
|   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle | ||||
|   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500 | ||||
|  | ||||
|   #define UBL_Z_RAISE_WHEN_OFF_MESH 2.5 // When the nozzle is off the mesh, this value is used | ||||
|                                         // as the Z-Height correction value. | ||||
|  | ||||
| #elif ENABLED(MESH_BED_LEVELING) | ||||
|  | ||||
|   //=========================================================================== | ||||
| @@ -1159,7 +1162,7 @@ | ||||
| // | ||||
| // M100 Free Memory Watcher | ||||
| // | ||||
| //#define M100_FREE_MEMORY_WATCHER    // Add M100 (Free Memory Watcher) to debug memory usage | ||||
| #define M100_FREE_MEMORY_WATCHER    // Add M100 (Free Memory Watcher) to debug memory usage | ||||
|  | ||||
| // | ||||
| // G20/G21 Inch mode support | ||||
| @@ -1199,7 +1202,7 @@ | ||||
|   // Specify a park position as { X, Y, Z } | ||||
|   #define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 } | ||||
|   #define NOZZLE_PARK_XY_FEEDRATE 100   // X and Y axes feedrate in mm/s (also used for delta printers Z axis) | ||||
|   #define NOZZLE_PARK_Z_FEEDRATE 8      // Z axis feedrate in mm/s (not used for delta printers) | ||||
|   #define NOZZLE_PARK_Z_FEEDRATE 5      // Z axis feedrate in mm/s (not used for delta printers) | ||||
| #endif | ||||
|  | ||||
| /** | ||||
|   | ||||
| @@ -185,7 +185,7 @@ | ||||
|  */ | ||||
| //#define USE_CONTROLLER_FAN | ||||
| #if ENABLED(USE_CONTROLLER_FAN) | ||||
|   //#define CONTROLLER_FAN_PIN FAN1_PIN  // Set a custom pin for the controller fan | ||||
|   //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan | ||||
|   #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled | ||||
|   #define CONTROLLERFAN_SPEED 255        // 255 == full speed | ||||
| #endif | ||||
| @@ -362,6 +362,9 @@ | ||||
| // When G28 is called, this option will make Y home before X | ||||
| //#define HOME_Y_BEFORE_X | ||||
|  | ||||
| // Enable this if X or Y can't home without homing the other axis first. | ||||
| //#define CODEPENDENT_XY_HOMING | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
| #define AXIS_RELATIVE_MODES {false, false, false, false} | ||||
| @@ -458,7 +461,8 @@ | ||||
|  | ||||
| //#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster | ||||
| #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8 | ||||
| // Actual motor currents in Amps, need as many here as DIGIPOT_I2C_NUM_CHANNELS | ||||
| // Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS. | ||||
| // These correspond to the physical drivers, so be mindful if the order is changed. | ||||
| #define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 }  //  AZTEEG_X3_PRO | ||||
|  | ||||
| //=========================================================================== | ||||
| @@ -489,6 +493,9 @@ | ||||
| // The timeout (in ms) to return to the status screen from sub-menus | ||||
| //#define LCD_TIMEOUT_TO_STATUS 15000 | ||||
|  | ||||
| // Add an 'M73' G-code to set the current percentage | ||||
| //#define LCD_SET_PROGRESS_MANUALLY | ||||
|  | ||||
| /** | ||||
|  * LED Control Menu | ||||
|  * Enable this feature to add LED Control to the LCD menu | ||||
| @@ -579,9 +586,6 @@ | ||||
|     //#define LCD_PROGRESS_BAR_TEST | ||||
|   #endif | ||||
|  | ||||
|   // Add an 'M73' G-code to set the current percentage | ||||
|   //#define LCD_SET_PROGRESS_MANUALLY | ||||
|  | ||||
|   // This allows hosts to request long names for files and folders with M33 | ||||
|   //#define LONG_FILENAME_HOST_SUPPORT | ||||
|  | ||||
| @@ -641,6 +645,22 @@ | ||||
|   // Swap the CW/CCW indicators in the graphics overlay | ||||
|   //#define OVERLAY_GFX_REVERSE | ||||
|  | ||||
|   #if ENABLED(U8GLIB_ST7920) | ||||
|     /** | ||||
|      * ST7920-based LCDs can emulate a 16 x 4 character display using | ||||
|      * the ST7920 character-generator for very fast screen updates. | ||||
|      * Enable LIGHTWEIGHT_UI to use this special display mode. | ||||
|      * | ||||
|      * Since LIGHTWEIGHT_UI has limited space, the position and status | ||||
|      * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the | ||||
|      * length of time to display the status message before clearing. | ||||
|      */ | ||||
|     //#define LIGHTWEIGHT_UI | ||||
|     #if ENABLED(LIGHTWEIGHT_UI) | ||||
|       #define STATUS_EXPIRE_SECONDS 20 | ||||
|     #endif | ||||
|   #endif | ||||
|  | ||||
| #endif // DOGLCD | ||||
|  | ||||
| // @section safety | ||||
| @@ -1580,17 +1600,17 @@ | ||||
|  */ | ||||
| #define MAX7219_DEBUG | ||||
| #if ENABLED(MAX7219_DEBUG) | ||||
| //#define MAX7219_CLK_PIN   64  // on RAMPS       // Configuration of the 3 pins to control the display | ||||
| //#define MAX7219_DIN_PIN   57  // on RAMPS | ||||
| //#define MAX7219_LOAD_PIN  44  // on RAMPS | ||||
| #define MAX7219_CLK_PIN   64  // on RAMPS       // Configuration of the 3 pins to control the display | ||||
| #define MAX7219_DIN_PIN   57  // on RAMPS | ||||
| #define MAX7219_LOAD_PIN  44  // on RAMPS | ||||
|  | ||||
| //#define MAX7219_CLK_PIN   77 // on Re-ARM       // Configuration of the 3 pins to control the display | ||||
| //#define MAX7219_DIN_PIN   78 // on Re-ARM | ||||
| //#define MAX7219_LOAD_PIN  79 // on Re-ARM | ||||
|  | ||||
|   #define MAX7219_CLK_PIN   30 // for RAMPS E1     // Configuration of the 3 pins to control the display | ||||
|   #define MAX7219_DIN_PIN   34 // for RAMPS E1 | ||||
|   #define MAX7219_LOAD_PIN  36 // for RAMPS E1 | ||||
| //#define MAX7219_CLK_PIN   30 // for RAMPS E1     // Configuration of the 3 pins to control the display | ||||
| //#define MAX7219_DIN_PIN   34 // for RAMPS E1 | ||||
| //#define MAX7219_LOAD_PIN  36 // for RAMPS E1 | ||||
|  | ||||
|   /** | ||||
|    * Sample debug features | ||||
|   | ||||
		Reference in New Issue
	
	Block a user