Initial config import from luxuri and first pass sweep for issues
This commit is contained in:
+263
-151
@@ -74,7 +74,7 @@
|
||||
// @section info
|
||||
|
||||
// Author info of this build printed to the host during boot and M115
|
||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||
#define STRING_CONFIG_H_AUTHOR "InsanityAutomation" // Who made the changes.
|
||||
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)
|
||||
|
||||
/**
|
||||
@@ -89,7 +89,7 @@
|
||||
*/
|
||||
|
||||
// Show the Marlin bootscreen on startup. ** ENABLE FOR PRODUCTION **
|
||||
#define SHOW_BOOTSCREEN
|
||||
//#define SHOW_BOOTSCREEN
|
||||
|
||||
// Show the bitmap in Marlin/_Bootscreen.h on startup.
|
||||
//#define SHOW_CUSTOM_BOOTSCREEN
|
||||
@@ -100,10 +100,15 @@
|
||||
// @section machine
|
||||
|
||||
// Choose the name from boards.h that matches your setup
|
||||
#ifndef MOTHERBOARD
|
||||
#define MOTHERBOARD BOARD_RAMPS_14_EFB
|
||||
#endif
|
||||
|
||||
#ifndef MOTHERBOARD
|
||||
#if ENABLED(BTTSKRPRO)
|
||||
#define MOTHERBOARD BOARD_BTT_SKR_PRO_V1_2
|
||||
#elif ENABLED(OCTOPUS)
|
||||
#define MOTHERBOARD BOARD_BTT_OCTOPUS_V1_0
|
||||
#else
|
||||
#define MOTHERBOARD BOARD_TENLOG_D3_HERO
|
||||
#endif
|
||||
#endif
|
||||
/**
|
||||
* Select the 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.
|
||||
@@ -112,7 +117,22 @@
|
||||
*
|
||||
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
||||
*/
|
||||
#define SERIAL_PORT 0
|
||||
#if ENABLED(BTTSKRPRO)
|
||||
#define SERIAL_PORT -1
|
||||
#define LCD_SERIAL_PORT 1
|
||||
#define BAUDRATE_2 115200
|
||||
#elif ENABLED(OCTOPUS)
|
||||
#define SERIAL_PORT -1
|
||||
#define LCD_SERIAL_PORT 1
|
||||
#define SERIAL_PORT_3 2
|
||||
#define BAUDRATE_2 115200
|
||||
#define BAUDRATE_3 115200
|
||||
#else
|
||||
#define SERIAL_PORT 0
|
||||
#define LCD_SERIAL_PORT 2
|
||||
#define BAUDRATE_2 115200
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Serial Port Baud Rate
|
||||
@@ -148,7 +168,7 @@
|
||||
//#define BLUETOOTH
|
||||
|
||||
// Name displayed in the LCD "Ready" message and Info menu
|
||||
//#define CUSTOM_MACHINE_NAME "3D Printer"
|
||||
#define CUSTOM_MACHINE_NAME "Tenlog D3"
|
||||
|
||||
// Printer's unique ID, used by some programs to differentiate between machines.
|
||||
// Choose your own or use a service like https://www.uuidgenerator.net/version4
|
||||
@@ -216,7 +236,7 @@
|
||||
|
||||
// This defines the number of extruders
|
||||
// :[0, 1, 2, 3, 4, 5, 6, 7, 8]
|
||||
#define EXTRUDERS 1
|
||||
#define EXTRUDERS 2
|
||||
|
||||
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
|
||||
#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
|
||||
@@ -386,26 +406,26 @@
|
||||
* Enable and connect the power supply to the PS_ON_PIN.
|
||||
* Specify whether the power supply is active HIGH or active LOW.
|
||||
*/
|
||||
//#define PSU_CONTROL
|
||||
#define PSU_CONTROL
|
||||
//#define PSU_NAME "Power Supply"
|
||||
|
||||
#if ENABLED(PSU_CONTROL)
|
||||
//#define MKS_PWC // Using the MKS PWC add-on
|
||||
//#define PS_OFF_CONFIRM // Confirm dialog when power off
|
||||
//#define PS_OFF_SOUND // Beep 1s when power off
|
||||
#define PSU_ACTIVE_STATE LOW // Set 'LOW' for ATX, 'HIGH' for X-Box
|
||||
#define PSU_ACTIVE_STATE HIGH // Set 'LOW' for ATX, 'HIGH' for X-Box
|
||||
|
||||
//#define PSU_DEFAULT_OFF // Keep power off until enabled directly with M80
|
||||
//#define PSU_POWERUP_DELAY 250 // (ms) Delay for the PSU to warm up to full power
|
||||
//#define LED_POWEROFF_TIMEOUT 10000 // (ms) Turn off LEDs after power-off, with this amount of delay
|
||||
|
||||
//#define POWER_OFF_TIMER // Enable M81 D<seconds> to power off after a delay
|
||||
//#define POWER_OFF_WAIT_FOR_COOLDOWN // Enable M81 S to power off only after cooldown
|
||||
#define POWER_OFF_TIMER // Enable M81 D<seconds> to power off after a delay
|
||||
#define POWER_OFF_WAIT_FOR_COOLDOWN // Enable M81 S to power off only after cooldown
|
||||
|
||||
//#define PSU_POWERUP_GCODE "M355 S1" // G-code to run after power-on (e.g., case light on)
|
||||
//#define PSU_POWEROFF_GCODE "M355 S0" // G-code to run before power-off (e.g., case light off)
|
||||
|
||||
//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
|
||||
#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
|
||||
#if ENABLED(AUTO_POWER_CONTROL)
|
||||
#define AUTO_POWER_FANS // Turn on PSU if fans need power
|
||||
#define AUTO_POWER_E_FANS
|
||||
@@ -416,7 +436,7 @@
|
||||
//#define POWER_OFF_DELAY 60 // (s) Delay of poweroff after M81 command. Useful to let fans run for extra time.
|
||||
#endif
|
||||
#if EITHER(AUTO_POWER_CONTROL, POWER_OFF_WAIT_FOR_COOLDOWN)
|
||||
//#define AUTO_POWER_E_TEMP 50 // (°C) PSU on if any extruder is over this temperature
|
||||
#define AUTO_POWER_E_TEMP 50 // (°C) PSU on if any extruder is over this temperature
|
||||
//#define AUTO_POWER_CHAMBER_TEMP 30 // (°C) PSU on if the chamber is over this temperature
|
||||
//#define AUTO_POWER_COOLER_TEMP 26 // (°C) PSU on if the cooler is over this temperature
|
||||
#endif
|
||||
@@ -521,14 +541,18 @@
|
||||
*
|
||||
*/
|
||||
#define TEMP_SENSOR_0 1
|
||||
#define TEMP_SENSOR_1 0
|
||||
#define TEMP_SENSOR_1 1
|
||||
#define TEMP_SENSOR_2 0
|
||||
#define TEMP_SENSOR_3 0
|
||||
#define TEMP_SENSOR_4 0
|
||||
#define TEMP_SENSOR_5 0
|
||||
#define TEMP_SENSOR_6 0
|
||||
#define TEMP_SENSOR_7 0
|
||||
#define TEMP_SENSOR_BED 0
|
||||
#if ENABLED(ACBed)
|
||||
#define TEMP_SENSOR_BED 11
|
||||
#else
|
||||
#define TEMP_SENSOR_BED 1
|
||||
#endif
|
||||
#define TEMP_SENSOR_PROBE 0
|
||||
#define TEMP_SENSOR_CHAMBER 0
|
||||
#define TEMP_SENSOR_COOLER 0
|
||||
@@ -545,12 +569,12 @@
|
||||
//#define MAX31865_SENSOR_OHMS_1 100
|
||||
//#define MAX31865_CALIBRATION_OHMS_1 430
|
||||
|
||||
#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109
|
||||
#define TEMP_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
||||
#define TEMP_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
||||
#define TEMP_RESIDENCY_TIME 5 // (seconds) Time to wait for hotend to "settle" in M109
|
||||
#define TEMP_WINDOW 3 // (°C) Temperature proximity for the "temperature reached" timer
|
||||
#define TEMP_HYSTERESIS 5 // (°C) Temperature proximity considered "close enough" to the target
|
||||
|
||||
#define TEMP_BED_RESIDENCY_TIME 10 // (seconds) Time to wait for bed to "settle" in M190
|
||||
#define TEMP_BED_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
||||
#define TEMP_BED_WINDOW 2 // (°C) Temperature proximity for the "temperature reached" timer
|
||||
#define TEMP_BED_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
||||
|
||||
#define TEMP_CHAMBER_RESIDENCY_TIME 10 // (seconds) Time to wait for chamber to "settle" in M191
|
||||
@@ -589,8 +613,8 @@
|
||||
// Above this temperature the heater will be switched off.
|
||||
// This can protect components from overheating, but NOT from shorts and failures.
|
||||
// (Use MINTEMP for thermistor short/failure protection.)
|
||||
#define HEATER_0_MAXTEMP 275
|
||||
#define HEATER_1_MAXTEMP 275
|
||||
#define HEATER_0_MAXTEMP 315
|
||||
#define HEATER_1_MAXTEMP 315
|
||||
#define HEATER_2_MAXTEMP 275
|
||||
#define HEATER_3_MAXTEMP 275
|
||||
#define HEATER_4_MAXTEMP 275
|
||||
@@ -626,15 +650,15 @@
|
||||
#if ENABLED(PIDTEMP)
|
||||
//#define PID_EDIT_MENU // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
|
||||
//#define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
|
||||
//#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
|
||||
#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
|
||||
// Set/get with gcode: M301 E[extruder number, 0-2]
|
||||
|
||||
#if ENABLED(PID_PARAMS_PER_HOTEND)
|
||||
// Specify up to one value per hotend here, according to your setup.
|
||||
// If there are fewer values, the last one applies to the remaining hotends.
|
||||
#define DEFAULT_Kp_LIST { 22.20, 22.20 }
|
||||
#define DEFAULT_Ki_LIST { 1.08, 1.08 }
|
||||
#define DEFAULT_Kd_LIST { 114.00, 114.00 }
|
||||
#define DEFAULT_Kp_LIST { 16.80, 16.80 }
|
||||
#define DEFAULT_Ki_LIST { 1.32, 1.32 }
|
||||
#define DEFAULT_Kd_LIST { 53.34, 53.34 }
|
||||
#else
|
||||
#define DEFAULT_Kp 22.20
|
||||
#define DEFAULT_Ki 1.08
|
||||
@@ -697,7 +721,7 @@
|
||||
* heater. If your configuration is significantly different than this and you don't understand
|
||||
* the issues involved, don't use bed PID until someone else verifies that your hardware works.
|
||||
*/
|
||||
//#define PIDTEMPBED
|
||||
#define PIDTEMPBED
|
||||
|
||||
//#define BED_LIMIT_SWITCHING
|
||||
|
||||
@@ -715,9 +739,9 @@
|
||||
|
||||
// 120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
||||
// from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
||||
#define DEFAULT_bedKp 10.00
|
||||
#define DEFAULT_bedKi .023
|
||||
#define DEFAULT_bedKd 305.4
|
||||
#define DEFAULT_bedKp 154.01
|
||||
#define DEFAULT_bedKi 17.73
|
||||
#define DEFAULT_bedKd 892.09
|
||||
|
||||
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
||||
#endif // PIDTEMPBED
|
||||
@@ -860,7 +884,7 @@
|
||||
//#define USE_UMIN_PLUG
|
||||
//#define USE_VMIN_PLUG
|
||||
//#define USE_WMIN_PLUG
|
||||
//#define USE_XMAX_PLUG
|
||||
#define USE_XMAX_PLUG
|
||||
//#define USE_YMAX_PLUG
|
||||
//#define USE_ZMAX_PLUG
|
||||
//#define USE_IMAX_PLUG
|
||||
@@ -921,18 +945,26 @@
|
||||
#endif
|
||||
|
||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||
#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
||||
#if ENABLED(OpticalY)
|
||||
#define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
||||
#else
|
||||
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#endif
|
||||
#if ENABLED(BL_Touch)
|
||||
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#else
|
||||
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
||||
#endif
|
||||
#define I_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define J_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define K_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define U_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define V_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define W_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define X_MAX_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
||||
#define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define Z_MAX_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
||||
#define I_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define J_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
#define K_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
||||
@@ -959,12 +991,24 @@
|
||||
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
|
||||
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'POWERSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
|
||||
*/
|
||||
#define X_DRIVER_TYPE A4988
|
||||
#define Y_DRIVER_TYPE A4988
|
||||
#define Z_DRIVER_TYPE A4988
|
||||
//#define X2_DRIVER_TYPE A4988
|
||||
#if ENABLED(Driver2208)
|
||||
#define DRIVER TMC2208_STANDALONE
|
||||
#elif ENABLED(Driver2208_UART)
|
||||
#define DRIVER TMC2208
|
||||
#elif ENABLED(Driver2209)
|
||||
#define DRIVER TMC2209_STANDALONE
|
||||
#elif ENABLED(Driver2209_UART)
|
||||
#define DRIVER TMC2209
|
||||
#else
|
||||
#define DRIVER A4988
|
||||
#endif
|
||||
|
||||
#define X_DRIVER_TYPE DRIVER
|
||||
#define Y_DRIVER_TYPE DRIVER
|
||||
#define Z_DRIVER_TYPE DRIVER
|
||||
#define X2_DRIVER_TYPE DRIVER
|
||||
//#define Y2_DRIVER_TYPE A4988
|
||||
//#define Z2_DRIVER_TYPE A4988
|
||||
#define Z2_DRIVER_TYPE DRIVER
|
||||
//#define Z3_DRIVER_TYPE A4988
|
||||
//#define Z4_DRIVER_TYPE A4988
|
||||
//#define I_DRIVER_TYPE A4988
|
||||
@@ -973,8 +1017,8 @@
|
||||
//#define U_DRIVER_TYPE A4988
|
||||
//#define V_DRIVER_TYPE A4988
|
||||
//#define W_DRIVER_TYPE A4988
|
||||
#define E0_DRIVER_TYPE A4988
|
||||
//#define E1_DRIVER_TYPE A4988
|
||||
#define E0_DRIVER_TYPE DRIVER
|
||||
#define E1_DRIVER_TYPE DRIVER
|
||||
//#define E2_DRIVER_TYPE A4988
|
||||
//#define E3_DRIVER_TYPE A4988
|
||||
//#define E4_DRIVER_TYPE A4988
|
||||
@@ -1021,21 +1065,30 @@
|
||||
* following movement settings. If fewer factors are given than the
|
||||
* total number of extruders, the last value applies to the rest.
|
||||
*/
|
||||
//#define DISTINCT_E_FACTORS
|
||||
#define DISTINCT_E_FACTORS
|
||||
|
||||
/**
|
||||
* Default Axis Steps Per Unit (linear=steps/mm, rotational=steps/°)
|
||||
* Override with M92
|
||||
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
||||
*/
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 500 }
|
||||
#if ENABLED(TitanExtruder)
|
||||
#define ESTEPS 382.17
|
||||
#elif ANY(BMGExtruderV2, BMGExtruderV3)
|
||||
#define ESTEPS 413
|
||||
#elif ENABLED(H2Extruder)
|
||||
#define ESTEPS 932
|
||||
#else
|
||||
#define ESTEPS 92.6
|
||||
#endif
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 800, ESTEPS, ESTEPS }
|
||||
|
||||
/**
|
||||
* Default Max Feed Rate (linear=mm/s, rotational=°/s)
|
||||
* Override with M203
|
||||
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
||||
*/
|
||||
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
||||
#define DEFAULT_MAX_FEEDRATE { 200.00, 200.00, 10, 50, 50 }
|
||||
|
||||
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
||||
#if ENABLED(LIMITED_MAX_FR_EDITING)
|
||||
@@ -1048,7 +1101,7 @@
|
||||
* Override with M201
|
||||
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
||||
*/
|
||||
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
||||
#define DEFAULT_MAX_ACCELERATION {800, 800, 100, 1000, 1000}
|
||||
|
||||
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
||||
#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
|
||||
@@ -1063,9 +1116,9 @@
|
||||
* M204 R Retract Acceleration
|
||||
* M204 T Travel Acceleration
|
||||
*/
|
||||
#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves
|
||||
#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
||||
#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
||||
#define DEFAULT_ACCELERATION 500 // X, Y, Z and E acceleration for printing moves
|
||||
#define DEFAULT_RETRACT_ACCELERATION 500 // E acceleration for retracts
|
||||
#define DEFAULT_TRAVEL_ACCELERATION 750 // X, Y, Z acceleration for travel (non printing) moves
|
||||
|
||||
/**
|
||||
* Default Jerk limits (mm/s)
|
||||
@@ -1075,11 +1128,11 @@
|
||||
* When changing speed and direction, if the difference is less than the
|
||||
* value set here, it may happen instantaneously.
|
||||
*/
|
||||
//#define CLASSIC_JERK
|
||||
#define CLASSIC_JERK
|
||||
#if ENABLED(CLASSIC_JERK)
|
||||
#define DEFAULT_XJERK 10.0
|
||||
#define DEFAULT_YJERK 10.0
|
||||
#define DEFAULT_ZJERK 0.3
|
||||
#define DEFAULT_XJERK 20.0
|
||||
#define DEFAULT_YJERK 5.0
|
||||
#define DEFAULT_ZJERK 0.2
|
||||
//#define DEFAULT_IJERK 0.3
|
||||
//#define DEFAULT_JJERK 0.3
|
||||
//#define DEFAULT_KJERK 0.3
|
||||
@@ -1168,8 +1221,9 @@
|
||||
* Use G29 repeatedly, adjusting the Z height at each point with movement commands
|
||||
* or (with LCD_BED_LEVELING) the LCD controller.
|
||||
*/
|
||||
//#define PROBE_MANUALLY
|
||||
|
||||
#if DISABLED(BL_Touch)
|
||||
#define PROBE_MANUALLY
|
||||
#endif
|
||||
/**
|
||||
* A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
|
||||
* (e.g., an inductive probe or a nozzle-based probe-switch.)
|
||||
@@ -1191,7 +1245,9 @@
|
||||
/**
|
||||
* The BLTouch probe uses a Hall effect sensor and emulates a servo.
|
||||
*/
|
||||
//#define BLTOUCH
|
||||
#if ENABLED(BL_Touch)
|
||||
#define BLTOUCH
|
||||
#endif
|
||||
|
||||
/**
|
||||
* MagLev V4 probe by MDD
|
||||
@@ -1294,17 +1350,27 @@
|
||||
* | [-] |
|
||||
* O-- FRONT --+
|
||||
*/
|
||||
#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 }
|
||||
#if ENABLED(BMGExtruderV2)
|
||||
#define NOZZLE_TO_PROBE_OFFSET { -1.75, -42, -1.125 }
|
||||
#elif ENABLED(BMGExtruderV3)
|
||||
#define NOZZLE_TO_PROBE_OFFSET { -1.75, -42, -2.3837 }
|
||||
#elif ENABLED(TitanExtruder)
|
||||
#define NOZZLE_TO_PROBE_OFFSET { 7, -47, -1.34 }
|
||||
#elif ENABLED(H2Extruder)
|
||||
#define NOZZLE_TO_PROBE_OFFSET { -34.5, -3, -1.34 }
|
||||
#else
|
||||
#define NOZZLE_TO_PROBE_OFFSET { 34.5, -3, -2 }
|
||||
#endif
|
||||
|
||||
// Most probes should stay away from the edges of the bed, but
|
||||
// with NOZZLE_AS_PROBE this can be negative for a wider probing area.
|
||||
#define PROBING_MARGIN 10
|
||||
#define PROBING_MARGIN 15
|
||||
|
||||
// X and Y axis travel speed (mm/min) between probes
|
||||
#define XY_PROBE_FEEDRATE (133*60)
|
||||
|
||||
// Feedrate (mm/min) for the first approach when double-probing (MULTIPLE_PROBING == 2)
|
||||
#define Z_PROBE_FEEDRATE_FAST (4*60)
|
||||
#define Z_PROBE_FEEDRATE_FAST (8*60)
|
||||
|
||||
// Feedrate (mm/min) for the "accurate" probe of each point
|
||||
#define Z_PROBE_FEEDRATE_SLOW (Z_PROBE_FEEDRATE_FAST / 2)
|
||||
@@ -1354,7 +1420,7 @@
|
||||
* A total of 2 does fast/slow probes with a weighted average.
|
||||
* A total of 3 or more adds more slow probes, taking the average.
|
||||
*/
|
||||
//#define MULTIPLE_PROBING 2
|
||||
#define MULTIPLE_PROBING 2
|
||||
//#define EXTRA_PROBING 1
|
||||
|
||||
/**
|
||||
@@ -1371,16 +1437,16 @@
|
||||
* 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 10 // Z Clearance for Deploy/Stow
|
||||
#define Z_CLEARANCE_DEPLOY_PROBE 7 // Z Clearance for Deploy/Stow
|
||||
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
|
||||
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
|
||||
//#define Z_AFTER_PROBING 5 // Z position after probing is done
|
||||
|
||||
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
|
||||
#define Z_PROBE_LOW_POINT -4 // Farthest distance below the trigger-point to go before stopping
|
||||
|
||||
// For M851 give a range for adjusting the Z probe offset
|
||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||
#define Z_PROBE_OFFSET_RANGE_MIN -9
|
||||
#define Z_PROBE_OFFSET_RANGE_MAX 9
|
||||
|
||||
// Enable the M48 repeatability test to test probe accuracy
|
||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST
|
||||
@@ -1451,9 +1517,16 @@
|
||||
// @section machine
|
||||
|
||||
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
||||
#define INVERT_X_DIR false
|
||||
#define INVERT_Y_DIR true
|
||||
#define INVERT_Z_DIR false
|
||||
#if ENABLED(DriverA4988)
|
||||
#define INVERT_X_DIR false
|
||||
#define INVERT_Y_DIR true
|
||||
#define INVERT_Z_DIR false
|
||||
#else
|
||||
#define INVERT_X_DIR false
|
||||
#define INVERT_Y_DIR true
|
||||
#define INVERT_Z_DIR false
|
||||
#endif
|
||||
|
||||
//#define INVERT_I_DIR false
|
||||
//#define INVERT_J_DIR false
|
||||
//#define INVERT_K_DIR false
|
||||
@@ -1464,8 +1537,13 @@
|
||||
// @section extruder
|
||||
|
||||
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
||||
#define INVERT_E0_DIR false
|
||||
#define INVERT_E1_DIR false
|
||||
#if COUNT_ENABLED(DriverA4988, TitanExtruder) == 1
|
||||
#define INVERT_E0_DIR true
|
||||
#define INVERT_E1_DIR false
|
||||
#else
|
||||
#define INVERT_E0_DIR false
|
||||
#define INVERT_E1_DIR true
|
||||
#endif
|
||||
#define INVERT_E2_DIR false
|
||||
#define INVERT_E3_DIR false
|
||||
#define INVERT_E4_DIR false
|
||||
@@ -1505,16 +1583,56 @@
|
||||
// @section machine
|
||||
|
||||
// The size of the printable area
|
||||
#define X_BED_SIZE 200
|
||||
#define Y_BED_SIZE 200
|
||||
#if ANY(TitanExtruder, H2Extruder)
|
||||
#define Y_OFFSET -2 TERN_(OpticalY, - 8)
|
||||
#define X_OFFSET -3
|
||||
#elif ANY(BMGExtruderV2, BMGExtruderV3)
|
||||
#define Y_OFFSET 0 TERN_(OpticalY, - 8)
|
||||
#define X_OFFSET 0
|
||||
#else
|
||||
#define Y_OFFSET -4 TERN_(OpticalY, - 8)
|
||||
#define X_OFFSET -1
|
||||
#endif
|
||||
|
||||
#if ENABLED(MachineTLD3P)
|
||||
#define X_BED_SIZE 310
|
||||
#define Y_BED_SIZE 310
|
||||
#define Y_MAX_POS 333 + Y_OFFSET
|
||||
#define Z_MAX_POS 350
|
||||
#elif ENABLED(MachineTLD4)
|
||||
#define X_BED_SIZE 405
|
||||
#define Y_BED_SIZE 420
|
||||
#define Y_MAX_POS 433 + Y_OFFSET
|
||||
#define Z_MAX_POS 410
|
||||
#elif ENABLED(MachineTLD5)
|
||||
#define X_BED_SIZE 505
|
||||
#define Y_BED_SIZE 520
|
||||
#define Y_MAX_POS 533 + Y_OFFSET
|
||||
#define Z_MAX_POS 610
|
||||
#elif ENABLED(MachineTLD6)
|
||||
#define X_BED_SIZE 605
|
||||
#define Y_BED_SIZE 620
|
||||
#define Y_MAX_POS 633 + Y_OFFSET
|
||||
#define Z_MAX_POS 610
|
||||
#elif ENABLED(MachineTLD2P)
|
||||
#define X_BED_SIZE 220
|
||||
#define Y_BED_SIZE 225
|
||||
#define Y_MAX_POS 238 + Y_OFFSET
|
||||
#define Z_MAX_POS 260
|
||||
#elif ENABLED(MachineTLH2P)
|
||||
#define X_BED_SIZE 235
|
||||
#define Y_BED_SIZE 240
|
||||
#define Y_MAX_POS 253 + Y_OFFSET
|
||||
#define Z_MAX_POS 260
|
||||
#endif
|
||||
|
||||
// Travel limits (linear=mm, rotational=°) after homing, corresponding to endstop positions.
|
||||
#define X_MIN_POS 0
|
||||
#define X_MIN_POS -50 + X_OFFSET
|
||||
#define Y_MIN_POS 0
|
||||
#define Z_MIN_POS 0
|
||||
#define X_MAX_POS X_BED_SIZE
|
||||
#define Y_MAX_POS Y_BED_SIZE
|
||||
#define Z_MAX_POS 200
|
||||
//#define Y_MAX_POS Y_BED_SIZE
|
||||
//#define Z_MAX_POS 200
|
||||
//#define I_MIN_POS 0
|
||||
//#define I_MAX_POS 50
|
||||
//#define J_MIN_POS 0
|
||||
@@ -1582,66 +1700,52 @@
|
||||
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||
*/
|
||||
//#define FILAMENT_RUNOUT_SENSOR
|
||||
#define FILAMENT_RUNOUT_SENSOR
|
||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||
#define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
|
||||
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
|
||||
|
||||
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
//#define WATCH_ALL_RUNOUT_SENSORS // Execute runout script on any triggering sensor, not only for the active extruder.
|
||||
// This is automatically enabled for MIXING_EXTRUDERs.
|
||||
|
||||
// Override individually if the runout sensors vary
|
||||
//#define FIL_RUNOUT1_STATE LOW
|
||||
//#define FIL_RUNOUT1_PULLUP
|
||||
//#define FIL_RUNOUT1_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT2_STATE LOW
|
||||
//#define FIL_RUNOUT2_PULLUP
|
||||
//#define FIL_RUNOUT2_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT3_STATE LOW
|
||||
//#define FIL_RUNOUT3_PULLUP
|
||||
//#define FIL_RUNOUT3_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT4_STATE LOW
|
||||
//#define FIL_RUNOUT4_PULLUP
|
||||
//#define FIL_RUNOUT4_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT5_STATE LOW
|
||||
//#define FIL_RUNOUT5_PULLUP
|
||||
//#define FIL_RUNOUT5_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT6_STATE LOW
|
||||
//#define FIL_RUNOUT6_PULLUP
|
||||
//#define FIL_RUNOUT6_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT7_STATE LOW
|
||||
//#define FIL_RUNOUT7_PULLUP
|
||||
//#define FIL_RUNOUT7_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT8_STATE LOW
|
||||
//#define FIL_RUNOUT8_PULLUP
|
||||
//#define FIL_RUNOUT8_PULLDOWN
|
||||
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
|
||||
#define FIL_RUNOUT_ENABLED { true } // Default enabled state for sensors E0[, E1[, E2[, E3...]]]. Override with M591EnnSn followed by M500.
|
||||
#define FIL_RUNOUT_MODE { 2 } // Default mode for sensors E0[, E1[, E2[, E3...]]]. 0:NONE 1:Switch NO 2:Switch NC 7:Motion Sensor Override with M591EnPnn
|
||||
//#define WATCH_ALL_RUNOUT_SENSORS // Execute runout script on any triggering sensor, not only for the active extruder.
|
||||
// This is automatically enabled for MIXING_EXTRUDERs.
|
||||
|
||||
// Commands to execute on filament runout.
|
||||
// With multiple runout sensors use the %c placeholder for the current tool in commands (e.g., "M600 T%c")
|
||||
// NOTE: After 'M412 H1' the host handles filament runout and this script does not apply.
|
||||
// NOTE: After 'M591 H1' the host handles filament runout and this script does not apply.
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
//#define FILAMENT_RUNOUT_DISTANCE_MM 25
|
||||
// In Mode 1 or 2, continue printing this length of filament after a run out occurs before executing the
|
||||
// runout script. Useful for a sensor at the end of a feed tube or debounce on a flakey sensor.
|
||||
// In Mode 7, extrusion distance to expect a change of state.
|
||||
// Override with M591EnLnn
|
||||
#define FIL_RUNOUT_DISTANCE_MM { 10 }
|
||||
|
||||
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
|
||||
// Enable this option to use an encoder disc that toggles the runout pin
|
||||
// as the filament moves. (Be sure to set FILAMENT_RUNOUT_DISTANCE_MM
|
||||
// large enough to avoid false positives.)
|
||||
//#define FILAMENT_MOTION_SENSOR
|
||||
#endif
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Override individually if the runout sensors vary
|
||||
//#define FIL_RUNOUT1_PULLUP
|
||||
//#define FIL_RUNOUT1_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT2_PULLUP
|
||||
//#define FIL_RUNOUT2_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT3_PULLUP
|
||||
//#define FIL_RUNOUT3_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT4_PULLUP
|
||||
//#define FIL_RUNOUT4_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT5_PULLUP
|
||||
//#define FIL_RUNOUT5_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT6_PULLUP
|
||||
//#define FIL_RUNOUT6_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT7_PULLUP
|
||||
//#define FIL_RUNOUT7_PULLDOWN
|
||||
|
||||
//#define FIL_RUNOUT8_PULLUP
|
||||
//#define FIL_RUNOUT8_PULLDOWN
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
@@ -1686,14 +1790,18 @@
|
||||
//#define AUTO_BED_LEVELING_LINEAR
|
||||
//#define AUTO_BED_LEVELING_BILINEAR
|
||||
//#define AUTO_BED_LEVELING_UBL
|
||||
//#define MESH_BED_LEVELING
|
||||
#if ENABLED(BL_Touch)
|
||||
#define AUTO_BED_LEVELING_BILINEAR
|
||||
#else
|
||||
#define MESH_BED_LEVELING
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Normally G28 leaves leveling disabled on completion. Enable one of
|
||||
* these options to restore the prior leveling state or to always enable
|
||||
* leveling immediately after G28.
|
||||
*/
|
||||
//#define RESTORE_LEVELING_AFTER_G28
|
||||
#define RESTORE_LEVELING_AFTER_G28
|
||||
//#define ENABLE_LEVELING_AFTER_G28
|
||||
|
||||
/**
|
||||
@@ -1723,7 +1831,7 @@
|
||||
// The height can be set with M420 Z<height>
|
||||
#define ENABLE_LEVELING_FADE_HEIGHT
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
#define DEFAULT_LEVELING_FADE_HEIGHT 10.0 // (mm) Default fade height.
|
||||
#define DEFAULT_LEVELING_FADE_HEIGHT 00.0 // (mm) Default fade height.
|
||||
#endif
|
||||
|
||||
// For Cartesian machines, instead of dividing moves on mesh boundaries,
|
||||
@@ -1735,7 +1843,7 @@
|
||||
/**
|
||||
* Enable the G26 Mesh Validation Pattern tool.
|
||||
*/
|
||||
//#define G26_MESH_VALIDATION
|
||||
#define G26_MESH_VALIDATION
|
||||
#if ENABLED(G26_MESH_VALIDATION)
|
||||
#define MESH_TEST_NOZZLE_SIZE 0.4 // (mm) Diameter of primary nozzle.
|
||||
#define MESH_TEST_LAYER_HEIGHT 0.2 // (mm) Default layer height for G26.
|
||||
@@ -1751,7 +1859,7 @@
|
||||
#if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)
|
||||
|
||||
// Set the number of grid points per dimension.
|
||||
#define GRID_MAX_POINTS_X 3
|
||||
#define GRID_MAX_POINTS_X 5
|
||||
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
||||
|
||||
// Probe along the Y axis, advancing X after each column
|
||||
@@ -1761,7 +1869,7 @@
|
||||
|
||||
// Beyond the probed grid, continue the implied tilt?
|
||||
// Default is to maintain the height of the nearest edge.
|
||||
//#define EXTRAPOLATE_BEYOND_GRID
|
||||
#define EXTRAPOLATE_BEYOND_GRID
|
||||
|
||||
//
|
||||
// Experimental Subdivision of the grid by Catmull-Rom method.
|
||||
@@ -1804,7 +1912,7 @@
|
||||
//===========================================================================
|
||||
|
||||
#define MESH_INSET 10 // Set Mesh bounds as an inset region of the bed
|
||||
#define GRID_MAX_POINTS_X 3 // Don't use more than 7 points per axis, implementation limited.
|
||||
#define GRID_MAX_POINTS_X 5 // Don't use more than 7 points per axis, implementation limited.
|
||||
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
||||
|
||||
//#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
|
||||
@@ -1826,6 +1934,9 @@
|
||||
// Add a menu item to move between bed corners for manual bed adjustment
|
||||
//#define LEVEL_BED_CORNERS
|
||||
|
||||
#define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
|
||||
#define LEVEL_CORNERS_HEIGHT 0.0 // (mm) Z height of nozzle at leveling points
|
||||
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Z height of nozzle between leveling points
|
||||
#if ENABLED(LEVEL_BED_CORNERS)
|
||||
#define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
|
||||
#define LEVEL_CORNERS_HEIGHT 0.0 // (mm) Z height of nozzle at leveling points
|
||||
@@ -1888,8 +1999,9 @@
|
||||
* - Allows Z homing only when XY positions are known and trusted.
|
||||
* - If stepper drivers sleep, XY homing may be required again before Z homing.
|
||||
*/
|
||||
//#define Z_SAFE_HOMING
|
||||
|
||||
#if ENABLED(BL_Touch)
|
||||
#define Z_SAFE_HOMING
|
||||
#endif
|
||||
#if ENABLED(Z_SAFE_HOMING)
|
||||
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing
|
||||
#define Z_SAFE_HOMING_Y_POINT Y_CENTER // Y point for Z homing
|
||||
@@ -1973,12 +2085,12 @@
|
||||
* M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
|
||||
* M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
|
||||
*/
|
||||
//#define EEPROM_SETTINGS // Persistent storage with M500 and M501
|
||||
#define EEPROM_SETTINGS // Persistent storage with M500 and M501
|
||||
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
|
||||
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
|
||||
#define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load
|
||||
//#define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load
|
||||
#if ENABLED(EEPROM_SETTINGS)
|
||||
//#define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors.
|
||||
#define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors.
|
||||
//#define EEPROM_INIT_NOW // Init EEPROM on first boot after a new build.
|
||||
#endif
|
||||
|
||||
@@ -2030,11 +2142,11 @@
|
||||
* P1 Raise the nozzle always to Z-park height.
|
||||
* P2 Raise the nozzle by Z-park amount, limited to Z_MAX_POS.
|
||||
*/
|
||||
//#define NOZZLE_PARK_FEATURE
|
||||
#define NOZZLE_PARK_FEATURE
|
||||
|
||||
#if ENABLED(NOZZLE_PARK_FEATURE)
|
||||
// Specify a park position as { X, Y, Z_raise }
|
||||
#define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }
|
||||
#define NOZZLE_PARK_POINT { (X_BED_SIZE / 3), (Y_MIN_POS + 10), 5 }
|
||||
#define NOZZLE_PARK_MOVE 0 // Park motion: 0 = XY Move, 1 = X Only, 2 = Y Only, 3 = X before Y, 4 = Y before X
|
||||
#define NOZZLE_PARK_Z_RAISE_MIN 2 // (mm) Always raise Z by at least this distance
|
||||
#define NOZZLE_PARK_XY_FEEDRATE 100 // (mm/s) X and Y axes feedrate (also used for delta Z axis)
|
||||
@@ -2078,19 +2190,19 @@
|
||||
* Caveats: The ending Z should be the same as starting Z.
|
||||
* Attention: EXPERIMENTAL. G-code arguments may change.
|
||||
*/
|
||||
//#define NOZZLE_CLEAN_FEATURE
|
||||
#define NOZZLE_CLEAN_FEATURE
|
||||
|
||||
#if ENABLED(NOZZLE_CLEAN_FEATURE)
|
||||
// Default number of pattern repetitions
|
||||
#define NOZZLE_CLEAN_STROKES 12
|
||||
#define NOZZLE_CLEAN_STROKES 6
|
||||
|
||||
// Default number of triangles
|
||||
#define NOZZLE_CLEAN_TRIANGLES 3
|
||||
|
||||
// Specify positions for each tool as { { X, Y, Z }, { X, Y, Z } }
|
||||
// Dual hotend system may use { { -20, (Y_BED_SIZE / 2), (Z_MIN_POS + 1) }, { 420, (Y_BED_SIZE / 2), (Z_MIN_POS + 1) }}
|
||||
#define NOZZLE_CLEAN_START_POINT { { 30, 30, (Z_MIN_POS + 1) } }
|
||||
#define NOZZLE_CLEAN_END_POINT { { 100, 60, (Z_MIN_POS + 1) } }
|
||||
#define NOZZLE_CLEAN_START_POINT { { X_MIN_POS + 5 }, { X2_MAX_POS - 5 } }
|
||||
#define NOZZLE_CLEAN_END_POINT { { X_MIN_POS + 35 }, { X2_MAX_POS - 35 } }
|
||||
|
||||
// Circular pattern radius
|
||||
#define NOZZLE_CLEAN_CIRCLE_RADIUS 6.5
|
||||
@@ -2103,10 +2215,10 @@
|
||||
#define NOZZLE_CLEAN_GOBACK
|
||||
|
||||
// For a purge/clean station that's always at the gantry height (thus no Z move)
|
||||
//#define NOZZLE_CLEAN_NO_Z
|
||||
#define NOZZLE_CLEAN_NO_Z
|
||||
|
||||
// For a purge/clean station mounted on the X axis
|
||||
//#define NOZZLE_CLEAN_NO_Y
|
||||
#define NOZZLE_CLEAN_NO_Y
|
||||
|
||||
// Require a minimum hotend temperature for cleaning
|
||||
#define NOZZLE_CLEAN_MIN_TEMP 170
|
||||
@@ -2155,7 +2267,7 @@
|
||||
*
|
||||
* View the current statistics with M78.
|
||||
*/
|
||||
//#define PRINTCOUNTER
|
||||
#define PRINTCOUNTER
|
||||
#if ENABLED(PRINTCOUNTER)
|
||||
#define PRINTCOUNTER_SAVE_INTERVAL 60 // (minutes) EEPROM save interval during print
|
||||
#endif
|
||||
@@ -2246,7 +2358,7 @@
|
||||
* SD Card support is disabled by default. If your controller has an SD slot,
|
||||
* you must uncomment the following option or it won't work.
|
||||
*/
|
||||
//#define SDSUPPORT
|
||||
#define SDSUPPORT
|
||||
|
||||
/**
|
||||
* SD CARD: ENABLE CRC
|
||||
|
||||
+132
-83
@@ -280,12 +280,12 @@
|
||||
* THERMAL_PROTECTION_HYSTERESIS and/or THERMAL_PROTECTION_PERIOD
|
||||
*/
|
||||
#if ENABLED(THERMAL_PROTECTION_HOTENDS)
|
||||
#define THERMAL_PROTECTION_PERIOD 40 // Seconds
|
||||
#define THERMAL_PROTECTION_HYSTERESIS 4 // Degrees Celsius
|
||||
#define THERMAL_PROTECTION_PERIOD 20 // Seconds
|
||||
#define THERMAL_PROTECTION_HYSTERESIS 15 // Degrees Celsius
|
||||
|
||||
//#define ADAPTIVE_FAN_SLOWING // Slow part cooling fan if temperature drops
|
||||
#define ADAPTIVE_FAN_SLOWING // Slow part cooling fan if temperature drops
|
||||
#if BOTH(ADAPTIVE_FAN_SLOWING, PIDTEMP)
|
||||
//#define NO_FAN_SLOWING_IN_PID_TUNING // Don't slow fan speed during M303
|
||||
#define NO_FAN_SLOWING_IN_PID_TUNING // Don't slow fan speed during M303
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -309,7 +309,7 @@
|
||||
*/
|
||||
#if ENABLED(THERMAL_PROTECTION_BED)
|
||||
#define THERMAL_PROTECTION_BED_PERIOD 20 // Seconds
|
||||
#define THERMAL_PROTECTION_BED_HYSTERESIS 2 // Degrees Celsius
|
||||
#define THERMAL_PROTECTION_BED_HYSTERESIS 4 // Degrees Celsius
|
||||
|
||||
/**
|
||||
* As described above, except for the bed (M140/M190/M303).
|
||||
@@ -487,10 +487,10 @@
|
||||
* Hotend Idle Timeout
|
||||
* Prevent filament in the nozzle from charring and causing a critical jam.
|
||||
*/
|
||||
//#define HOTEND_IDLE_TIMEOUT
|
||||
#define HOTEND_IDLE_TIMEOUT
|
||||
#if ENABLED(HOTEND_IDLE_TIMEOUT)
|
||||
#define HOTEND_IDLE_TIMEOUT_SEC (5*60) // (seconds) Time without extruder movement to trigger protection
|
||||
#define HOTEND_IDLE_MIN_TRIGGER 180 // (°C) Minimum temperature to enable hotend protection
|
||||
#define HOTEND_IDLE_TIMEOUT_SEC (20*60) // (seconds) Time without extruder movement to trigger protection
|
||||
#define HOTEND_IDLE_MIN_TRIGGER 140 // (°C) Minimum temperature to enable hotend protection
|
||||
#define HOTEND_IDLE_NOZZLE_TARGET 0 // (°C) Safe temperature for the nozzle after timeout
|
||||
#define HOTEND_IDLE_BED_TARGET 0 // (°C) Safe temperature for the bed after timeout
|
||||
#endif
|
||||
@@ -511,9 +511,11 @@
|
||||
* The fan turns on automatically whenever any driver is enabled and turns
|
||||
* off (or reduces to idle speed) shortly after drivers are turned off.
|
||||
*/
|
||||
//#define USE_CONTROLLER_FAN
|
||||
#if ENABLED(BTTSKRPRO)
|
||||
#define USE_CONTROLLER_FAN
|
||||
#endif
|
||||
#if ENABLED(USE_CONTROLLER_FAN)
|
||||
//#define CONTROLLER_FAN_PIN -1 // Set a custom pin for the controller fan
|
||||
#define CONTROLLER_FAN_PIN FAN3_PIN // Set a custom pin for the controller fan
|
||||
//#define CONTROLLER_FAN_USE_Z_ONLY // With this option only the Z axis is considered
|
||||
//#define CONTROLLER_FAN_IGNORE_Z // Ignore Z stepper. Useful when stepper timeout is disabled.
|
||||
#define CONTROLLERFAN_SPEED_MIN 0 // (0-255) Minimum speed. (If set below this value the fan is turned off.)
|
||||
@@ -610,8 +612,13 @@
|
||||
* Multiple extruders can be assigned to the same pin in which case
|
||||
* the fan will turn on when any selected extruder is above the threshold.
|
||||
*/
|
||||
#define E0_AUTO_FAN_PIN -1
|
||||
#define E1_AUTO_FAN_PIN -1
|
||||
#if ENABLED(OCTOPUS)
|
||||
#define E0_AUTO_FAN_PIN PA8
|
||||
#define E1_AUTO_FAN_PIN PE5
|
||||
#else
|
||||
#define E0_AUTO_FAN_PIN FAN2_PIN
|
||||
#define E1_AUTO_FAN_PIN FAN2_PIN
|
||||
#endif
|
||||
#define E2_AUTO_FAN_PIN -1
|
||||
#define E3_AUTO_FAN_PIN -1
|
||||
#define E4_AUTO_FAN_PIN -1
|
||||
@@ -670,9 +677,15 @@
|
||||
* The multiplexer is automatically switched at tool-change.
|
||||
* Set FANMUX[012]_PINs below for up to 2, 4, or 8 multiplexed fans.
|
||||
*/
|
||||
#define FANMUX0_PIN -1
|
||||
#define FANMUX1_PIN -1
|
||||
#define FANMUX2_PIN -1
|
||||
#if ENABLED(OCTOPUS)
|
||||
#define FANMUX0_PIN PD12
|
||||
#define FANMUX1_PIN PD13
|
||||
#define FANMUX2_PIN -1
|
||||
#else
|
||||
#define FANMUX0_PIN -1
|
||||
#define FANMUX1_PIN -1
|
||||
#define FANMUX2_PIN -1
|
||||
#endif
|
||||
|
||||
/**
|
||||
* M355 Case Light on-off / brightness
|
||||
@@ -752,7 +765,7 @@
|
||||
//
|
||||
// For Z set the number of stepper drivers
|
||||
//
|
||||
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||
#define NUM_Z_STEPPER_DRIVERS 2 // (1-4) Z options change based on how many
|
||||
|
||||
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||
// Enable if Z motor direction signals are the opposite of Z1
|
||||
@@ -760,9 +773,11 @@
|
||||
//#define INVERT_Z3_VS_Z_DIR
|
||||
//#define INVERT_Z4_VS_Z_DIR
|
||||
|
||||
//#define Z_MULTI_ENDSTOPS
|
||||
#if DISABLED(BLTOUCH)
|
||||
#define Z_MULTI_ENDSTOPS
|
||||
#endif
|
||||
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||
#define Z2_USE_ENDSTOP _XMAX_
|
||||
#define Z2_USE_ENDSTOP _ZMAX_
|
||||
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||
#define Z3_USE_ENDSTOP _YMAX_
|
||||
@@ -809,13 +824,32 @@
|
||||
* Set the initial X offset and temperature differential with M605 S2 X[offs] R[deg] and
|
||||
* follow with M605 S3 to initiate mirrored movement.
|
||||
*/
|
||||
//#define DUAL_X_CARRIAGE
|
||||
#define DUAL_X_CARRIAGE
|
||||
#if ENABLED(DUAL_X_CARRIAGE)
|
||||
#define X1_MIN_POS X_MIN_POS // Set to X_MIN_POS
|
||||
#define X1_MIN_POS -50 // Set to X_MIN_POS
|
||||
#define X1_MAX_POS X_BED_SIZE // A max coordinate so the X1 carriage can't hit the parked X2 carriage
|
||||
#define X2_MIN_POS 80 // A min coordinate so the X2 carriage can't hit the parked X1 carriage
|
||||
#define X2_MAX_POS 353 // The max position of the X2 carriage, typically also the home position
|
||||
#define X2_HOME_DIR 1 // Set to 1. The X2 carriage always homes to the max endstop position
|
||||
#define X2_MIN_POS 15 // A min coordinate so the X2 carriage can't hit the parked X1 carriage
|
||||
#if ANY(TitanExtruder, H2Extruder)
|
||||
#define X2_OFFSET 12
|
||||
#elif ANY(BMGExtruderV2, BMGExtruderV3)
|
||||
#define X2_OFFSET 0
|
||||
#else
|
||||
#define X2_OFFSET -3
|
||||
#endif
|
||||
#if ENABLED(MachineTLD3P)
|
||||
#define X2_MAX_POS 359 + X2_OFFSET // The max position of the X2 carriage, typically also the home position
|
||||
#elif ENABLED(MachineTLD4)
|
||||
#define X2_MAX_POS 454 + X2_OFFSET
|
||||
#elif ENABLED(MachineTLD5)
|
||||
#define X2_MAX_POS 554 + X2_OFFSET
|
||||
#elif ENABLED(MachineTLD6)
|
||||
#define X2_MAX_POS 654 + X2_OFFSET
|
||||
#elif ENABLED(MachineTLD2P)
|
||||
#define X2_MAX_POS 264 + X2_OFFSET
|
||||
#elif ENABLED(MachineTLH2P)
|
||||
#define X2_MAX_POS 279 + X2_OFFSET
|
||||
#endif
|
||||
#define X2_HOME_DIR 1 // Set to 1. The X2 carriage always homes to the max endstop position
|
||||
#define X2_HOME_POS X2_MAX_POS // Default X2 home position. Set to X2_MAX_POS.
|
||||
// NOTE: For Dual X Carriage use M218 T1 Xn to override the X2_HOME_POS.
|
||||
// This allows recalibration of endstops distance without a rebuild.
|
||||
@@ -825,7 +859,7 @@
|
||||
#define DEFAULT_DUAL_X_CARRIAGE_MODE DXC_AUTO_PARK_MODE
|
||||
|
||||
// Default x offset in duplication mode (typically set to half print bed width)
|
||||
#define DEFAULT_DUPLICATION_X_OFFSET 100
|
||||
#define DEFAULT_DUPLICATION_X_OFFSET X_CENTER
|
||||
|
||||
// Default action to execute following M605 mode change commands. Typically G28X to apply new mode.
|
||||
//#define EVENT_GCODE_IDEX_AFTER_MODECHANGE "G28X"
|
||||
@@ -850,7 +884,7 @@
|
||||
|
||||
//#define HOMING_BACKOFF_POST_MM { 2, 2, 2 } // (linear=mm, rotational=°) Backoff from endstops after homing
|
||||
|
||||
//#define QUICK_HOME // If G28 contains XY do a diagonal move first
|
||||
#define QUICK_HOME // If G28 contains XY do a diagonal move first
|
||||
//#define HOME_Y_BEFORE_X // If G28 contains XY home Y before X
|
||||
//#define HOME_Z_FIRST // Home Z first. Requires a Z-MIN endstop (not a probe).
|
||||
//#define CODEPENDENT_XY_HOMING // If X/Y can't home without homing Y/X first
|
||||
@@ -919,7 +953,7 @@
|
||||
*
|
||||
* Set the default state here, change with 'M401 S' or UI, use M500 to save, M502 to reset.
|
||||
*/
|
||||
//#define BLTOUCH_HS_MODE true
|
||||
#define BLTOUCH_HS_MODE true
|
||||
|
||||
// Safety: Enable voltage mode settings in the LCD menu.
|
||||
//#define BLTOUCH_LCD_VOLTAGE_MENU
|
||||
@@ -932,7 +966,9 @@
|
||||
* Z Steppers Auto-Alignment
|
||||
* Add the G34 command to align multiple Z steppers using a bed probe.
|
||||
*/
|
||||
//#define Z_STEPPER_AUTO_ALIGN
|
||||
#if ENABLED(BL_Touch)
|
||||
#define Z_STEPPER_AUTO_ALIGN
|
||||
#endif
|
||||
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
|
||||
// Define probe X and Y positions for Z1, Z2 [, Z3 [, Z4]]
|
||||
// If not defined, probe limits will be used.
|
||||
@@ -975,13 +1011,13 @@
|
||||
#ifndef Z_STEPPER_ALIGN_STEPPER_XY
|
||||
// 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!
|
||||
#define Z_STEPPER_ALIGN_AMP 0.5 // Use a value > 1.0 NOTE: This may cause instability!
|
||||
#endif
|
||||
|
||||
// On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
|
||||
#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 Z_STEPPER_ALIGN_ITERATIONS 9 // Number of iterations to apply during alignment
|
||||
#define Z_STEPPER_ALIGN_ACC 0.01 // Stop iterating early if the accuracy is better than this
|
||||
#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.
|
||||
@@ -1058,7 +1094,7 @@
|
||||
|
||||
// Default Minimum Feedrates for printing and travel moves
|
||||
#define DEFAULT_MINIMUMFEEDRATE 0.0 // (mm/s. °/s for rotational-only moves) Minimum feedrate. Set with M205 S.
|
||||
#define DEFAULT_MINTRAVELFEEDRATE 0.0 // (mm/s. °/s for rotational-only moves) Minimum travel feedrate. Set with M205 T.
|
||||
#define DEFAULT_MINTRAVELFEEDRATE 10.0 // (mm/s. °/s for rotational-only moves) Minimum travel feedrate. Set with M205 T.
|
||||
|
||||
// Minimum time that a segment needs to take as the buffer gets emptied
|
||||
#define DEFAULT_MINSEGMENTTIME 20000 // (µs) Set with M205 B.
|
||||
@@ -1090,12 +1126,12 @@
|
||||
// Backlash Compensation
|
||||
// Adds extra movement to axes on direction-changes to account for backlash.
|
||||
//
|
||||
//#define BACKLASH_COMPENSATION
|
||||
#define BACKLASH_COMPENSATION
|
||||
#if ENABLED(BACKLASH_COMPENSATION)
|
||||
// Define values for backlash distance and correction.
|
||||
// If BACKLASH_GCODE is enabled these values are the defaults.
|
||||
#define BACKLASH_DISTANCE_MM { 0, 0, 0 } // (linear=mm, rotational=°) One value for each linear axis
|
||||
#define BACKLASH_CORRECTION 0.0 // 0.0 = no correction; 1.0 = full correction
|
||||
#define BACKLASH_CORRECTION 0.3 // 0.0 = no correction; 1.0 = full correction
|
||||
|
||||
// Add steps for motor direction changes on CORE kinematics
|
||||
//#define CORE_BACKLASH
|
||||
@@ -1105,11 +1141,11 @@
|
||||
//#define BACKLASH_SMOOTHING_MM 3 // (mm)
|
||||
|
||||
// Add runtime configuration and tuning of backlash values (M425)
|
||||
//#define BACKLASH_GCODE
|
||||
#define BACKLASH_GCODE
|
||||
|
||||
#if ENABLED(BACKLASH_GCODE)
|
||||
// Measure the Z backlash when probing (G29) and set with "M425 Z"
|
||||
#define MEASURE_BACKLASH_WHEN_PROBING
|
||||
//#define MEASURE_BACKLASH_WHEN_PROBING
|
||||
|
||||
#if ENABLED(MEASURE_BACKLASH_WHEN_PROBING)
|
||||
// When measuring, the probe will move up to BACKLASH_MEASUREMENT_LIMIT
|
||||
@@ -1371,7 +1407,7 @@
|
||||
//#define LCD_DECIMAL_SMALL_XY
|
||||
|
||||
// Add an 'M73' G-code to set the current percentage
|
||||
//#define LCD_SET_PROGRESS_MANUALLY
|
||||
#define LCD_SET_PROGRESS_MANUALLY
|
||||
|
||||
// Show the E position (filament used) during printing
|
||||
//#define LCD_SHOW_E_TOTAL
|
||||
@@ -1469,7 +1505,7 @@
|
||||
|
||||
//#define MEDIA_MENU_AT_TOP // Force the media menu to be listed on the top of the main menu
|
||||
|
||||
#define EVENT_GCODE_SD_ABORT "G28XY" // G-code to run on SD Abort Print (e.g., "G28XY" or "G27")
|
||||
#define EVENT_GCODE_SD_ABORT "G91\nG1Z5\nG90\nM84\nM104S0\nM140S0" // G-code to run on SD Abort Print (e.g., "G28XY" or "G27")
|
||||
|
||||
#if ENABLED(PRINTER_EVENT_LEDS)
|
||||
#define PE_LEDS_COMPLETED_TIME (30*60) // (seconds) Time to keep the LED "done" color before restoring normal illumination
|
||||
@@ -1483,13 +1519,13 @@
|
||||
* an option on the LCD screen to continue the print from the last-known
|
||||
* point in the file.
|
||||
*/
|
||||
//#define POWER_LOSS_RECOVERY
|
||||
#define 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 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_STATE HIGH // State of pin indicating power loss
|
||||
#define POWER_LOSS_PIN 32 // Pin to detect power loss. Set to -1 to disable default pin on boards without module.
|
||||
#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
|
||||
//#define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor
|
||||
//#define POWER_LOSS_PULLDOWN
|
||||
//#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume
|
||||
@@ -1548,7 +1584,7 @@
|
||||
// LCD's font must contain the characters. Check your selected LCD language.
|
||||
//#define UTF_FILENAME_SUPPORT
|
||||
|
||||
//#define LONG_FILENAME_HOST_SUPPORT // Get the long filename of a file/folder with 'M33 <dosname>' and list long filenames with 'M20 L'
|
||||
#define LONG_FILENAME_HOST_SUPPORT // Get the long filename of a file/folder with 'M33 <dosname>' and list long filenames with 'M20 L'
|
||||
//#define LONG_FILENAME_WRITE_SUPPORT // Create / delete files with long filenames via M28, M30, and Binary Transfer Protocol
|
||||
|
||||
//#define SCROLL_LONG_FILENAMES // Scroll long filenames in the SD card menu
|
||||
@@ -1564,7 +1600,7 @@
|
||||
|
||||
//#define SD_REPRINT_LAST_SELECTED_FILE // On print completion open the LCD Menu and select the same file
|
||||
|
||||
//#define AUTO_REPORT_SD_STATUS // Auto-report media status with 'M27 S<seconds>'
|
||||
#define AUTO_REPORT_SD_STATUS // Auto-report media status with 'M27 S<seconds>'
|
||||
|
||||
/**
|
||||
* Support for USB thumb drives using an Arduino USB Host Shield or
|
||||
@@ -1762,6 +1798,8 @@
|
||||
//
|
||||
// Additional options for DGUS / DWIN displays
|
||||
//
|
||||
#define DGUS_RX_BUFFER_SIZE 128
|
||||
#define DGUS_TX_BUFFER_SIZE 48
|
||||
#if HAS_DGUS_LCD
|
||||
#define LCD_SERIAL_PORT 3
|
||||
#define LCD_BAUDRATE 115200
|
||||
@@ -1966,15 +2004,15 @@
|
||||
*
|
||||
* Warning: Does not respect endstops!
|
||||
*/
|
||||
//#define BABYSTEPPING
|
||||
#define BABYSTEPPING
|
||||
#if ENABLED(BABYSTEPPING)
|
||||
//#define INTEGRATED_BABYSTEPPING // EXPERIMENTAL integration of babystepping into the Stepper ISR
|
||||
//#define BABYSTEP_WITHOUT_HOMING
|
||||
//#define BABYSTEP_ALWAYS_AVAILABLE // Allow babystepping at all times (not just during movement).
|
||||
#define BABYSTEP_ALWAYS_AVAILABLE // Allow babystepping at all times (not just during movement).
|
||||
//#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
|
||||
//#define BABYSTEP_MILLIMETER_UNITS // Specify BABYSTEP_MULTIPLICATOR_(XY|Z) in mm instead of micro-steps
|
||||
#define BABYSTEP_MULTIPLICATOR_Z 1 // (steps or mm) Steps or millimeter distance for each Z babystep
|
||||
#define BABYSTEP_MULTIPLICATOR_Z 40 // (steps or mm) Steps or millimeter distance for each Z babystep
|
||||
#define BABYSTEP_MULTIPLICATOR_XY 1 // (steps or mm) Steps or millimeter distance for each XY babystep
|
||||
|
||||
//#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
|
||||
@@ -1987,11 +2025,13 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//#define BABYSTEP_DISPLAY_TOTAL // Display total babysteps since last G28
|
||||
|
||||
//#define BABYSTEP_ZPROBE_OFFSET // Combine M851 Z and Babystepping
|
||||
#if DISABLED(BL_Touch)
|
||||
#define BABYSTEP_DISPLAY_TOTAL // Display total babysteps since last G28
|
||||
#else
|
||||
#define BABYSTEP_ZPROBE_OFFSET // Combine M851 Z and Babystepping
|
||||
#endif
|
||||
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
||||
//#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
|
||||
#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
|
||||
//#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
|
||||
#endif
|
||||
#endif
|
||||
@@ -2013,13 +2053,15 @@
|
||||
*
|
||||
* See https://marlinfw.org/docs/features/lin_advance.html for full instructions.
|
||||
*/
|
||||
//#define LIN_ADVANCE
|
||||
#if DISABLED(Driver2208)
|
||||
#define LIN_ADVANCE
|
||||
#endif
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
|
||||
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
|
||||
#define LIN_ADVANCE_K 0.0 // Unit: mm compression per 1mm/s extruder speed
|
||||
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
|
||||
//#define EXPERIMENTAL_SCURVE // Enable this option to permit S-Curve Acceleration
|
||||
//#define ALLOW_LOW_EJERK // Allow a DEFAULT_EJERK value of <10. Recommended for direct drive hotends.
|
||||
#define ALLOW_LOW_EJERK // Allow a DEFAULT_EJERK value of <10. Recommended for direct drive hotends.
|
||||
#endif
|
||||
|
||||
// @section leveling
|
||||
@@ -2305,7 +2347,7 @@
|
||||
// For debug-echo: 128 bytes for the optimal speed.
|
||||
// Other output doesn't need to be that speedy.
|
||||
// :[0, 2, 4, 8, 16, 32, 64, 128, 256]
|
||||
#define TX_BUFFER_SIZE 0
|
||||
#define TX_BUFFER_SIZE 128
|
||||
|
||||
// Host Receive Buffer Size
|
||||
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
|
||||
@@ -2343,7 +2385,7 @@
|
||||
* Currently handles M108, M112, M410, M876
|
||||
* NOTE: Not yet implemented for all platforms.
|
||||
*/
|
||||
//#define EMERGENCY_PARSER
|
||||
#define EMERGENCY_PARSER
|
||||
|
||||
/**
|
||||
* Realtime Reporting (requires EMERGENCY_PARSER)
|
||||
@@ -2372,7 +2414,7 @@
|
||||
//#define NO_TIMEOUTS 1000 // Milliseconds
|
||||
|
||||
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
|
||||
//#define ADVANCED_OK
|
||||
#define ADVANCED_OK
|
||||
|
||||
// Printrun may have trouble receiving long strings all at once.
|
||||
// This option inserts short delays between lines of serial output.
|
||||
@@ -2443,9 +2485,9 @@
|
||||
// Z raise distance for tool-change, as needed for some extruders
|
||||
#define TOOLCHANGE_ZRAISE 2 // (mm)
|
||||
//#define TOOLCHANGE_ZRAISE_BEFORE_RETRACT // Apply raise before swap retraction (if enabled)
|
||||
//#define TOOLCHANGE_NO_RETURN // Never return to previous position on tool-change
|
||||
#define TOOLCHANGE_NO_RETURN // Never return to previous position on tool-change
|
||||
#if ENABLED(TOOLCHANGE_NO_RETURN)
|
||||
//#define EVENT_GCODE_AFTER_TOOLCHANGE "G12X" // Extra G-code to run after tool-change
|
||||
#define EVENT_GCODE_AFTER_TOOLCHANGE "G12X" // Extra G-code to run after tool-change
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -2466,12 +2508,12 @@
|
||||
* Retract and prime filament on tool-change to reduce
|
||||
* ooze and stringing and to get cleaner transitions.
|
||||
*/
|
||||
//#define TOOLCHANGE_FILAMENT_SWAP
|
||||
#define TOOLCHANGE_FILAMENT_SWAP
|
||||
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
||||
// Load / Unload
|
||||
#define TOOLCHANGE_FS_LENGTH 12 // (mm) Load / Unload length
|
||||
#define TOOLCHANGE_FS_EXTRA_RESUME_LENGTH 0 // (mm) Extra length for better restart. Adjust with LCD or M217 B.
|
||||
#define TOOLCHANGE_FS_RETRACT_SPEED (50*60) // (mm/min) (Unloading)
|
||||
#define TOOLCHANGE_FS_LENGTH 6 // (mm) Load / Unload length
|
||||
#define TOOLCHANGE_FS_EXTRA_RESUME_LENGTH 1 // (mm) Extra length for better restart. Adjust with LCD or M217 B.
|
||||
#define TOOLCHANGE_FS_RETRACT_SPEED (25*60) // (mm/min) (Unloading)
|
||||
#define TOOLCHANGE_FS_UNRETRACT_SPEED (25*60) // (mm/min) (On SINGLENOZZLE or Bowden loading must be slowed down)
|
||||
|
||||
// Longer prime to clean out a SINGLENOZZLE
|
||||
@@ -2530,7 +2572,7 @@
|
||||
*
|
||||
* Enable PARK_HEAD_ON_PAUSE to add the G-code M125 Pause and Park.
|
||||
*/
|
||||
//#define ADVANCED_PAUSE_FEATURE
|
||||
#define ADVANCED_PAUSE_FEATURE
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
#define PAUSE_PARK_RETRACT_FEEDRATE 60 // (mm/s) Initial retract feedrate.
|
||||
#define PAUSE_PARK_RETRACT_LENGTH 2 // (mm) Initial retract.
|
||||
@@ -2544,9 +2586,9 @@
|
||||
#define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE 6 // (mm/s) Slow move when starting load.
|
||||
#define FILAMENT_CHANGE_SLOW_LOAD_LENGTH 0 // (mm) Slow length, to allow time to insert material.
|
||||
// 0 to disable start loading and skip to fast load only
|
||||
#define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE 6 // (mm/s) Load filament feedrate. This can be pretty fast.
|
||||
#define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE 30 // (mm/s) Load filament feedrate. This can be pretty fast.
|
||||
#define FILAMENT_CHANGE_FAST_LOAD_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate.
|
||||
#define FILAMENT_CHANGE_FAST_LOAD_LENGTH 0 // (mm) Load length of filament, from extruder gear to nozzle.
|
||||
#define FILAMENT_CHANGE_FAST_LOAD_LENGTH 75 // (mm) Load length of filament, from extruder gear to nozzle.
|
||||
// For Bowden, the full length of the tube and nozzle.
|
||||
// For direct drive, the full length of the nozzle.
|
||||
//#define ADVANCED_PAUSE_CONTINUOUS_PURGE // Purge continuously up to the purge length until interrupted.
|
||||
@@ -2565,16 +2607,16 @@
|
||||
#define FILAMENT_UNLOAD_PURGE_FEEDRATE 25 // (mm/s) feedrate to purge before unload
|
||||
|
||||
#define PAUSE_PARK_NOZZLE_TIMEOUT 45 // (seconds) Time limit before the nozzle is turned off for safety.
|
||||
#define FILAMENT_CHANGE_ALERT_BEEPS 10 // Number of alert beeps to play when a response is needed.
|
||||
#define FILAMENT_CHANGE_ALERT_BEEPS 2 // Number of alert beeps to play when a response is needed.
|
||||
#define PAUSE_PARK_NO_STEPPER_TIMEOUT // Enable for XYZ steppers to stay powered on during filament change.
|
||||
//#define FILAMENT_CHANGE_RESUME_ON_INSERT // Automatically continue / load filament when runout sensor is triggered again.
|
||||
//#define PAUSE_REHEAT_FAST_RESUME // Reduce number of waits by not prompting again post-timeout before continuing.
|
||||
|
||||
//#define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change.
|
||||
//#define HOME_BEFORE_FILAMENT_CHANGE // If needed, home before parking for filament change
|
||||
#define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change.
|
||||
#define HOME_BEFORE_FILAMENT_CHANGE // If needed, home before parking for filament change
|
||||
|
||||
//#define FILAMENT_LOAD_UNLOAD_GCODES // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
|
||||
//#define FILAMENT_UNLOAD_ALL_EXTRUDERS // Allow M702 to unload all extruders above a minimum target temp (as set by M302)
|
||||
#define FILAMENT_LOAD_UNLOAD_GCODES // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
|
||||
#define FILAMENT_UNLOAD_ALL_EXTRUDERS // Allow M702 to unload all extruders above a minimum target temp (as set by M302)
|
||||
#endif
|
||||
|
||||
// @section tmc
|
||||
@@ -3051,7 +3093,7 @@
|
||||
#define STEALTHCHOP_U
|
||||
#define STEALTHCHOP_V
|
||||
#define STEALTHCHOP_W
|
||||
#define STEALTHCHOP_E
|
||||
//#define STEALTHCHOP_E
|
||||
|
||||
/**
|
||||
* Optimize spreadCycle chopper parameters by using predefined parameter sets
|
||||
@@ -3068,7 +3110,7 @@
|
||||
* Define your own with:
|
||||
* { <off_time[1..15]>, <hysteresis_end[-3..12]>, hysteresis_start[1..8] }
|
||||
*/
|
||||
#define CHOPPER_TIMING CHOPPER_DEFAULT_12V // All axes (override below)
|
||||
#define CHOPPER_TIMING CHOPPER_DEFAULT_24V // All axes (override below)
|
||||
//#define CHOPPER_TIMING_X CHOPPER_TIMING // For X Axes (override below)
|
||||
//#define CHOPPER_TIMING_X2 CHOPPER_TIMING_X
|
||||
//#define CHOPPER_TIMING_Y CHOPPER_TIMING // For Y Axes (override below)
|
||||
@@ -3103,7 +3145,7 @@
|
||||
* M912 - Clear stepper driver overtemperature pre-warn condition flag.
|
||||
* M122 - Report driver parameters (Requires TMC_DEBUG)
|
||||
*/
|
||||
//#define MONITOR_DRIVER_STATUS
|
||||
#define MONITOR_DRIVER_STATUS
|
||||
|
||||
#if ENABLED(MONITOR_DRIVER_STATUS)
|
||||
#define CURRENT_STEP_DOWN 50 // [mA]
|
||||
@@ -3118,14 +3160,14 @@
|
||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||
* M913 X/Y/Z/E to live tune the setting
|
||||
*/
|
||||
//#define HYBRID_THRESHOLD
|
||||
#define HYBRID_THRESHOLD
|
||||
|
||||
#define X_HYBRID_THRESHOLD 100 // [mm/s]
|
||||
#define X2_HYBRID_THRESHOLD 100
|
||||
#define Y_HYBRID_THRESHOLD 100
|
||||
#define X_HYBRID_THRESHOLD 70 // [mm/s]
|
||||
#define X2_HYBRID_THRESHOLD 70
|
||||
#define Y_HYBRID_THRESHOLD 50
|
||||
#define Y2_HYBRID_THRESHOLD 100
|
||||
#define Z_HYBRID_THRESHOLD 3
|
||||
#define Z2_HYBRID_THRESHOLD 3
|
||||
#define Z_HYBRID_THRESHOLD 8
|
||||
#define Z2_HYBRID_THRESHOLD 8
|
||||
#define Z3_HYBRID_THRESHOLD 3
|
||||
#define Z4_HYBRID_THRESHOLD 3
|
||||
#define I_HYBRID_THRESHOLD 3 // [linear=mm/s, rotational=°/s]
|
||||
@@ -3206,13 +3248,13 @@
|
||||
* Beta feature!
|
||||
* Create a 50/50 square wave step pulse optimal for stepper drivers.
|
||||
*/
|
||||
//#define SQUARE_WAVE_STEPPING
|
||||
#define SQUARE_WAVE_STEPPING
|
||||
|
||||
/**
|
||||
* Enable M122 debugging command for TMC stepper drivers.
|
||||
* M122 S0/1 will enable continuous reporting.
|
||||
*/
|
||||
//#define TMC_DEBUG
|
||||
#define TMC_DEBUG
|
||||
|
||||
/**
|
||||
* You can set your own advanced settings by filling in predefined functions.
|
||||
@@ -3980,6 +4022,13 @@
|
||||
*/
|
||||
|
||||
// Custom Menu: Main Menu
|
||||
#if ENABLED(BLTOUCH)
|
||||
#define DualZComm "\nG34I8"
|
||||
#else
|
||||
#define DualZComm ""
|
||||
#endif
|
||||
#define MAIN_MENU_ITEM_1_GCODE "M190S55\nG28" DualZComm "\nG29\nM400\nM104S215\nG28\nM109S215\nM420S1\nG1X100Y100F5000\nG1Z0\nM500\nM117 Set Z Offset"
|
||||
|
||||
//#define CUSTOM_MENU_MAIN
|
||||
#if ENABLED(CUSTOM_MENU_MAIN)
|
||||
//#define CUSTOM_MENU_MAIN_TITLE "Custom Commands"
|
||||
@@ -4084,12 +4133,12 @@
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PAUSE_M76 // Tell the host to pause in response to M76
|
||||
//#define HOST_PROMPT_SUPPORT // Initiate host prompts to get user feedback
|
||||
#define HOST_PROMPT_SUPPORT // Initiate host prompts to get user feedback
|
||||
#if ENABLED(HOST_PROMPT_SUPPORT)
|
||||
//#define HOST_STATUS_NOTIFICATIONS // Send some status messages to the host as notifications
|
||||
#define HOST_STATUS_NOTIFICATIONS // Send some status messages to the host as notifications
|
||||
#endif
|
||||
//#define HOST_START_MENU_ITEM // Add a menu item that tells the host to start
|
||||
//#define HOST_SHUTDOWN_MENU_ITEM // Add a menu item that tells the host to shut down
|
||||
|
||||
@@ -35,14 +35,6 @@
|
||||
#define BOARD_INFO_NAME "Tenlog D3 Hero"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN 6
|
||||
#define SERVO2_PIN -1 // Original pin 5 used for hotend fans
|
||||
#define SERVO3_PIN 4
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
@@ -51,15 +43,13 @@
|
||||
#define Y_MIN_PIN 14
|
||||
//#define Y_MAX_PIN 15 // Connected to "DJ" plug on extruder heads
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 15 // Ramps is normally 32
|
||||
#if ENABLED(BLTOUCH)
|
||||
#define SERVO0_PIN 19
|
||||
#else
|
||||
#define Z_MAX_PIN 19
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
@@ -119,22 +109,15 @@
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_0_PIN 15 // Analog Input
|
||||
#define TEMP_1_PIN 13 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define TEMP_0_CS_PIN -1 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define TEMP_0_CS_PIN -1 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 11
|
||||
#define HEATER_0_PIN 11
|
||||
#define HEATER_1_PIN 10
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
@@ -142,9 +125,16 @@
|
||||
|
||||
// XXX Runout support unknown?
|
||||
//#define NUM_RUNOUT_SENSORS 0
|
||||
//#define FIL_RUNOUT_PIN 22
|
||||
#define FIL_RUNOUT_PIN 15
|
||||
//#define FIL_RUNOUT2_PIN 21
|
||||
|
||||
//
|
||||
// PSU and Powerloss Recovery
|
||||
//
|
||||
#ifdef PSU_CONTROL
|
||||
#define PS_ON_PIN 40
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
|
||||
+364
@@ -0,0 +1,364 @@
|
||||
#
|
||||
# Marlin Firmware
|
||||
# PlatformIO Configuration File
|
||||
#
|
||||
# Choose your firmware file based on your machine's configuration, using the following abbreviations:
|
||||
|
||||
# Abbreviations
|
||||
# Printer Models:
|
||||
# Tenlog D3P, Hictop D3 Hero, Copymaster = D3P
|
||||
# Tenlog D3S = D3S
|
||||
# Stepper Drivers:
|
||||
# Allegro A4988 = A4988
|
||||
# TMC 2208 = 2208
|
||||
# TMC 2209 = 2209
|
||||
# TMC 2209 for BTT SKR Pro, Octopus = Driver2209BTT
|
||||
# Y Endstop Type (Default is manual switch):
|
||||
# Optical Y = OpticalY
|
||||
# Probes:
|
||||
# Antclabs BL-Touch = BLTouch
|
||||
# Extruders (Default is stock extruder):
|
||||
# Hictop Titan Extruder = Titan
|
||||
# BMGV2 = https://www.thingiverse.com/thing:4886319
|
||||
# BMGV3 = TBD
|
||||
# Acessories:
|
||||
# Big Tree Tech Smart Filamant Sensor = BTTSFR
|
||||
# AC Mains Heat Bed = ACBed
|
||||
# Alternate Boards:
|
||||
# Big Tree Tech Octopus = OCTOPUS https://www.thingiverse.com/thing:4886287
|
||||
|
||||
# For example: If you have a Tenlog D3P with 2209 Drivers, an optical Y endstop, and Hictop Titan Extruders you would choose:
|
||||
# D3P_2209_OpticalY_Titan.hex
|
||||
# If you find there is a combination missing, let us know and we will add a build for it.
|
||||
|
||||
#################################
|
||||
# #
|
||||
# Luxuri Architecture #
|
||||
# #
|
||||
#################################
|
||||
#
|
||||
# AVR (8-bit) Common Environment values
|
||||
#
|
||||
[common_avr8]
|
||||
build_flags = ${common.build_flags} -Wl,--relax
|
||||
board_build.f_cpu = 16000000L
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||
#
|
||||
# A4988 Drivers
|
||||
#
|
||||
|
||||
[env:D3P_A4988]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriverA4988 -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_A4988_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriverA4988 -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_A4988_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriverA4988 -DBL_Touch -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_A4988_BLTouch_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriverA4988 -DBL_Touch -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
#
|
||||
# A4988 Drivers w/Titans
|
||||
#
|
||||
|
||||
[env:D3P_A4988_Titan]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriverA4988 -DTitanExtruder -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_A4988_Titan_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriverA4988 -DTitanExtruder -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_A4988_Titan_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriverA4988 -DTitanExtruder -DBL_Touch -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_A4988_Titan_BLTouch_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriverA4988 -DTitanExtruder -DBL_Touch -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
#
|
||||
# 2208 Drivers
|
||||
#
|
||||
|
||||
[env:D3P_2208]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DBL_Touch -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_BLTouch_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DBL_Touch -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
#
|
||||
# 2208 Drivers w/Titans
|
||||
#
|
||||
|
||||
[env:D3P_2208_Titan]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DTitanExtruder -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_Titan_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DTitanExtruder -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_Titan_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DTitanExtruder -DBL_Touch -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_Titan_BLTouch_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DTitanExtruder -DBL_Touch -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
#
|
||||
# 2208 Drivers w/Optical Y
|
||||
#
|
||||
|
||||
|
||||
[env:D3P_2208_OpticalY]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_OpticalY_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_OpticalY_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DPOWER_LOSS_TRIGGER_BY_PIN -DBL_Touch
|
||||
|
||||
[env:D3P_2208_OpticalY_H2]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DH2Extruder -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_OpticalY_H2_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DH2Extruder -DPOWER_LOSS_TRIGGER_BY_PIN -DBL_Touch
|
||||
|
||||
[env:D3P_2208_OpticalY_BLTouch_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DBL_Touch -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D5_2208_OpticalY]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD5 -DDriver2208 -DOpticalY
|
||||
|
||||
#
|
||||
# 2208 Drivers w/Optical Y and Titans
|
||||
#
|
||||
|
||||
[env:D3P_2208_OpticalY_Titan]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DTitanExtruder -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_OpticalY_Titan_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DTitanExtruder -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_OpticalY_Titan_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DTitanExtruder -DPOWER_LOSS_TRIGGER_BY_PIN -DBL_Touch
|
||||
|
||||
[env:D3P_2208_OpticalY_Titan_BLTouch_BTTSFR]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DTitanExtruder -DBL_Touch -DBTTSFR -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2208_OpticalY_Titan_AllMetalHotend_ACBed]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2208 -DOpticalY -DTitanExtruder -DAllMetalHotend -DACBed -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
#
|
||||
# 2209
|
||||
#
|
||||
[env:D3P_2209]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_OpticalY]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DOpticalY -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_OpticalY_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DOpticalY -DBL_Touch -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_Titan]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DTitanExtruder -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_Titan_ACBed]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DTitanExtruder -DACBed -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_Titan_OpticalY_ACBed]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DTitanExtruder -DOpticalY -DACBed -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_Titan_OpticalY_BLTouch_ACBed]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DTitanExtruder -DOpticalY -DBL_Touch -DACBed -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_Titan_BLTouch]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DTitanExtruder -DBL_Touch -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_Titan_BLTouch_ACBed]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DTitanExtruder -DBL_Touch -DACBed -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_Titan_BLTouch_AllMetalHotend_ACBed]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DTitanExtruder -DBL_Touch -DAllMetalHotend -DACBed -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3P_2209_OpticalY_Titan]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DOpticalY -DTitanExtruder -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
[env:D3S_2209_Titan]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DDriver2209 -DTitanExtruder
|
||||
|
||||
[env:D6P_2209_OpticalY]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD6 -DDriver2209 -DOpticalY -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
#
|
||||
# Custom
|
||||
#
|
||||
[env:TGCustom_2209_Titan]
|
||||
platform = atmelavr
|
||||
extends = common_avr8
|
||||
board = megaatmega2560
|
||||
build_flags = ${common.build_flags} -DMachineTLD3P -DTGCustom_2209_Titan -DPOWER_LOSS_TRIGGER_BY_PIN
|
||||
|
||||
# BigTreeTech Octopus V1.0 and V1.1 (STM32F446ZET6 ARM Cortex-M4)
|
||||
#
|
||||
[env:D3P_OCTOPUS_Driver2208_UART]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = stm32_variant
|
||||
board = marlin_BigTree_Octopus_v1
|
||||
board_build.offset = 0x8000
|
||||
build_flags = ${stm32_variant.build_flags} -DMachineTLD3P -DOCTOPUS -DDriver2208_UART -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
|
||||
|
||||
[env:D3P_OCTOPUS_Driver2208_UART_BLTouch_LCD_BTT_TFT]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = stm32_variant
|
||||
board = marlin_BigTree_Octopus_v1
|
||||
board_build.offset = 0x8000
|
||||
build_flags = ${stm32_variant.build_flags} -DMachineTLD3P -DOCTOPUS -DDriver2208_UART -DBL_Touch -DLCD_BTT_TFT -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
|
||||
|
||||
[env:D3P_OCTOPUS_Driver2209BTT_OpticalY_BMGV2_BLTouch]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = stm32_variant
|
||||
board = marlin_BigTree_Octopus_v1
|
||||
board_build.offset = 0x8000
|
||||
build_flags = ${stm32_variant.build_flags} -DMachineTLD3P -DOCTOPUS -DDriver2209BTT -DOpticalY -DBMGExtruderV2 -DBL_Touch -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
|
||||
|
||||
[env:D3P_OCTOPUS_Driver2209BTT_OpticalY_BMGV2_BLTouch_LCDmini12864]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = stm32_variant
|
||||
board = marlin_BigTree_Octopus_v1
|
||||
board_build.offset = 0x8000
|
||||
build_flags = ${stm32_variant.build_flags} -DMachineTLD3P -DOCTOPUS -DDriver2209BTT -DOpticalY -DBMGExtruderV2 -DBL_Touch -DLCDmini12864 -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
|
||||
|
||||
[env:D3P_OCTOPUS_Driver2209BTT_OpticalY_BMGV3_BLTouch_LCDmini12864]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = stm32_variant
|
||||
board = marlin_BigTree_Octopus_v1
|
||||
board_build.offset = 0x8000
|
||||
build_flags = ${stm32_variant.build_flags} -DMachineTLD3P -DOCTOPUS -DDriver2209BTT -DOpticalY -DBMGExtruderV3 -DBL_Touch -DLCDmini12864 -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
|
||||
+39
-1
@@ -13,7 +13,44 @@
|
||||
[platformio]
|
||||
src_dir = Marlin
|
||||
boards_dir = buildroot/share/PlatformIO/boards
|
||||
default_envs = mega2560
|
||||
default_envs =
|
||||
; A4988 Drivers
|
||||
D3P_A4988
|
||||
D3P_A4988_BLTouch
|
||||
; A4988 Drivers w/Titans
|
||||
D3P_A4988_Titan
|
||||
D3P_A4988_Titan_BLTouch
|
||||
; 2208 Drivers
|
||||
D3P_2208
|
||||
D3P_2208_BLTouch
|
||||
; 2208 Drivers w/Titans
|
||||
D3P_2208_Titan
|
||||
D3P_2208_Titan_BLTouch
|
||||
|
||||
; 2208 Drivers w/Optical Y
|
||||
D3P_2208_OpticalY
|
||||
D3P_2208_OpticalY_BLTouch
|
||||
D5_2208_OpticalY
|
||||
; 2208 Drivers w/Optical Y and Titans
|
||||
D3P_2208_OpticalY_Titan
|
||||
D3P_2208_OpticalY_Titan_BLTouch
|
||||
D3P_2208_OpticalY_Titan_AllMetalHotend_ACBed
|
||||
; 2209
|
||||
D3P_2209
|
||||
D3P_2209_OpticalY
|
||||
D3P_2209_OpticalY_BLTouch
|
||||
D3P_2209_Titan
|
||||
D3P_2209_Titan_OpticalY_ACBed
|
||||
D3P_2209_Titan_OpticalY_BLTouch_ACBed
|
||||
D3P_2209_Titan_BLTouch
|
||||
D3P_2209_Titan_BLTouch_ACBed
|
||||
D3P_2209_OpticalY_Titan
|
||||
D3S_2209_Titan
|
||||
D6P_2209_OpticalY
|
||||
; BTT OCTOPUS Builds
|
||||
D3P_OCTOPUS_Driver2208_UART
|
||||
D3P_OCTOPUS_Driver2209BTT_OpticalY_BMGV2_BLTouch
|
||||
|
||||
include_dir = Marlin
|
||||
extra_configs =
|
||||
ini/avr.ini
|
||||
@@ -33,6 +70,7 @@ extra_configs =
|
||||
ini/stm32g0.ini
|
||||
ini/teensy.ini
|
||||
ini/renamed.ini
|
||||
ini/tenlog.ini
|
||||
|
||||
#
|
||||
# The 'common' section applies to most Marlin builds.
|
||||
|
||||
Reference in New Issue
Block a user