Closed gpwestern78 closed 2 years ago
Please download the new firmware source code and build it again, thanks!
/**
*/
/**
//=========================================================================== //============================= Thermal Settings ============================ //=========================================================================== // @section temperature
/**
// // Custom Thermistor 1000 parameters //
// // Hephestos 2 24V heated bed upgrade kit. // https://store.bq.com/en/heated-bed-kit-hephestos2 // //#define HEPHESTOS2_HEATED_BED_KIT
// // Heated Bed Bang-Bang options //
#define BED_HYSTERESIS 2 // (°C) Only set the relevant heater state when ABS(T-target) > BED_HYSTERESIS
// // Heated Chamber options //
//#define CHAMBER_LIMIT_SWITCHING //#define HEATER_CHAMBER_PIN 44 // Chamber heater on/off pin //#define HEATER_CHAMBER_INVERTING false
//#define CHAMBER_FAN // Enable a fan on the chamber
#define CHAMBER_FAN_MODE 2 // Fan control mode: 0=Static; 1=Linear increase when temp is higher than target; 2=V-shaped curve.
#if CHAMBER_FAN_MODE == 0
#define CHAMBER_FAN_BASE 255 // Chamber fan PWM (0-255)
#elif CHAMBER_FAN_MODE == 1
#define CHAMBER_FAN_BASE 128 // Base chamber fan PWM (0-255); turns on when chamber temperature is above the target
#define CHAMBER_FAN_FACTOR 25 // PWM increase per °C above target
#elif CHAMBER_FAN_MODE == 2
#define CHAMBER_FAN_BASE 128 // Minimum chamber fan PWM (0-255)
#define CHAMBER_FAN_FACTOR 25 // PWM increase per °C difference from target
#endif
//#define CHAMBER_VENT // Enable a servo-controlled vent on the chamber
#define CHAMBER_VENT_SERVO_NR 1 // Index of the vent servo
#define HIGH_EXCESS_HEAT_LIMIT 5 // How much above target temp to consider there is excess heat in the chamber
#define LOW_EXCESS_HEAT_LIMIT 3
#define MIN_COOLING_SLOPE_TIME_CHAMBER_VENT 20
#define MIN_COOLING_SLOPE_DEG_CHAMBER_VENT 1.5
/**
THERMAL_PROTECTION_HYSTERESIS and/or THERMAL_PROTECTION_PERIOD */
//#define ADAPTIVE_FAN_SLOWING // Slow part cooling fan if temperature drops
//#define NO_FAN_SLOWING_IN_PID_TUNING // Don't slow fan speed during M303
/**
/**
Thermal Protection parameters for the bed are just as above for hotends. */
/**
/**
Thermal Protection parameters for the heated chamber. */
/**
// Add an experimental additional term to the heater power, proportional to the extrusion speed. // A well-chosen Kc value should add just enough power to melt the increased material volume. //#define PID_EXTRUSION_SCALING
#define DEFAULT_Kc (100) // heating power = Kc * e_speed
#define LPQ_MAX_LEN 50
/**
PID_FAN_SCALING_AT_FULL_SPEED and PID_FAN_SCALING_AT_MIN_SPEED. Enter the minimum speed in PID_FAN_SCALING_MIN_SPEED */ //#define PID_FAN_SCALING
//#define PID_FAN_SCALING_ALTERNATIVE_DEFINITION
// The alternative definition is used for an easier configuration. // Just figure out Kf at fullspeed (255) and PID_FAN_SCALING_MIN_SPEED. // DEFAULT_Kf and PID_FAN_SCALING_LIN_FACTOR are calculated accordingly.
/**
// Turn on AUTOTEMP on M104/M109 by default using proportions set here //#define AUTOTEMP_PROPORTIONAL
// Show Temperature ADC value // Enable for M105 to include ADC values read from temperature sensors. //#define SHOW_TEMP_ADC_VALUES
/**
// The number of consecutive low temperature errors that can occur // before a min_temp_error is triggered. (Shouldn't be more than 10.) //#define MAX_CONSECUTIVE_LOW_TEMPERATURE_ERROR_ALLOWED 0
// The number of milliseconds a hotend will preheat before starting to check // the temperature. This value should NOT be set to the time it takes the // hot end to reach the target temperature, but the time it takes to reach // the minimum temperature your thermistor can read. The lower the better/safer. // This shouldn't need to be more than 30 seconds (30000) //#define MILLISECONDS_PREHEAT_TIME 0
// @section extruder
// Extruder runout prevention. // If the machine is idle and the temperature over MINTEMP // then extrude some filament every couple of SECONDS. //#define EXTRUDER_RUNOUT_PREVENT
/**
// @section temperature
// Calibration for AD595 / AD8495 sensor to adjust temperature measurements. // The final temperature is calculated as (measuredTemp * GAIN) + OFFSET.
/**
//#define CONTROLLER_FAN_PIN -1 // 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 CONTROLLER_FAN_EDITABLE // Enable M710 configurable settings
// When first starting the main fan, run it at full speed for the // given number of milliseconds. This gets the fan spinning reliably // before setting a PWM value. (Does not work with software PWM for fan on Sanguinololu)
// Some coolers may require a non-zero "off" state. //#define FAN_OFF_PWM 1
/**
/**
//#define FAST_PWM_FAN_FREQUENCY 31400 //#define USE_OCR2A_AS_TOP
// @section extruder
/**
/**
/**
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm //#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu //#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting. //#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
// @section homing
// If you want endstops to stay on (by default) even when not homing // enable this option. Override at any time with M120, M121.
// @section extras
//#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
// Employ an external closed loop controller. Override pins here if needed. //#define EXTERNAL_CLOSED_LOOP_CONTROLLER
//#define CLOSED_LOOP_ENABLE_PIN -1 //#define CLOSED_LOOP_MOVE_COMPLETE_PIN -1
/**
//#define X_DUAL_STEPPER_DRIVERS
//#define X_DUAL_ENDSTOPS
#define X2_USE_ENDSTOP _XMAX_
#define X2_ENDSTOP_ADJUSTMENT 0
//#define Y_DUAL_STEPPER_DRIVERS
//#define Y_DUAL_ENDSTOPS
#define Y2_USE_ENDSTOP _YMAX_
#define Y2_ENDSTOP_ADJUSTMENT 0
// // For Z set the number of stepper drivers //
//#define Z_MULTI_ENDSTOPS
#define Z2_USE_ENDSTOP PD1 //If use Z2_SW_PIN as Z2 ENDSTOP, enable this option
#define Z2_ENDSTOP_ADJUSTMENT 0
#if NUM_Z_STEPPER_DRIVERS >= 3
#define Z3_USE_ENDSTOP _YMAX_
#define Z3_ENDSTOP_ADJUSTMENT 0
#endif
#if NUM_Z_STEPPER_DRIVERS >= 4
#define Z4_USE_ENDSTOP _ZMAX_
#define Z4_ENDSTOP_ADJUSTMENT 0
#endif
/**
follow with M605 S3 to initiate mirrored movement. */ //#define DUAL_X_CARRIAGE
// However: In this mode the HOTEND_OFFSET_X value for the second extruder provides a software
// override for X2_HOME_POS. This also allow recalibration of the distance between the two endstops
// without modifying the firmware (through the "M218 T1 X???" command).
// Remember: you should set the second extruder x-offset to 0 in your slicer.
// This is the default power-up mode which can be later using M605.
// Default x offset in duplication mode (typically set to half print bed width)
// Activate a solenoid on the active extruder with M380. Disable all with M381. // Define SOL0_PIN, SOL1_PIN, etc., for each extruder that has a solenoid. //#define EXT_SOLENOID
// @section homing
/**
//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing
//#define HOMING_BACKOFF_POST_MM { 0, 0, 0 } // (mm) Backoff from endstops after homing //#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 CODEPENDENT_XY_HOMING // If X/Y can't home without homing Y/X first
// @section bltouch
/**
Settings for all BLTouch and clone probes: */
// Safety: The probe needs time to recognize the command. // Minimum command delay (ms). Enable and increase if needed.
/**
Settings for BLTOUCH Classic 1.2, 1.3 or BLTouch Smart 1.0, 2.0, 2.2, 3.0, 3.1, and most clones: */
// Feature: Switch into SW mode after a deploy. It makes the output pulse longer. Can be useful // in special cases, like noisy or filtered input configurations. //#define BLTOUCH_FORCE_SW_MODE
/**
/**
Use the option below to force an eeprom write to a V3.1 probe regardless. */ //#define BLTOUCH_SET_5V_MODE
/**
To preserve the life of the probe, use this once then turn it off and re-flash. */ //#define BLTOUCH_FORCE_MODE_SET
/**
If the machine cannot raise the probe fast enough after a trigger, it may enter a fault state. */ //#define BLTOUCH_HS_MODE
// Safety: Enable voltage mode settings in the LCD menu. //#define BLTOUCH_LCD_VOLTAGE_MENU
// @section extras
/**
Add the G34 command to align multiple Z steppers using a bed probe. */ //#define Z_STEPPER_AUTO_ALIGN
// Define probe X and Y positions for Z1, Z2 [, Z3 [, Z4]]
// If not defined, probe limits will be used.
// Override with 'M422 S
/**
//#define Z_STEPPERS_ORIENTATION 0
// Provide Z stepper positions for more rapid convergence in bed alignment. // Requires triple stepper drivers (i.e., set NUM_Z_STEPPER_DRIVERS to 3) //#define Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
// Define Stepper XY positions for Z1, Z2, Z3 corresponding to // the Z screw positions in the bed carriage. // Define one position per Z stepper in stepper driver order.
// Amplification factor. Used to scale the correction step up or down in case // the stepper (spindle) position is farther out than the test point.
// On a 300mm bed a 5% grade would give a misalignment of ~1.5cm
// 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.
// // Add the G35 command to read bed corners to help adjust screws. Requires a bed probe. // //#define ASSISTED_TRAMMING
// Define positions for probing points, use the hotend as reference not the sensor.
// Define positions names for probing points.
//#define REPORT_TRAMMING_MM // Report Z deviation (mm) for each point relative to the first //#define ASSISTED_TRAMMING_MENU_ITEM // Add a menu item for Assisted Tramming
/**
// @section motion
// Add a Duplicate option for well-separated conjoined nozzles //#define MULTI_NOZZLE_DUPLICATION
// By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
/**
// If the Nozzle or Bed falls when the Z stepper is disabled, set its resting position here. //#define Z_AFTER_DEACTIVATE Z_HOME_POS
//#define HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated
// Default Minimum Feedrates for printing and travel moves
// Minimum time that a segment needs to take as the buffer gets emptied
// Slow down the machine if the lookahead buffer is (by default) half full. // Increase the slowdown divisor for larger buffer sizes.
/**
// Minimum planner junction speed. Sets the default minimum speed the planner plans for at the end // of the buffer and all stops. This should not be much greater than zero and should only be changed // if unwanted behavior is observed on a user's machine when running at very slow speeds.
// // Backlash Compensation // Adds extra movement to axes on direction-changes to account for backlash. //
// Define values for backlash distance and correction. // If BACKLASH_GCODE is enabled these values are the defaults.
// Set BACKLASH_SMOOTHING_MM to spread backlash correction over multiple segments // to reduce print artifacts. (Enabling this is costly in memory and computation!) //#define BACKLASH_SMOOTHING_MM 3 // (mm)
// Add runtime configuration and tuning of backlash values (M425)
// Measure the Z backlash when probing (G29) and set with "M425 Z"
//#define MEASURE_BACKLASH_WHEN_PROBING
#if ENABLED(MEASURE_BACKLASH_WHEN_PROBING)
// When measuring, the probe will move up to BACKLASH_MEASUREMENT_LIMIT
// mm away from point of contact in BACKLASH_MEASUREMENT_RESOLUTION
// increments while checking for the contact to be broken.
#define BACKLASH_MEASUREMENT_LIMIT 0.5 // (mm)
#define BACKLASH_MEASUREMENT_RESOLUTION 0.005 // (mm)
#define BACKLASH_MEASUREMENT_FEEDRATE Z_PROBE_SPEED_SLOW // (mm/min)
#endif
/**
±5mm of true values for G425 to succeed. */ //#define CALIBRATION_GCODE
//#define CALIBRATION_SCRIPT_PRE "M117 Starting Auto-Calibration\nT0\nG28\nG12\nM117 Calibrating..." //#define CALIBRATION_SCRIPT_POST "M500\nM117 Calibration data saved"
// The following parameters refer to the conical section of the nozzle tip.
// Uncomment to enable reporting (required for "G425 V", but consumes PROGMEM). //#define CALIBRATION_REPORTING
// The true location and dimension the cube/bolt/washer on the bed.
// Comment out any sides which are unreachable by the probe. For best // auto-calibration results, all sides must be reachable.
// Probing at the exact top center only works if the center is flat. If // probing on a screwhead or hollow washer, probe near the edges. //#define CALIBRATION_MEASURE_AT_TOP_EDGES
// Define the pin to read during calibration
//#define CALIBRATION_PIN -1 // Define here to override the default pin
//#define CALIBRATION_PIN_PULLDOWN
/**
/**
// Microstep settings (Requires a board with pins named X_MS1, X_MS2, etc.)
/**
/**
I2C-based DIGIPOTs (e.g., Azteeg X3 Pro) */ //#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster //#define DIGIPOT_MCP4451
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS. // These correspond to the physical drivers, so be mindful if the order is changed.
//#define DIGIPOT_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
/**
//=========================================================================== //=============================Additional Features=========================== //=========================================================================== // @section lcd
#define MANUAL_E_MOVES_RELATIVE // Display extruder move distance rather than "position"
#define ULTIPANEL_FEEDMULTIPLY // Encoder sets the feedrate multiplier on the Status Screen
// Change values more rapidly when the encoder is rotated faster
// Play a beep when the feedrate is changed from the Status Screen //#define BEEP_ON_FEEDRATE_CHANGE
// Add Probe Z Offset calibration to the Z Probe Offsets menu
//#define PROBE_OFFSET_WIZARD
#if ENABLED(PROBE_OFFSET_WIZARD)
#define PROBE_OFFSET_START -4.0 // Estimated nozzle-to-probe Z offset, plus a little extra
#endif
// Include a page of printer information in the LCD Main Menu
//#define LCD_PRINTER_INFO_IS_BOOTSCREEN // Show bootscreen(s) instead of Printer Info pages
// BACK menu items keep the highlight at the top //#define TURBO_BACK_MENU_ITEM
/**
//#define NEO2_COLOR_PRESETS // Enable a second NeoPixel Preset Color menu option
//#define LED_USER_PRESET_STARTUP // Have the printer display the user preset color on startup
//#define NEO2_USER_PRESET_STARTUP // Have the printer display the user preset color on startup for the second strip
// Scroll a longer status message into view //#define STATUS_MESSAGE_SCROLLING
// On the Info Screen, display XY with one decimal place when possible //#define LCD_DECIMAL_SMALL_XY
// The timeout (in ms) to return to the status screen from sub-menus //#define LCD_TIMEOUT_TO_STATUS 15000
// Add an 'M73' G-code to set the current percentage //#define LCD_SET_PROGRESS_MANUALLY
// Show the E position (filament used) during printing //#define LCD_SHOW_E_TOTAL
//#define USE_M73_REMAINING_TIME // Use remaining time from M73 command instead of estimation
//#define ROTATE_PROGRESS_DISPLAY // Display (P)rogress, (E)lapsed, and (R)emaining time
//#define PRINT_PROGRESS_SHOW_DECIMALS // Show progress with decimal digits
//#define LCD_PROGRESS_BAR // Show a progress bar on HD44780 LCDs for SD printing
#if ENABLED(LCD_PROGRESS_BAR)
#define PROGRESS_BAR_BAR_TIME 2000 // (ms) Amount of time to show the bar
#define PROGRESS_BAR_MSG_TIME 3000 // (ms) Amount of time to show the status message
#define PROGRESS_MSG_EXPIRE 0 // (ms) Amount of time to retain the status message (0=forever)
//#define PROGRESS_MSG_ONCE // Show the message for MSG_TIME then clear it
//#define LCD_PROGRESS_BAR_TEST // Add a menu item to test the progress bar
#endif
// The standard SD detect circuit reads LOW when media is inserted and HIGH when empty. // Enable this option and set to HIGH if your SD cards are incorrectly detected. //#define SD_DETECT_STATE HIGH
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
// Reverse SD sort to show "more recent" files first, according to the card's FAT. // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
//#define MENU_ADDAUTOSTART // Add a menu option to run auto#.g files
#define PE_LEDS_COMPLETED_TIME (30*60) // (seconds) Time to keep the LED "done" color before restoring normal illumination
/**
point in the file. */
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss //#define POWER_LOSS_RECOVER_ZHOME // Z homing is needed for proper recovery. 99.9% of the time this should be disabled! //#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_PULL // Set pullup / pulldown as appropriate
//#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
// Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card, // especially with "vase mode" printing. Set too high and vases cannot be continued.
/**
// SD Card Sorting options
// Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
// This allows hosts to request long names for files and folders with M33 //#define LONG_FILENAME_HOST_SUPPORT
// Enable this option to scroll long filenames in the SD card menu //#define SCROLL_LONG_FILENAMES
// Leave the heaters on after Stop Print (not recommended!) //#define SD_ABORT_NO_COOLDOWN
/**
To have any effect, endstops must be enabled during SD printing. */ //#define SD_ABORT_ON_ENDSTOP_HIT
/**
You can just click to start the print, or navigate elsewhere. */ //#define SD_REPRINT_LAST_SELECTED_FILE
/**
Auto-report SdCard status with M27 S
/**
[1] On AVR an interrupt-capable pin is best for UHS3 compatibility. */ //#define USB_FLASH_DRIVE_SUPPORT
/**
/**
https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560 */ //#define SD_FIRMWARE_UPDATE
// Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER
/**
/**
/**
printing performance versus fast display updates. */
// Show SD percentage next to the progress bar //#define DOGM_SD_PERCENT
// Save many cycles by drawing a hollow frame or no frame on the Info Screen //#define XYZ_NO_FRAME
// Enable to save many cycles by drawing a hollow frame on Menu Screens
// A bigger font is available for edit items. Costs 3120 bytes of PROGMEM. // Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese. //#define USE_BIG_EDIT_FONT
// A smaller font may be used on the Info Screen. Costs 2434 bytes of PROGMEM. // Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese. //#define USE_SMALL_INFOFONT
// Swap the CW/CCW indicators in the graphics overlay //#define OVERLAY_GFX_REVERSE
/**
// Enable this option and reduce the value to optimize screen updates. // The normal delay is 10µs. Use the lowest value that still gives a reliable display. //#define DOGM_SPI_DELAY_US 5
//#define LIGHTWEIGHT_UI
/**
//#define STATUS_CUTTER_ANIM // Use a second bitmap to indicate spindle / laser active //#define STATUS_ALT_BED_BITMAP // Use the alternative bed bitmap //#define STATUS_ALT_FAN_BITMAP // Use the alternative fan bitmap //#define STATUS_FAN_FRAMES 3 // :[0,1,2,3,4] Number of fan animation frames //#define STATUS_HEAT_PERCENT // Show heating in a progress bar //#define BOOT_MARLIN_LOGO_SMALL // Show a smaller Marlin logo on the Boot Screen (saving 399 bytes of flash) //#define BOOT_MARLIN_LOGO_ANIMATED // Animated Marlin logo. Costs ~â?260 (or ~940) bytes of PROGMEM.
// Frivolous Game Options //#define MARLIN_BRICKOUT //#define MARLIN_INVADERS //#define MARLIN_SNAKE //#define GAMES_EASTER_EGG // Add extra blank lines above the "Games" sub-menu
// // Additional options for DGUS / DWIN displays //
//#define SERIAL_STATS_RX_BUFFER_OVERRUNS // Fix Rx overrun situation (Currently only for AVR)
#define DGUS_PRINT_FILENAME // Display the filename during printing
#define DGUS_PREHEAT_UI // Display a preheat screen during heatup
#if ENABLED(DGUS_LCD_UI_FYSETC)
//#define DGUS_UI_MOVE_DIS_OPTION // Disabled by default for UI_FYSETC
#else
#define DGUS_UI_MOVE_DIS_OPTION // Enabled by default for UI_HIPRECY
#endif
#define DGUS_FILAMENT_LOADUNLOAD
#if ENABLED(DGUS_FILAMENT_LOADUNLOAD)
#define DGUS_FILAMENT_PURGE_LENGTH 10
#define DGUS_FILAMENT_LOAD_LENGTH_PER_TIME 0.5 // (mm) Adjust in proportion to DGUS_UPDATE_INTERVAL_MS
#endif
#define DGUS_UI_WAITING // Show a "waiting" screen between some screens
#if ENABLED(DGUS_UI_WAITING)
#define DGUS_UI_WAITING_STATUS 10
#define DGUS_UI_WAITING_STATUS_PERIOD 8 // Increase to slower waiting status looping
#endif
// // Touch UI for the FTDI Embedded Video Engine (EVE) //
// Display board used //#define LCD_FTDI_VM800B35A // FTDI 3.5" with FT800 (320x240) //#define LCD_4DSYSTEMS_4DLCD_FT843 // 4D Systems 4.3" (480x272) //#define LCD_HAOYU_FT800CB // Haoyu with 4.3" or 5" (480x272) //#define LCD_HAOYU_FT810CB // Haoyu with 5" (800x480) //#define LCD_ALEPHOBJECTS_CLCD_UI // Aleph Objects Color LCD UI //#define LCD_FYSETC_TFT81050 // FYSETC with 5" (800x480)
// Correct the resolution if not using the stock TFT panel. //#define TOUCH_UI_320x240 //#define TOUCH_UI_480x272 //#define TOUCH_UI_800x480
// Mappings for boards with a standard RepRapDiscount Display connector //#define AO_EXP1_PINMAP // AlephObjects CLCD UI EXP1 mapping //#define AO_EXP2_PINMAP // AlephObjects CLCD UI EXP2 mapping //#define CR10_TFT_PINMAP // Rudolph Riedel's CR10 pin mapping //#define S6_TFT_PINMAP // FYSETC S6 pin mapping //#define F6_TFT_PINMAP // FYSETC F6 pin mapping
//#define OTHER_PIN_LAYOUT // Define pins manually below
// Pins for CS and MOD_RESET (PD) must be chosen
#define CLCD_MOD_RESET 9
#define CLCD_SPI_CS 10
// If using software SPI, specify pins for SCLK, MOSI, MISO
//#define CLCD_USE_SOFT_SPI
#if ENABLED(CLCD_USE_SOFT_SPI)
#define CLCD_SOFT_SPI_MOSI 11
#define CLCD_SOFT_SPI_MISO 12
#define CLCD_SOFT_SPI_SCLK 13
#endif
// Display Orientation. An in
Have a Z8T that I upgraded to use zm3e4 (v 1.0) board, the Zonestar wifi module (from Zonestar _official store on AliExpress,) 2208 steppers for all motors, and LCDDWIN (from same store) and using firmware source from this repository I am unable to compile after commenting out bilinear bed leveling and enabling unified bed leveling options.