MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 117 forks source link

Compiling error with Arduino IDE 1.8.10 and MK4duo FW version 4.4.0 #765

Closed LittleHelper00 closed 5 years ago

LittleHelper00 commented 5 years ago

I got compling errors with the latest Arduino IDE 1.8.10 (Windows 7) Board: "Arduino Mega 2560" and the latest MK4duo FW version 4.4.0.

I've used online configurator.

My file Configuration_Overall.h is:

/**

/**

/***

define CONFIGURATION_OVERALL

/***

/*****

/***

/*****

/*****

/****

/* Below you will find the configuration string, that created with Configurator tool online marlinkimbra.it ========== Start configuration string ========== { "processor": 0, "serial": 0, "baudrates": 115200, "serial2": -2, "baudrates2": 115200, "blockbuffersize": 16, "bufsize": 4, "txbuffersize": 0, "rxbuffersize": 128, "serialxonxoff": "0", "customname": "none", "customconfig": "Kossel mini", "machineuuid": "00000000-0000-0000-0000-000000000000", "killMethod": 0, "notimeouts": 0, "advancedok": "0", "emergencyparser": "0", "fastergcodeparser": "0", "fastergcodeexecute": "0", "hostkeepalive": "1", "hostkeepalivesecond": 2, "motherboards": "BOARD_RAMPS_13_HFB", "mechanism": 3, "power": 0, "defaultpower": "0", "delayafterpower": 5, "powertimeout": 30, "extruders": 1, "driverextruders": 1, "tempunitsupport": "0", "bed": "1", "chamber": "0", "cooler": "0", "nbed": 1, "nchamber": 0, "dhtsupport": "0", "tempsensor0": "1", "tempsensor1": "0", "tempsensor2": "0", "tempsensor3": "0", "tempsensor4": "0", "tempsensor5": "0", "tempsensorbed": "4", "tempsensorbed1": "0", "tempsensorbed2": "0", "tempsensorbed3": "0", "tempsensorchamber": "0", "tempsensorchamber1": "0", "tempsensorchamber2": "0", "tempsensorchamber3": "0", "tempsensorcooler": "0", "seriesrs": 4700, "t9name": "User sensor", "t9r25": 100000, "t9betak": 4036, "ad595offset": 0, "ad595gain": 1, "dummy998": 25, "dummy999": 100, "maxtemp0": 275, "maxtemp1": 275, "maxtemp2": 275, "maxtemp3": 275, "maxtemp4": 275, "maxtemp5": 275, "maxtempbed": 150, "maxtempchamber": 150, "maxtempcooler": 150, "mintemp0": 5, "mintemp1": 5, "mintemp2": 5, "mintemp3": 5, "mintemp4": 5, "mintemp5": 5, "mintempbed": 5, "mintempchamber": 5, "mintempcooler": 5, "maxconsecutivelowtemp": 2, "preheat1label": "PLA", "preheat1hotendtemp": 190, "preheat1bedtemp": 60, "preheat1chambertemp": 0, "preheat1fanspeed": 255, "preheat2label": "ABS", "preheat2hotendtemp": 240, "preheat2bedtemp": 100, "preheat2chambertemp": 50, "preheat2fanspeed": 255, "preheat3label": "GUM", "preheat3hotendtemp": 230, "preheat3bedtemp": 60, "preheat3chambertemp": 50, "preheat3fanspeed": 255, "autotemp": "0", "autotempoldweight": 0.98, "pidtemp": "1", "pidmax": 255, "piddrivemin": 40, "piddrivemax": 230, "pidfunctionalrange": 10, "pidautotunemenu": "1", "pidextrusionrate": "0", "lpqmaxlen": 50, "temphysteresis": 2, "tempinterval": 100, "pidkp0": 40, "pidki0": 8, "pidkd0": 60, "pidkc0": 100, "pidkp1": 40, "pidki1": 7, "pidkd1": 60, "pidkc1": 100, "pidkp2": 40, "pidki2": 7, "pidkd2": 60, "pidkc2": 100, "pidkp3": 40, "pidki3": 7, "pidkd3": 60, "pidkc3": 100, "pidkp4": 40, "pidki4": 7, "pidkd4": 60, "pidkc4": 100, "pidkp5": 40, "pidki5": 7, "pidkd5": 60, "pidkc5": 100, "pidbedtemp": "0", "pidbedmax": 255, "pidbeddrivemin": 40, "pidbeddrivemax": 230, "bedhysteresis": 2, "bedinterval": 500, "pidbedkp": 10, "pidbedki": 1, "pidbedkd": 305, "pidbedkp1": 10, "pidbedki1": 1, "pidbedkd1": 300, "pidbedkp2": 10, "pidbedki2": 1, "pidbedkd2": 300, "pidbedkp3": 10, "pidbedki3": 1, "pidbedkd3": 300, "pidchambertemp": "0", "pidchambermax": 255, "pidchamberdrivemin": 80, "pidchamberdrivemax": 255, "chamberhysteresis": 2, "chamberinterval": 500, "pidchamberkp": 10, "pidchamberki": 1, "pidchamberkd": 300, "pidchamberkp1": 10, "pidchamberki1": 1, "pidchamberkd1": 300, "pidchamberkp2": 10, "pidchamberki2": 1, "pidchamberkd2": 300, "pidchamberkp3": 10, "pidchamberki3": 1, "pidchamberkd3": 300, "pidcoolertemp": "0", "pidcoolermax": 255, "pidcoolerdrivemin": 80, "pidcoolerdrivemax": 255, "coolerhysteresis": 2, "coolerinterval": 500, "pidcoolerkp": 10, "pidcoolerki": 1, "pidcoolerkd": 305, "invertedheaterpins": "0", "invertedbedpin": "0", "invertedchamberpin": "0", "invertedcoolerpin": "0", "thermalprotectionhotend": "0", "thermalprotectionbed": "0", "thermalprotectionchamber": "0", "thermalprotectioncooler": "0", "adaptivefanspeed": "0", "thermalprotectionperiod": 40, "thermalprotectionhysteresis": 4, "watchtempperiod": 20, "watchtempincrease": 2, "watchbedtempperiod": 60, "watchbedtempincrease": 2, "watchchambertempperiod": 60, "watchchambertempincrease": 2, "watchcoolertempperiod": 60, "watchcoolertempincrease": 2, "uiprintername": "Kossel mini DLT-180", "endstopinterrupt": "0", "Xminendstop": "0", "Xmaxendstop": "0", "Yminendstop": "0", "Ymaxendstop": "0", "Zminendstop": "0", "Zmaxendstop": "0", "X2minendstop": "0", "X2maxendstop": "0", "Y2minendstop": "0", "Y2maxendstop": "0", "Z2minendstop": "0", "Z2maxendstop": "0", "Z3minendstop": "0", "Z3maxendstop": "0", "Zprobeendstop": "1", "Xhoming": 1, "Yhoming": 1, "Zhoming": 1, "Ehoming": 0, "Xinvertenable": 0, "Yinvertenable": 0, "Zinvertenable": 0, "Einvertenable": 0, "Xinvertstep": "0", "Yinvertstep": "0", "Zinvertstep": "0", "Einvertstep": "0", "Xinvertdir": "1", "Yinvertdir": "1", "Zinvertdir": "1", "E0invertdir": "0", "E1invertdir": "0", "E2invertdir": "0", "E3invertdir": "0", "E4invertdir": "0", "E5invertdir": "0", "disableX": 0, "disableY": 0, "disableZ": 0, "disableE": 0, "Xmaxpos": 200, "Xminpos": 0, "Ymaxpos": 200, "Yminpos": 0, "Zmaxpos": 200, "Zminpos": 0, "Zsafehoming": "0", "ZsafehomingX": 100, "ZsafehomingY": 100, "Zminheightbeforehoming": 0, "Zprobetype": 0, "Zprobesledoffset": 5, "Xprobeoffset": 0, "Yprobeoffset": 0, "Zprobeoffset": -1, "xyprobespeed": 8000, "zprobespeedfast": 1000, "zprobespeedslow": 500, "zprobingrepeat": "0", "Zproberepetitions": 1, "Zraiseprobedeploystow": 15, "Zraisebetweenprobe": 10, "Zraiseafterprobe": 0, "Zprobelowpoint": -5, "bltouch5vmode": "0", "lcdbedlevel": "0", "lcdzstep": 0.025, "lcdprobezrange": 4, "levelingfadeheight": "0", "bedlevel": 0, "meshinset": 10, "meshg28rest": "0", "maxgridpointX": 3, "maxgridpointY": 3, "manualhomepos": "0", "bedcenter00": "0", "Xhomepos": 0, "Yhomepos": 0, "Zhomepos": 0, "Xstepspermm": 80, "Ystepspermm": 80, "Zstepspermm": 80, "E0stepspermm": 451, "E1stepspermm": 625, "E2stepspermm": 625, "E3stepspermm": 625, "E4stepspermm": 625, "E5stepspermm": 625, "Xmaxspeed": 500, "Ymaxspeed": 500, "Zmaxspeed": 500, "E0maxspeed": 45, "E1maxspeed": 100, "E2maxspeed": 100, "E3maxspeed": 100, "E4maxspeed": 100, "E5maxspeed": 100, "Xmanualspeed": 100, "Ymanualspeed": 100, "Zmanualspeed": 100, "Emanualspeed": 10, "minimumspeed": 0, "minimumtravelspeed": 0, "minimumplannerspeed": 0.05, "Xmaxacceleration": 5000, "Ymaxacceleration": 5000, "Zmaxacceleration": 5000, "E0maxacceleration": 1000, "E1maxacceleration": 3000, "E2maxacceleration": 3000, "E3maxacceleration": 3000, "E4maxacceleration": 3000, "E5maxacceleration": 3000, "E0retractacceleration": 10000, "E1retractacceleration": 10000, "E2retractacceleration": 10000, "E3retractacceleration": 10000, "E4retractacceleration": 10000, "E5retractacceleration": 10000, "defaultacceleration": 2000, "defaulttravelacceleration": 2000, "maxXjerk": 10, "maxYjerk": 10, "maxZjerk": 10, "maxE0jerk": 5, "maxE1jerk": 5, "maxE2jerk": 5, "maxE3jerk": 5, "maxE4jerk": 5, "maxE5jerk": 5, "Xhomingspeed": 100, "Yhomingspeed": 100, "Zhomingspeed": 2, "XbumpMM": 5, "YbumpMM": 5, "ZbumpMM": 2, "Xbumpdivisor": 5, "Ybumpdivisor": 5, "Zbumpdivisor": 2, "hotendoffsetXE1": 0, "hotendoffsetXE2": 0, "hotendoffsetXE3": 0, "hotendoffsetYE1": 0, "hotendoffsetYE2": 0, "hotendoffsetYE3": 0, "hotendoffsetZE1": 0, "hotendoffsetZE2": 0, "hotendoffsetZE3": 0, "hysteresis": "0", "hysteresisXmm": 0, "hysteresisYmm": 0, "hysteresisZmm": 0, "hysteresiscorrection": 1, "deltasegmentpersecond": 200, "deltasegmentpersecondmove": 50, "deltasegmentperline": 20, "deltadiagonalrod": 213, "deltasmoothrodoffset": 149, "deltaeffectoroffset": 22, "deltacarriageoffset": 12, "deltaprinterradius": 50, "deltaheight": 187.8, "towerAendstop": 0, "towerBendstop": 0, "towerCendstop": 0, "towerAangle": 0, "towerBangle": 0, "towerCangle": 0, "towerAradius": 0, "towerBradius": 0, "towerCradius": 0, "towerAdiagonalrod": 0, "towerBdiagonalrod": 0, "towerCdiagonalrod": 0, "deltaautoprecision": 0.1, "deltaautogrid": 9, "deltaXdeploystart": 0, "deltaYdeploystart": 0, "deltaZdeploystart": 30, "deltaXdeployend": 0, "deltaYdeployend": 0, "deltaZdeployend": 30, "deltaXretractstart": 0, "deltaYretractstart": 0, "deltaZretractstart": 30, "deltaXretractend": 0, "deltaYretractend": 0, "deltaZretractend": 30, "deltaautocalibration": 0, "deltahomesafezone": "1", "deltahomeonpower": "0", "lcdlanguages": "en", "lcdlanguages1": "NO_LANGUAGE", "lcdlanguages2": "NO_LANGUAGE", "lcdlanguages3": "NO_LANGUAGE", "lcdlanguages4": "NO_LANGUAGE", "displays": 3, "encoderpulsesstep": 5, "encoderstepmenu": 1, "invertclickbutton": "0", "invertbackbutton": "0", "invertrotaryswitch": "0", "invertmenudirection": "0", "lcdspeaker": "0", "nextion_model": 8, "nextion_port": 1, "nextionGFX": "0", "lcdprogressbar": "1", "lcdprogressbarbartime": 3, "lcdprogressbarmsgtime": 1, "lcdprogressbarmsgexpire": 0, "doublequadstepping": "1", "junctiondeviation": "0", "junctiondeviationfactor": 0.02, "bezierjerk": "0", "stepperpulse": 1, "stepperrate": 500000, "directiondelay": 200, "stepsmoothing": "1", "Xtwostepper": "0", "X2vsXdir": "0", "Xtwoendstop": "0", "Ytwostepper": "0", "Y2vsYdir": "0", "Ytwoendstop": "0", "Ztwostepper": "0", "Z2vsZdir": "0", "Ztwoendstop": "0", "Zthreestepper": "0", "Z3vsZdir": "0", "Zthreeendstop": "0", "extencoder": "0", "extencodererrorstep": 500, "extencoderminstep": 10, "Xmicrostep": 16, "Ymicrostep": 16, "Zmicrostep": 16, "E0microstep": 16, "E1microstep": 16, "E2microstep": 16, "E3microstep": 16, "E4microstep": 16, "E5microstep": 16, "Xcurrent": 1000, "Ycurrent": 1000, "Zcurrent": 1000, "E0current": 1000, "E1current": 1000, "E2current": 1000, "E3current": 1000, "E4current": 800, "E5current": 800, "Xdrivertype": "A4988", "Ydrivertype": "A4988", "Zdrivertype": "A4988", "X2drivertype": "A4988", "Y2drivertype": "A4988", "Z2drivertype": "A4988", "Z3drivertype": "A4988", "E0drivertype": "A4988", "E1drivertype": "A4988", "E2drivertype": "A4988", "E3drivertype": "A4988", "E4drivertype": "A4988", "E5drivertype": "A4988", "softpwmspeed": 0, "fanminpwm": 0, "fanmaxpwm": 255, "fanpwmfreq": 250, "fankickstarttime": 0, "autofan0": -1, "autofan1": 0, "autofan2": -1, "autofan3": -1, "autofan4": -1, "autofan5": -1, "Ecoolertemp": 50, "Ecoolerspeed": 255, "Ecoolerminspeed": 0, "controllerfansec": 60, "controllerfanspeed": 255, "controllerfanminspeed": 0, "toolzraise": 1, "toolpark": "0", "toolnoreturn": "0", "toolfilamentswap": "0", "toolfilamentlenght": 20, "toolfilamentpurge": 2, "toolfilamentspeed": 3000, "toolfilamentprimespeed": 600, "defaultfilamentdia": 1.75, "dangerousextrude": "1", "extrudemintemp": 170, "lengthextrude": "1", "extrudemaxlenght": 400, "singlenozzle": "0", "baricuda": "0", "colormixingextruder": "0", "mixingsteppers": "2", "virtualtools": 16, "mkr4": "0", "invertrelepin": "0", "E0E1pin": -1, "E0E2pin": -1, "E1E3pin": -1, "mkr6": "0", "mkr12": "0", "EX1pin": -1, "EX2pin": -1, "mmu2": "0", "mmu2serial": 1, "mmu2mode12": "0", "mmu2rstpin": -1, "dondolo": "0", "dondolodualmotor": "0", "dondoloservo": 0, "dondoloservoe0": 120, "dondoloservoe1": 10, "dondolodelay": 1000, "workspace": "0", "softwareminendstop": "1", "softwaremaxendstop": "1", "endstoponlyforhome": "1", "abortendstophit": "0", "servos": "0", "numservos": 0, "Zservo": -1, "angleextendservosZ": 0, "angleretractservosZ": 0, "servodeactivate": 0, "servodeactivatedelay": 300, "quickhome": "0", "homeYbeforeX": "0", "homeXYbeforeZ": "0", "babystepping": "0", "babysteppingXY": "0", "babysteppingZprobe": "0", "babysteppingdoubleclick": "0", "filamentsensor": "0", "filamentsensorextruder": 0, "filamentsensormaxdia": 2, "filamentsensormindia": 1.35, "filamentsensordia": 1.75, "filamentsensorlcd": "0", "filamentrunout": "0", "filamentrunoutdav": "0", "filamentrunoutdistance": 0, "filamentrunoutscript": "M600", "filamentsensor0": "0", "filamentsensor1": "0", "filamentsensor2": "0", "filamentsensor3": "0", "filamentsensor4": "0", "filamentsensor5": "0", "powerconsumption": "0", "dooropen": "0", "doorendstop": "0", "powercheck": "0", "powercheckendstop": "0", "caselight": "0", "caselightinvert": "0", "caselightdefault": "0", "caselightbrightness": 255, "eeprom": "1", "eepromsd": "0", "eepromchitchat": "1", "sdsupport": "0", "sdspeed": 1, "sddisableddetect": "0", "sddetectinverted": "1", "sdrestart": "0", "sdrestarttime": 1, "laserbeam": "0", "lasercontrol": 1, "laserfocus": "0", "laserraster": "0", "rfidmodule": "0", "rfidserial": 1, "rgbled": "0", "rgbwled": "0", "pca9632": "0", "neopixelled": "0", "neopixeltype": "NEO_GRB", "neopixelpixels": 16, "eventled": "0", "jsonoutput": "0", "testmode": "0", "inchmodesupport": "0", "nozzlecleanfeature": "0", "nozzlecleanstrokes": 12, "nozzlecleantriangle": 3, "nozzlecleanstart_x": 30, "nozzlecleanstart_y": 30, "nozzlecleanstart_z": 1, "nozzlecleanend_x": 100, "nozzlecleanend_y": 60, "nozzlecleanend_z": 1, "nozzlecleangoback": "1", "nozzleparkfeature": "0", "nozzleparkXpos": 10, "nozzleparkYpos": 10, "nozzleparkZpos": 20, "nozzleparkXYfr": 100, "nozzleparkZfr": 5, "filamentchangeenable": "0", "filamentchangeretract": 5, "filamentchangeretractfr": 20, "filamentchangeunload": 100, "filamentchangeunloadfr": 50, "filamentchangeslowload": 5, "filamentchangeslowloadfr": 6, "filamentchangefastload": 100, "filamentchangefastloadfr": 50, "filamentchangeextrude": 50, "filamentchangeextrudefr": 5, "filamentchangeunloadretract": 10, "filamentchangeunloadretractdelay": 5000, "filamentchangeunloadretractpurge": 8, "filamentchangenozzletimeout": 45, "filamentchangeprinteroff": 5, "filamentchangenumberbeep": 5, "filamentchangenosteppertimeout": "1", "filamentchangeparkheadonpause": "0", "filamentchangehomebefore": "0", "filamentchangegcodes": "0", "filamentchangeallextruder": "0", "Xmotor": { "name": "X Driver", "step": "ORIG_X_STEP_PIN", "dir": "ORIG_X_DIR_PIN", "enable": "ORIG_X_ENABLE_PIN" }, "Ymotor": { "name": "Y Driver", "step": "ORIG_Y_STEP_PIN", "dir": "ORIG_Y_DIR_PIN", "enable": "ORIG_Y_ENABLE_PIN" }, "Zmotor": { "name": "Z Driver", "step": "ORIG_Z_STEP_PIN", "dir": "ORIG_Z_DIR_PIN", "enable": "ORIG_Z_ENABLE_PIN" }, "X2motor": { "name": "E1 Driver", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN" }, "Y2motor": { "name": "E1 Driver", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN" }, "Z2motor": { "name": "E1 Driver", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN" }, "Z3motor": { "name": "E2 Driver", "step": "ORIG_E2_STEP_PIN", "dir": "ORIG_E2_DIR_PIN", "enable": "ORIG_E2_ENABLE_PIN" }, "E0motor": { "name": "E0 Driver", "step": "ORIG_E0_STEP_PIN", "dir": "ORIG_E0_DIR_PIN", "enable": "ORIG_E0_ENABLE_PIN" }, "E1motor": { "name": "E1 Driver", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN" }, "E2motor": { "name": "E2 Driver", "step": "ORIG_E2_STEP_PIN", "dir": "ORIG_E2_DIR_PIN", "enable": "ORIG_E2_ENABLE_PIN" }, "E3motor": { "name": "E3 Driver", "step": "ORIG_E3_STEP_PIN", "dir": "ORIG_E3_DIR_PIN", "enable": "ORIG_E3_ENABLE_PIN" }, "E4motor": { "name": "E4 Driver", "step": "ORIG_E4_STEP_PIN", "dir": "ORIG_E4_DIR_PIN", "enable": "ORIG_E4_ENABLE_PIN" }, "E5motor": { "name": "E5 Driver", "step": "ORIG_E5_STEP_PIN", "dir": "ORIG_E5_DIR_PIN", "enable": "ORIG_E5_ENABLE_PIN" }, "heater0pin": "ORIG_HEATER_HE0_PIN", "heater1pin": "ORIG_HEATER_HE1_PIN", "heater2pin": "ORIG_HEATER_HE2_PIN", "heater3pin": "ORIG_HEATER_HE3_PIN", "heater4pin": "ORIG_HEATER_HE4_PIN", "heater5pin": "ORIG_HEATER_HE5_PIN", "heaterbedpin": "ORIG_HEATER_BED0_PIN", "heaterbed1pin": "ORIG_HEATER_BED1_PIN", "heaterbed2pin": "ORIG_HEATER_BED2_PIN", "heaterbed3pin": "ORIG_HEATER_BED3_PIN", "heaterchamberpin": "NoPin", "heaterchamber1pin": "NoPin", "heaterchamber2pin": "NoPin", "heaterchamber3pin": "NoPin", "heatercoolerpin": "NoPin", "temp0pin": "ORIG_TEMP_HE0_PIN", "temp1pin": "ORIG_TEMP_HE1_PIN", "temp2pin": "ORIG_TEMP_HE2_PIN", "temp3pin": "ORIG_TEMP_HE3_PIN", "temp4pin": "ORIG_TEMP_HE4_PIN", "temp5pin": "ORIG_TEMP_HE5_PIN", "tempbedpin": "ORIG_TEMP_BED0_PIN", "tempbed1pin": "ORIG_TEMP_BED1_PIN", "tempbed2pin": "ORIG_TEMP_BED2_PIN", "tempbed3pin": "ORIG_TEMP_BED3_PIN", "tempchamberpin": "NoPin", "tempchamber1pin": "NoPin", "tempchamber2pin": "NoPin", "tempchamber3pin": "NoPin", "tempcoolerpin": "NoPin", "Xminpin": "ORIG_X_MIN_PIN", "Xmaxpin": "ORIG_X_MAX_PIN", "Yminpin": "ORIG_Y_MIN_PIN", "Ymaxpin": "ORIG_Y_MAX_PIN", "Zminpin": "ORIG_Z_MIN_PIN", "Zmaxpin": "ORIG_Z_MAX_PIN", "X2minpin": "NoPin", "X2maxpin": "NoPin", "Y2minpin": "NoPin", "Y2maxpin": "NoPin", "Z2minpin": "NoPin", "Z3minpin": "NoPin", "Z2maxpin": "NoPin", "Z3maxpin": "NoPin", "Zprobepin": "ORIG_Z_MIN_PIN", "Xcspin": "ORIG_X_CS_PIN", "Ycspin": "ORIG_Y_CS_PIN", "Zcspin": "ORIG_Z_CS_PIN", "X2cspin": "ORIG_E1_CS_PIN", "Y2cspin": "ORIG_E1_CS_PIN", "Z2cspin": "ORIG_E1_CS_PIN", "Z3cspin": "ORIG_E2_CS_PIN", "E0cspin": "ORIG_E0_CS_PIN", "E1cspin": "ORIG_E1_CS_PIN", "E2cspin": "ORIG_E2_CS_PIN", "E3cspin": "ORIG_E3_CS_PIN", "E4cspin": "ORIG_E4_CS_PIN", "E5cspin": "ORIG_E5_CS_PIN", "fanpin": "ORIG_FAN0_PIN", "fan1pin": "ORIG_FAN1_PIN", "fan2pin": "ORIG_FAN2_PIN", "fan3pin": "ORIG_FAN3_PIN", "fan4pin": "ORIG_FAN4_PIN", "fan5pin": "ORIG_FAN5_PIN", "PSONpin": "ORIG_PS_ON_PIN", "beeperpin": "ORIG_BEEPER_PIN", "filamentsensorpin": -1, "filrunoutdavpin": "NoPin", "filrunoutpin0": "NoPin", "filrunoutpin1": "NoPin", "filrunoutpin2": "NoPin", "filrunoutpin3": "NoPin", "filrunoutpin4": "NoPin", "filrunoutpin5": "NoPin", "laserpwrpin": -1, "laserpwmpin": "ORIG_LASER_PWM_PIN", "laserperipheralspin": "NoPin", "laserperipheralsstatuspin": "NoPin", "cncrouterpin": "NoPin", "powerconsumptionpin": -1, "doorpin": "NoPin", "powercheckpin": "NoPin", "caselightpin": "NoPin", "rgbledRpin": "NoPin", "rgbledGpin": "NoPin", "rgbledBpin": "NoPin", "rgbledWpin": "NoPin", "neopixelpin": "NoPin", "dhtdatapin": "NoPin", "tacho0pin": "NoPin", "tacho1pin": "NoPin", "tacho2pin": "NoPin", "tacho3pin": "NoPin", "tacho4pin": "NoPin", "tacho5pin": "NoPin", "END_DATA": 0, "printer": "custom", "version": 1, "serialnumber": 0, "bluetooth": "0", "E0E3pin": -1, "npr2": "0", "Eminendstop": "0", "Eminpullup": "1", "Eminpin": -1, "E0angle": 0, "E1angle": 45, "E2angle": 90, "E3angle": 135, "E4angle": 180, "E5angle": 225, "invertedheaterpin": "0", "E0coolerpin": -1, "E1coolerpin": -1, "E2coolerpin": -1, "E3coolerpin": -1, "autobed": "0", "gridmode": "1", "gridpoint": 2, "leftprobe": 20, "rightprobe": 180, "backprobe": 180, "frontprobe": 20, "Xprobe1": 15, "Yprobe1": 180, "Xprobe2": 15, "Yprobe2": 15, "Xprobe3": 180, "Yprobe3": 15, "Zraisebeforehoming": 10, "Zraisebeforeprobe": 10, "Ydualstepper": "0", "Zdualstepper": "0", "Zdualendstop": "0", "maxXYjerk": 10, "deltaZraisebetweenprobe": 30, "deltaXprobeoffset": 0, "deltaYprobeoffset": -15, "deltaZprobeoffset": -11, "usemicrostep": "0", "Emicrostep": 16, "E0retractionspeed": 100, "E1retractionspeed": 100, "E2retractionspeed": 100, "E3retractionspeed": 100, "Xinvert": 0, "Yinvert": 0, "Zinvert": 0, "E0invert": 0, "E1invert": 0, "E2invert": 0, "E3invert": 0, "Zprobe": "0", "Xminpullup": "1", "Xmaxpullup": "1", "Yminpullup": "1", "Ymaxpullup": "1", "Zminpullup": "1", "Zmaxpullup": "1", "Z2minpullup": "1", "Z2maxpullup": "1", "Zprobepullup": "0", "sdslow": "0", "sdextraslow": "0", "sdsetting": "0", "laserttlpin": -1, "toshiba": "0", "filrunoutpin": -1, "filamentrunoutsensor": "0", "Xservo": -1, "Yservo": -1, "angleextendservosX": 0, "angleretractservosX": 0, "angleextendservosY": 0, "angleretractservosY": 0, "uilanguages": 7, "easyload": "0", "bowdenlenght": 250, "lcdpurgelenght": 10, "lcdretractlenght": 5, "lcdpurgefeedrate": 3, "lcdretractfeedrate": 5, "lcdloadfeedrate": 20, "lcdunloadfeedrate": 20, "plahotendtemp": 190, "plabedtemp": 60, "plafanspeed": 255, "abshotendtemp": 240, "absbedtemp": 100, "absfanspeed": 255, "gumhotendtemp": 230, "gumbedtemp": 60, "gumfanspeed": 255 } ========== End configuration string ========== */

My file Configuration_Pins.h is:

/**

/**

//=================================== BASIC ==================================

// X axis pins

define X_STEP_PIN ORIG_X_STEP_PIN

define X_DIR_PIN ORIG_X_DIR_PIN

define X_ENABLE_PIN ORIG_X_ENABLE_PIN

define X_CS_PIN ORIG_X_CS_PIN

// X2 axis pins

if ENABLED(DUAL_X_CARRIAGE) || ENABLED(X_TWO_STEPPER_DRIVERS)

define X2_STEP_PIN ORIG_E1_STEP_PIN

define X2_DIR_PIN ORIG_E1_DIR_PIN

define X2_ENABLE_PIN ORIG_E1_ENABLE_PIN

define X2_CS_PIN ORIG_E1_CS_PIN

endif

// Y axis pins

define Y_STEP_PIN ORIG_Y_STEP_PIN

define Y_DIR_PIN ORIG_Y_DIR_PIN

define Y_ENABLE_PIN ORIG_Y_ENABLE_PIN

define Y_CS_PIN ORIG_Y_CS_PIN

// Y2 axis pins

if ENABLED(Y_TWO_STEPPER_DRIVERS)

define Y2_STEP_PIN ORIG_E1_STEP_PIN

define Y2_DIR_PIN ORIG_E1_DIR_PIN

define Y2_ENABLE_PIN ORIG_E1_ENABLE_PIN

define Y2_CS_PIN ORIG_E1_CS_PIN

endif

// Z axis pins

define Z_STEP_PIN ORIG_Z_STEP_PIN

define Z_DIR_PIN ORIG_Z_DIR_PIN

define Z_ENABLE_PIN ORIG_Z_ENABLE_PIN

define Z_CS_PIN ORIG_Z_CS_PIN

// Z2 axis pins

if (ENABLED(Z_TWO_STEPPER_DRIVERS) || ENABLED(Z_THREE_STEPPER_DRIVERS))

define Z2_STEP_PIN ORIG_E1_STEP_PIN

define Z2_DIR_PIN ORIG_E1_DIR_PIN

define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN

define Z2_CS_PIN ORIG_E1_CS_PIN

endif

// Z3 axis pins

if ENABLED(Z_THREE_STEPPER_DRIVERS)

define Z3_STEP_PIN ORIG_E2_STEP_PIN

define Z3_DIR_PIN ORIG_E2_DIR_PIN

define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN

define Z3_CS_PIN ORIG_E2_CS_PIN

endif

// E0 axis pins

define E0_STEP_PIN ORIG_E0_STEP_PIN

define E0_DIR_PIN ORIG_E0_DIR_PIN

define E0_ENABLE_PIN ORIG_E0_ENABLE_PIN

define E0_CS_PIN ORIG_E0_CS_PIN

define SOL0_PIN ORIG_SOL0_PIN

// E1 axis pins

define E1_STEP_PIN ORIG_E1_STEP_PIN

define E1_DIR_PIN ORIG_E1_DIR_PIN

define E1_ENABLE_PIN ORIG_E1_ENABLE_PIN

define E1_CS_PIN ORIG_E1_CS_PIN

define SOL1_PIN ORIG_SOL1_PIN

// E2 axis pins

define E2_STEP_PIN ORIG_E2_STEP_PIN

define E2_DIR_PIN ORIG_E2_DIR_PIN

define E2_ENABLE_PIN ORIG_E2_ENABLE_PIN

define E2_CS_PIN ORIG_E2_CS_PIN

define SOL2_PIN ORIG_SOL2_PIN

// E3 axis pins

define E3_STEP_PIN ORIG_E3_STEP_PIN

define E3_DIR_PIN ORIG_E3_DIR_PIN

define E3_ENABLE_PIN ORIG_E3_ENABLE_PIN

define E3_CS_PIN ORIG_E3_CS_PIN

define SOL3_PIN ORIG_SOL3_PIN

// E4 axis pins

define E4_STEP_PIN ORIG_E4_STEP_PIN

define E4_DIR_PIN ORIG_E4_DIR_PIN

define E4_ENABLE_PIN ORIG_E4_ENABLE_PIN

define E4_CS_PIN ORIG_E4_CS_PIN

define SOL4_PIN ORIG_SOL4_PIN

// E5 axis pins

define E5_STEP_PIN ORIG_E5_STEP_PIN

define E5_DIR_PIN ORIG_E5_DIR_PIN

define E5_ENABLE_PIN ORIG_E5_ENABLE_PIN

define E5_CS_PIN ORIG_E5_CS_PIN

define SOL5_PIN ORIG_SOL5_PIN

// ENDSTOP pins

define X_MIN_PIN ORIG_X_MIN_PIN

define X_MAX_PIN ORIG_X_MAX_PIN

define Y_MIN_PIN ORIG_Y_MIN_PIN

define Y_MAX_PIN ORIG_Y_MAX_PIN

define Z_MIN_PIN ORIG_Z_MIN_PIN

define Z_MAX_PIN ORIG_Z_MAX_PIN

define X2_MIN_PIN NoPin

define Y2_MIN_PIN NoPin

define Z2_MIN_PIN NoPin

define Z3_MIN_PIN NoPin

define X2_MAX_PIN NoPin

define Y2_MAX_PIN NoPin

define Z2_MAX_PIN NoPin

define Z3_MAX_PIN NoPin

define Z_PROBE_PIN ORIG_Z_MIN_PIN

// HEATERS pins

define HEATER_HE0_PIN ORIG_HEATER_HE0_PIN

define HEATER_HE1_PIN ORIG_HEATER_HE1_PIN

define HEATER_HE2_PIN ORIG_HEATER_HE2_PIN

define HEATER_HE3_PIN ORIG_HEATER_HE3_PIN

define HEATER_HE4_PIN ORIG_HEATER_HE4_PIN

define HEATER_HE5_PIN ORIG_HEATER_HE5_PIN

define HEATER_BED0_PIN ORIG_HEATER_BED0_PIN

define HEATER_BED1_PIN ORIG_HEATER_BED1_PIN

define HEATER_BED2_PIN ORIG_HEATER_BED2_PIN

define HEATER_BED3_PIN ORIG_HEATER_BED3_PIN

define HEATER_CHAMBER0_PIN NoPin

define HEATER_CHAMBER1_PIN NoPin

define HEATER_CHAMBER2_PIN NoPin

define HEATER_CHAMBER3_PIN NoPin

define HEATER_COOLER_PIN NoPin

// TEMP pins

define TEMP_HE0_PIN ORIG_TEMP_HE0_PIN

define TEMP_HE1_PIN ORIG_TEMP_HE1_PIN

define TEMP_HE2_PIN ORIG_TEMP_HE2_PIN

define TEMP_HE3_PIN ORIG_TEMP_HE3_PIN

define TEMP_HE4_PIN ORIG_TEMP_HE4_PIN

define TEMP_HE5_PIN ORIG_TEMP_HE5_PIN

define TEMP_BED0_PIN ORIG_TEMP_BED0_PIN

define TEMP_BED1_PIN ORIG_TEMP_BED1_PIN

define TEMP_BED2_PIN ORIG_TEMP_BED2_PIN

define TEMP_BED3_PIN ORIG_TEMP_BED3_PIN

define TEMP_CHAMBER0_PIN NoPin

define TEMP_CHAMBER1_PIN NoPin

define TEMP_CHAMBER2_PIN NoPin

define TEMP_CHAMBER3_PIN NoPin

define TEMP_COOLER_PIN NoPin

// FAN pins

define FAN0_PIN ORIG_FAN0_PIN

define FAN1_PIN ORIG_FAN1_PIN

define FAN2_PIN ORIG_FAN2_PIN

define FAN3_PIN ORIG_FAN3_PIN

define FAN4_PIN ORIG_FAN4_PIN

define FAN5_PIN ORIG_FAN5_PIN

// PS ON pin

define PS_ON_PIN ORIG_PS_ON_PIN

// BEEPER pin

define BEEPER_PIN ORIG_BEEPER_PIN

//============================================================================

//================================= FEATURE ==================================

if ENABLED(TACHOMETRIC)

define TACHO0_PIN NoPin

define TACHO1_PIN NoPin

define TACHO2_PIN NoPin

define TACHO3_PIN NoPin

define TACHO4_PIN NoPin

define TACHO5_PIN NoPin

endif

if ENABLED(MKR4)

define E0E1_CHOICE_PIN -1

define E0E2_CHOICE_PIN -1

define E1E3_CHOICE_PIN -1

elif ENABLED(MKR6) || ENABLED(MKR12)

define EX1_CHOICE_PIN -1

define EX2_CHOICE_PIN -1

endif

if ENABLED(PRUSA_MMU2)

define MMU2_RST_PIN -1

endif

if ENABLED(LASER)

define LASER_PWR_PIN -1

define LASER_PWM_PIN ORIG_LASER_PWM_PIN

if ENABLED(LASER_PERIPHERALS)

#define LASER_PERIPHERALS_PIN         NoPin
#define LASER_PERIPHERALS_STATUS_PIN  NoPin

endif

endif

if ENABLED(CNCROUTER)

define CNCROUTER_PIN NoPin

endif

if ENABLED(FILAMENT_RUNOUT_SENSOR)

define FIL_RUNOUT_0_PIN NoPin

define FIL_RUNOUT_1_PIN NoPin

define FIL_RUNOUT_2_PIN NoPin

define FIL_RUNOUT_3_PIN NoPin

define FIL_RUNOUT_4_PIN NoPin

define FIL_RUNOUT_5_PIN NoPin

define FIL_RUNOUT_DAV_PIN NoPin

endif

if ENABLED(FILAMENT_WIDTH_SENSOR)

define FILWIDTH_PIN -1

endif

if ENABLED(FLOWMETER_SENSOR)

define FLOWMETER_PIN

endif

if ENABLED(POWER_CONSUMPTION)

define POWER_CONSUMPTION_PIN -1

endif

if ENABLED(PHOTO_GCODE)

define PHOTOGRAPH_PIN NoPin

define CHDK_PIN NoPin

endif

if ENABLED(CASE_LIGHT)

define CASE_LIGHT_PIN NoPin

endif

if ENABLED(DOOR_OPEN_FEATURE)

define DOOR_OPEN_PIN NoPin

endif

if ENABLED(POWER_CHECK)

define POWER_CHECK_PIN NoPin

endif

if ENABLED(Z_PROBE_SLED)

define SLED_PIN NoPin

endif

if ENABLED(RGB_LED) || ENABLED(RGBW_LED)

define RGB_LED_R_PIN NoPin

define RGB_LED_G_PIN NoPin

define RGB_LED_B_PIN NoPin

define RGB_LED_W_PIN NoPin

endif

if ENABLED(NEOPIXEL_LED)

define NEOPIXEL_PIN NoPin

endif

if ENABLED(DHT_SENSOR)

define DHT_DATA_PIN NoPin

endif

if HAS_TRINAMIC && ENABLED(TMC_USE_SW_SPI)

define TMC_SW_MOSI 51

define TMC_SW_MISO 50

define TMC_SW_SCK 52

endif

//============================================================================

Compile errors reported bu Arduino IDE:

Arduino: 1.8.10 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\MK4duo.h:101:0,

             from C:\Users\Giulio\Desktop\MK4duo_23-11-2019_185120\MK4duo\MK4duo.ino:352:

sketch\src/conditionals/conditionals_pre.h:397:0: warning: "DRIVER_EXTRUDERS" redefined

define DRIVER_EXTRUDERS EXTRUDERS

In file included from sketch\MK4duo.h:67:0,

             from C:\Users\Giulio\Desktop\MK4duo_23-11-2019_185120\MK4duo\MK4duo.ino:352:

sketch\Configuration_Overall.h:67:0: note: this is the location of the previous definition

define DRIVER_EXTRUDERS 1

In file included from sketch\MK4duo.h:152:0,

             from C:\Users\Giulio\Desktop\MK4duo_23-11-2019_185120\MK4duo\MK4duo.ino:352:

sketch\src/lcd/menu/menu.h:437:0: warning: "STATIC_ITEM_N_P" redefined

define STATIC_ITEM_N_P(LABEL, N, V...) STATIC_ITEM_N_P(GET_TEXT(LABEL), ##V)

sketch\src/lcd/menu/menu.h:428:0: note: this is the location of the previous definition

define STATIC_ITEM_N_P(PLABEL, N, V...) do{ \

In file included from sketch\MK4duo.h:145:0,

             from C:\Users\Giulio\Desktop\MK4duo_23-11-2019_185120\MK4duo\MK4duo.ino:352:

sketch\src/lcd/lcdui.h:75:49: error: expected identifier before 'true'

     static short_timer_t progress_bar_timer(true); // Start time for the current progress bar cycle

                                             ^~~~

sketch\src/lcd/lcdui.h:75:49: error: expected ',' or '...' before 'true'

Multiple libraries were found for "SPI.h" Used: C:\Program Multiple libraries were found for "Wire.h" Used: C:\Program Multiple libraries were found for "LiquidCrystal.h" Used: C:\Program exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

LittleHelper00 commented 5 years ago

This is the downloaded FW Version 4.4.09 that I've downloaded from the FW configurator tool, which gives my compiling errors. MK4duo_23-11-2019_185120.zip