|
72 | 72 |
|
73 | 73 | // Author info of this build printed to the host during boot and M115
|
74 | 74 | #define STRING_CONFIG_H_AUTHOR "(alpine, sappireTFT35)" // Who made the changes.
|
| 75 | +//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes) |
| 76 | + |
75 | 77 |
|
76 | 78 | /**
|
77 | 79 | * *** VENDORS PLEASE READ ***
|
|
418 | 420 | #define TEMP_SENSOR_5 0
|
419 | 421 | //@
|
420 | 422 | #define TEMP_SENSOR_BED 1
|
421 |
| -#define TEMP_SENSOR_CHAMBER 0 |
| 423 | +#define TEMP_SENSOR_CHAMBER 5 |
422 | 424 |
|
423 | 425 | // Dummy thermistor constant temperature readings, for use with 998 and 999
|
424 | 426 | #define DUMMY_THERMISTOR_998_VALUE 25
|
|
430 | 432 | #define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10
|
431 | 433 |
|
432 | 434 | #define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109
|
433 |
| -#define TEMP_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer |
| 435 | +#define TEMP_WINDOW 2 // (°C) Temperature proximity for the "temperature reached" timer |
434 | 436 | #define TEMP_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
435 | 437 |
|
436 | 438 | #define TEMP_BED_RESIDENCY_TIME 10 // (seconds) Time to wait for bed to "settle" in M190
|
437 |
| -#define TEMP_BED_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer |
| 439 | +#define TEMP_BED_WINDOW 2 // (°C) Temperature proximity for the "temperature reached" timer |
438 | 440 | #define TEMP_BED_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
439 | 441 |
|
440 | 442 | // Below this temperature the heater will be switched off
|
|
595 | 597 |
|
596 | 598 | #define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
|
597 | 599 | #define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
598 |
| -#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber |
| 600 | +//#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber |
599 | 601 |
|
600 | 602 | //===========================================================================
|
601 | 603 | //============================= Mechanical Settings =========================
|
|
663 | 665 | #define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
664 | 666 | #define Y_MAX_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
665 | 667 | #define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
666 |
| -#define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe. |
| 668 | +#define Z_MIN_PROBE_ENDSTOP_INVERTING true // Set to true to invert the logic of the probe. |
667 | 669 |
|
668 | 670 | /**
|
669 | 671 | * Stepper Drivers
|
|
688 | 690 | //#define Y2_DRIVER_TYPE A4988
|
689 | 691 | //#define Z2_DRIVER_TYPE A4988
|
690 | 692 | //#define Z3_DRIVER_TYPE A4988
|
691 |
| -#define E0_DRIVER_TYPE A4988 |
| 693 | +#define E0_DRIVER_TYPE TMC2130_STANDALONE |
692 | 694 | //#define E1_DRIVER_TYPE A4988
|
693 | 695 | //#define E2_DRIVER_TYPE A4988
|
694 | 696 | //#define E3_DRIVER_TYPE A4988
|
|
739 | 741 | * X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
|
740 | 742 | */
|
741 | 743 | //@ settings from 1.0.3 stock firmware
|
742 |
| -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80.3, 80.4, 1600, 415 } |
| 744 | +#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 1600, 415 } |
743 | 745 |
|
744 | 746 | /**
|
745 | 747 | * Default Max Feed Rate (mm/s)
|
746 | 748 | * Override with M203
|
747 | 749 | * X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
|
748 | 750 | */
|
749 | 751 | //@ keep speed reasonable
|
750 |
| -#define DEFAULT_MAX_FEEDRATE { 200, 200, 4, 75 } |
| 752 | +#define DEFAULT_MAX_FEEDRATE { 200, 200, 10, 75 } |
751 | 753 |
|
752 | 754 | //#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
753 | 755 | #if ENABLED(LIMITED_MAX_FR_EDITING)
|
|
786 | 788 | * Override with M205 X Y Z E
|
787 | 789 | *
|
788 | 790 | * "Jerk" specifies the minimum speed change that requires acceleration.
|
789 |
| - * When changing speed and direction, if the difference is less than the |
| 791 | + * When changing speed and , if the difference is less than the |
790 | 792 | * value set here, it may happen instantaneously.
|
791 | 793 | */
|
792 | 794 | //#define CLASSIC_JERK
|
|
872 | 874 | * or (with LCD_BED_LEVELING) the LCD controller.
|
873 | 875 | */
|
874 | 876 | //@
|
875 |
| -#define PROBE_MANUALLY |
| 877 | +//#define PROBE_MANUALLY |
876 | 878 | //#define MANUAL_PROBE_START_Z 0
|
877 | 879 |
|
878 | 880 | /**
|
879 | 881 | * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
|
880 | 882 | * (e.g., an inductive probe or a nozzle-based probe-switch.)
|
881 | 883 | */
|
882 |
| -//#define FIX_MOUNTED_PROBE |
| 884 | +#define FIX_MOUNTED_PROBE |
883 | 885 |
|
884 | 886 | /**
|
885 | 887 | * Z Servo Probe, such as an endstop switch on a rotating arm.
|
|
947 | 949 | *
|
948 | 950 | * Specify a Probe position as { X, Y, Z }
|
949 | 951 | */
|
950 |
| -#define NOZZLE_TO_PROBE_OFFSET { 0, 0, 0 } |
| 952 | +#define NOZZLE_TO_PROBE_OFFSET { 14, -40, 0 } |
951 | 953 |
|
952 | 954 | // Certain types of probes need to stay away from edges
|
953 |
| -#define MIN_PROBE_EDGE 10 |
| 955 | +#define MIN_PROBE_EDGE 5 |
954 | 956 |
|
955 | 957 | // X and Y axis travel speed (mm/m) between probes
|
956 | 958 | //@
|
|
971 | 973 | * A total of 2 does fast/slow probes with a weighted average.
|
972 | 974 | * A total of 3 or more adds more slow probes, taking the average.
|
973 | 975 | */
|
974 |
| -//#define MULTIPLE_PROBING 2 |
| 976 | +#define MULTIPLE_PROBING 5 |
975 | 977 | //#define EXTRA_PROBING 1
|
976 | 978 |
|
977 | 979 | /**
|
|
988 | 990 | * Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
|
989 | 991 | * But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
|
990 | 992 | */
|
991 |
| -#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow |
992 |
| -#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points |
993 |
| -#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes |
994 |
| -//#define Z_AFTER_PROBING 5 // Z position after probing is done |
| 993 | +#define Z_CLEARANCE_DEPLOY_PROBE 5 // Z Clearance for Deploy/Stow |
| 994 | +#define Z_CLEARANCE_BETWEEN_PROBES 3 // Z Clearance between probe points |
| 995 | +#define Z_CLEARANCE_MULTI_PROBE 1 // Z Clearance between multiple probes |
| 996 | +#define Z_AFTER_PROBING 5 // Z position after probing is done |
995 | 997 |
|
996 | 998 | #define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
|
997 | 999 |
|
|
1015 | 1017 | * These options are most useful for the BLTouch probe, but may also improve
|
1016 | 1018 | * readings with inductive probes and piezo sensors.
|
1017 | 1019 | */
|
1018 |
| -//#define PROBING_HEATERS_OFF // Turn heaters off when probing |
| 1020 | +#define PROBING_HEATERS_OFF // Turn heaters off when probing |
1019 | 1021 | #if ENABLED(PROBING_HEATERS_OFF)
|
1020 | 1022 | //#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy)
|
1021 | 1023 | #endif
|
|
1055 | 1057 | // @section extruder
|
1056 | 1058 |
|
1057 | 1059 | // For direct drive extruder v9 set to true, for geared extruder set to false.
|
1058 |
| -#define INVERT_E0_DIR false |
| 1060 | +#define INVERT_E0_DIR true |
1059 | 1061 | #define INVERT_E1_DIR false
|
1060 | 1062 | #define INVERT_E2_DIR false
|
1061 | 1063 | #define INVERT_E3_DIR false
|
|
1138 | 1140 | #if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
1139 | 1141 | #define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
|
1140 | 1142 | #define FIL_RUNOUT_INVERTING false // Set to true to invert the logic of the sensor.
|
1141 |
| - #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. |
| 1143 | + //#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. |
1142 | 1144 | //#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
1143 | 1145 |
|
1144 | 1146 | // Set one or more commands to execute on filament runout.
|
|
1198 | 1200 | */
|
1199 | 1201 | //#define AUTO_BED_LEVELING_3POINT
|
1200 | 1202 | //#define AUTO_BED_LEVELING_LINEAR
|
1201 |
| -//#define AUTO_BED_LEVELING_BILINEAR |
| 1203 | +#define AUTO_BED_LEVELING_BILINEAR |
1202 | 1204 | //#define AUTO_BED_LEVELING_UBL
|
1203 |
| -#define MESH_BED_LEVELING |
| 1205 | +//#define MESH_BED_LEVELING |
1204 | 1206 |
|
1205 | 1207 | /**
|
1206 | 1208 | * Normally G28 leaves leveling disabled on completion. Enable
|
|
1245 | 1247 | #if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)
|
1246 | 1248 |
|
1247 | 1249 | // Set the number of grid points per dimension.
|
1248 |
| - #define GRID_MAX_POINTS_X 3 |
| 1250 | + #define GRID_MAX_POINTS_X 4 |
1249 | 1251 | #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
1250 | 1252 |
|
1251 | 1253 | // Probe along the Y axis, advancing X after each column
|
|
1275 | 1277 | //========================= Unified Bed Leveling ============================
|
1276 | 1278 | //===========================================================================
|
1277 | 1279 |
|
1278 |
| - //#define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh |
| 1280 | + #define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh |
1279 | 1281 |
|
1280 | 1282 | #define MESH_INSET 20 // Set Mesh bounds as an inset region of the bed
|
1281 | 1283 | #define GRID_MAX_POINTS_X 10 // Don't use more than 15 points per axis, implementation limited.
|
|
1353 | 1355 | // - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
|
1354 | 1356 | // - Prevent Z homing when the Z probe is outside bed area.
|
1355 | 1357 | //
|
1356 |
| -//#define Z_SAFE_HOMING |
| 1358 | +#define Z_SAFE_HOMING |
1357 | 1359 |
|
1358 | 1360 | #if ENABLED(Z_SAFE_HOMING)
|
1359 |
| - #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28). |
1360 |
| - #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axes (G28). |
| 1361 | + #define Z_SAFE_HOMING_X_POINT (46) // X point for Z homing when homing all axes (G28). |
| 1362 | + #define Z_SAFE_HOMING_Y_POINT (100) // Y point for Z homing when homing all axes (G28). |
1361 | 1363 | #endif
|
1362 | 1364 |
|
1363 | 1365 | // Homing speeds (mm/m)
|
|
2095 | 2097 |
|
2096 | 2098 | //@
|
2097 | 2099 | #define FSMC_GRAPHICAL_TFT
|
| 2100 | +#if ENABLED(FSMC_GRAPHICAL_TFT) |
| 2101 | + // |
| 2102 | + // FSMC_UPSCALE 2 2x upscaler for 320x240 displays (default) |
| 2103 | + // FSMC_UPSCALE 3 3x upscaler for 480x320 displays |
| 2104 | + // |
| 2105 | + #define FSMC_UPSCALE 3 |
| 2106 | + |
| 2107 | + // |
| 2108 | + // Change colors |
| 2109 | + // some colors are predefined, see /src/lcd/dogm/u8g_dev_tft_480~.cpp Line 160 |
| 2110 | + // or use 16bit color (e.g. 0x0000 = black, 0xFFE0 = yellow) |
| 2111 | + // see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html |
| 2112 | + // |
| 2113 | + |
| 2114 | + #define TFT_MARLINUI_COLOR COLOR_WHITE // main foreground color |
| 2115 | + #define TFT_MARLINBG_COLOR COLOR_NAVY // background color |
| 2116 | + #define TFT_BTCANCEL_COLOR 0xA9A6 // cancel button |
| 2117 | + #define TFT_BTARROWS_COLOR COLOR_WHITE // arrows up/down |
| 2118 | + #define TFT_BTOKMENU_COLOR COLOR_WHITE // enter button |
| 2119 | + //#define TFT_DISABLED_COLOR COLOR_DARK // currently not used |
| 2120 | + |
| 2121 | +#endif |
2098 | 2122 |
|
2099 | 2123 | //=============================================================================
|
2100 | 2124 | //============================ Other Controllers ============================
|
|
0 commit comments