Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user@host:~$ cat dev/Marlin-1.1.4/Marlin-1.1.x/Marlin/Configuration.h| sed -r ':a; s%(.*)/\*.*\*/%\1%; ta; /\/\*/ !b; N; ba'|sed -e 's/^[ ]*\/\/.*$//g'|grep -v -e "^$"
- #ifndef CONFIGURATION_H
- #define CONFIGURATION_H
- #define CONFIGURATION_H_VERSION 010100
- #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
- #define SHOW_BOOTSCREEN
- #define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
- #define STRING_SPLASH_LINE2 WEBSITE_URL // will be shown during bootup in line 2
- #define SERIAL_PORT 0
- #define BAUDRATE 250000
- #ifndef MOTHERBOARD
- #define MOTHERBOARD BOARD_RAMPS_13_EFB
- #endif
- #define EXTRUDERS 1
- #if ENABLED(MK2_MULTIPLEXER)
- #endif
- #if ENABLED(SWITCHING_EXTRUDER)
- #define SWITCHING_EXTRUDER_SERVO_NR 0
- #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1[, E2, E3]
- #if EXTRUDERS > 3
- #define SWITCHING_EXTRUDER_E23_SERVO_NR 1
- #endif
- #endif
- #if ENABLED(SWITCHING_NOZZLE)
- #define SWITCHING_NOZZLE_SERVO_NR 0
- #define SWITCHING_NOZZLE_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
- #endif
- #if ENABLED(MIXING_EXTRUDER)
- #define MIXING_STEPPERS 2 // Number of steppers in your mixing extruder
- #define MIXING_VIRTUAL_TOOLS 16 // Use the Virtual Tool method with M163 and M164
- #endif
- #define POWER_SUPPLY 0
- #if POWER_SUPPLY > 0
- #endif
- #define TEMP_SENSOR_0 1
- #define TEMP_SENSOR_1 0
- #define TEMP_SENSOR_2 0
- #define TEMP_SENSOR_3 0
- #define TEMP_SENSOR_4 0
- #define TEMP_SENSOR_BED 11
- #define DUMMY_THERMISTOR_998_VALUE 25
- #define DUMMY_THERMISTOR_999_VALUE 100
- #define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10
- #define TEMP_RESIDENCY_TIME 10 // (seconds)
- #define TEMP_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one
- #define TEMP_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.
- #define TEMP_BED_RESIDENCY_TIME 10 // (seconds)
- #define TEMP_BED_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one
- #define TEMP_BED_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.
- #define HEATER_0_MINTEMP 5
- #define HEATER_1_MINTEMP 5
- #define HEATER_2_MINTEMP 5
- #define HEATER_3_MINTEMP 5
- #define HEATER_4_MINTEMP 5
- #define BED_MINTEMP 5
- #define HEATER_0_MAXTEMP 275
- #define HEATER_1_MAXTEMP 275
- #define HEATER_2_MAXTEMP 275
- #define HEATER_3_MAXTEMP 275
- #define HEATER_4_MAXTEMP 275
- #define BED_MAXTEMP 150
- #define PIDTEMP
- #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
- #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
- #if ENABLED(PIDTEMP)
- #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
- #define K1 0.95 //smoothing factor within the PID
- #define DEFAULT_Kp 22.2
- #define DEFAULT_Ki 1.08
- #define DEFAULT_Kd 114
- #define DEFAULT_Kp 27.45
- #define DEFAULT_Ki 2.30
- #define DEFAULT_Kd 82.08
- #endif // PIDTEMP
- #define PIDTEMPBED
- #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
- #if ENABLED(PIDTEMPBED)
- #define DEFAULT_bedKp 998.21
- #define DEFAULT_bedKi 196.54
- #define DEFAULT_bedKd 1267.48
- #endif // PIDTEMPBED
- #define PREVENT_COLD_EXTRUSION
- #define EXTRUDE_MINTEMP 170
- #define PREVENT_LENGTHY_EXTRUDE
- #define EXTRUDE_MAXLENGTH 200
- #define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
- #define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
- #define USE_XMAX_PLUG
- #define USE_YMIN_PLUG
- #define USE_ZMIN_PLUG
- #define USE_ZMAX_PLUG
- #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
- #if DISABLED(ENDSTOPPULLUPS)
- #endif
- #define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
- #define Y_MIN_ENDSTOP_INVERTING true // 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_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 true // set to true to invert the logic of the endstop.
- #define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.
- #define DEFAULT_AXIS_STEPS_PER_UNIT { 80.97002085, 80.166746833, 3900.216249613, 799.06 }
- #define DEFAULT_MAX_FEEDRATE { 100, 100, 3, 25 }
- #define DEFAULT_MAX_ACCELERATION { 2000, 2000, 100, 2000 }
- #define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves
- #define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
- #define DEFAULT_TRAVEL_ACCELERATION 2000 // X, Y, Z acceleration for travel (non printing) moves
- #define DEFAULT_XJERK 10.0
- #define DEFAULT_YJERK 10.0
- #define DEFAULT_ZJERK 0.4
- #define DEFAULT_EJERK 5.0
- #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
- #define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
- #define Z_ENDSTOP_SERVO_NR 0 // Defaults to SERVO 0 connector.
- #define Z_SERVO_ANGLES {90,10} // Z Axis Extend and Retract angles
- #define BLTOUCH
- #if ENABLED(BLTOUCH)
- #endif
- #define X_PROBE_OFFSET_FROM_EXTRUDER -58 // X offset: -left +right [of the nozzle]
- #define Y_PROBE_OFFSET_FROM_EXTRUDER 0 // Y offset: -front +behind [the nozzle]
- #define Z_PROBE_OFFSET_FROM_EXTRUDER 8.3 // Z offset: -below +above [the nozzle]
- #define XY_PROBE_SPEED 8000
- #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
- #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
- #define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
- #define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
- #define Z_PROBE_OFFSET_RANGE_MIN -20
- #define Z_PROBE_OFFSET_RANGE_MAX 20
- #define X_ENABLE_ON 0
- #define Y_ENABLE_ON 0
- #define Z_ENABLE_ON 0
- #define E_ENABLE_ON 0 // For all extruders
- #define DISABLE_X false
- #define DISABLE_Y false
- #define DISABLE_Z false
- #define DISABLE_E false // For all extruders
- #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
- #define INVERT_X_DIR false
- #define INVERT_Y_DIR true
- #define INVERT_Z_DIR false
- #define INVERT_E0_DIR true
- #define INVERT_E1_DIR false
- #define INVERT_E2_DIR false
- #define INVERT_E3_DIR false
- #define INVERT_E4_DIR false
- #define X_HOME_DIR 1
- #define Y_HOME_DIR -1
- #define Z_HOME_DIR -1
- #define X_MIN_POS 0
- #define Y_MIN_POS 0
- #define Z_MIN_POS 0
- #define X_MAX_POS 193
- #define Y_MAX_POS 172
- #define Z_MAX_POS 102
- #define MAX_SOFTWARE_ENDSTOPS
- #if ENABLED(FILAMENT_RUNOUT_SENSOR)
- #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
- #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
- #define FILAMENT_RUNOUT_SCRIPT "M600"
- #endif
- #define AUTO_BED_LEVELING_BILINEAR
- #if ENABLED(MESH_BED_LEVELING) || ENABLED(AUTO_BED_LEVELING_BILINEAR) || ENABLED(AUTO_BED_LEVELING_UBL)
- #define ENABLE_LEVELING_FADE_HEIGHT
- #endif
- #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
- #define GRID_MAX_POINTS_X 3
- #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
- #define LEFT_PROBE_BED_POSITION 30
- #define RIGHT_PROBE_BED_POSITION 100
- #define FRONT_PROBE_BED_POSITION 30
- #define BACK_PROBE_BED_POSITION 150
- #define MIN_PROBE_EDGE 10
- #if ENABLED(AUTO_BED_LEVELING_BILINEAR)
- #if ENABLED(ABL_BILINEAR_SUBDIVISION)
- #define BILINEAR_SUBDIVISIONS 3
- #endif
- #endif
- #elif ENABLED(AUTO_BED_LEVELING_3POINT)
- #define ABL_PROBE_PT_1_X 15
- #define ABL_PROBE_PT_1_Y 180
- #define ABL_PROBE_PT_2_X 15
- #define ABL_PROBE_PT_2_Y 20
- #define ABL_PROBE_PT_3_X 170
- #define ABL_PROBE_PT_3_Y 20
- #elif ENABLED(AUTO_BED_LEVELING_UBL)
- #define UBL_MESH_INSET 1 // Mesh inset margin on print area
- #define GRID_MAX_POINTS_X 10 // Don't use more than 15 points per axis, implementation limited.
- #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
- #define UBL_PROBE_PT_1_X 39 // Probing points for 3-Point leveling of the mesh
- #define UBL_PROBE_PT_1_Y 180
- #define UBL_PROBE_PT_2_X 39
- #define UBL_PROBE_PT_2_Y 20
- #define UBL_PROBE_PT_3_X 180
- #define UBL_PROBE_PT_3_Y 20
- #define UBL_G26_MESH_VALIDATION // Enable G26 mesh validation
- #define UBL_MESH_EDIT_MOVES_Z // Sophisticated users prefer no movement of nozzle
- #elif ENABLED(MESH_BED_LEVELING)
- #define MESH_INSET 10 // Mesh inset margin on print area
- #define GRID_MAX_POINTS_X 3 // Don't use more than 7 points per axis, implementation limited.
- #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
- #endif // BED_LEVELING
- #if ENABLED(LCD_BED_LEVELING)
- #define MBL_Z_STEP 0.025 // Step size while manually probing Z axis.
- #define LCD_PROBE_Z_RANGE 4 // Z Range centered on Z_MIN_POS for LCD Z adjustment
- #endif
- #define Z_SAFE_HOMING
- #if ENABLED(Z_SAFE_HOMING)
- #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28).
- #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28).
- #endif
- #define HOMING_FEEDRATE_XY (20*60)
- #define HOMING_FEEDRATE_Z (2*60)
- #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
- #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
- #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
- #define PREHEAT_1_TEMP_HOTEND 180
- #define PREHEAT_1_TEMP_BED 70
- #define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
- #define PREHEAT_2_TEMP_HOTEND 240
- #define PREHEAT_2_TEMP_BED 110
- #define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
- #if ENABLED(NOZZLE_PARK_FEATURE)
- #define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }
- #endif
- #if ENABLED(NOZZLE_CLEAN_FEATURE)
- #define NOZZLE_CLEAN_STROKES 12
- #define NOZZLE_CLEAN_TRIANGLES 3
- #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_CIRCLE_RADIUS 6.5
- #define NOZZLE_CLEAN_CIRCLE_FN 10
- #define NOZZLE_CLEAN_CIRCLE_MIDDLE NOZZLE_CLEAN_START_POINT
- #define NOZZLE_CLEAN_GOBACK
- #endif
- #define PRINTJOB_TIMER_AUTOSTART
- #define LCD_LANGUAGE en
- #define DISPLAY_CHARSET_HD44780 WESTERN
- #define ULTRA_LCD // Character based
- #define SDSUPPORT
- #define SPEAKER
- #define REPRAP_DISCOUNT_SMART_CONTROLLER
- #define NEWPANEL
- #if ENABLED(SAV_3DGLCD)
- #define U8GLIB_SH1106
- #endif
- #define SOFT_PWM_SCALE 0
- #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
- #define RGB_LED_R_PIN 34
- #define RGB_LED_G_PIN 43
- #define RGB_LED_B_PIN 35
- #define RGB_LED_W_PIN -1
- #endif
- #if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632)
- #define PRINTER_EVENT_LEDS
- #endif
- #define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
- #define SERVO_DELAY 300
- #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00 // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
- #if ENABLED(FILAMENT_WIDTH_SENSOR)
- #define FILAMENT_SENSOR_EXTRUDER_NUM 0 // Index of the extruder that has the filament sensor (0,1,2,3)
- #define MEASUREMENT_DELAY_CM 14 // (cm) The distance from the filament sensor to the melting chamber
- #define MEASURED_UPPER_LIMIT 3.30 // (mm) Upper limit used to validate sensor reading
- #define MEASURED_LOWER_LIMIT 1.90 // (mm) Lower limit used to validate sensor reading
- #define MAX_MEASUREMENT_DELAY 20 // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
- #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
- #endif
- #endif // CONFIGURATION_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement