Hi, i just got the Z-axis upgrade and Im trying to install the v2.1.1 firmware recommended for that upgrade.
When I try to compile it using the lastest Arduino software, I get this error:
[code]Arduino: 1.6.11 (Windows 10), Board: “Arduino Mega ADK”
In file included from sketch\Marlin.h:23:0,
from sketch\ConfigurationStore.cpp:1:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
^
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
^
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
^
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
^
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
^
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
^
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
^
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
^
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
^
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
^
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
^
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
^
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
^
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
^
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
^
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
^
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
^
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
^
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
^
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
^
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
^
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
^
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
^
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
^
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
^
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
^
In file included from sketch\Marlin.h:23:0,
from sketch\thermistortables.h:4,
from sketch\Configuration.h:478,
from C:\Users\3ddrucker\Desktop\Marlin - 2560 - LCD\Marlin\Marlin.ino:33:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
^
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
^
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
^
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
^
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
^
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
^
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
^
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
^
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
^
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
^
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
^
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
^
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
^
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
^
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
^
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
^
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
^
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
^
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
^
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
^
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
^
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
^
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
^
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
^
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
^
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
^
In file included from sketch\Marlin.h:23:0,
from sketch\MarlinSerial.cpp:23:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
^
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
^
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
^
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
^
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
^
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
^
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
^
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
^
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
^
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
^
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
^
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
^
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
^
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
^
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
^
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
^
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
^
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
^
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
^
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
^
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
^
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
^
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
^
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
^
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
^
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
^
In file included from sketch\Marlin.h:23:0,
from sketch\Marlin_main.cpp:30:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
^
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
^
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
^
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
^
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
^
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
^
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
^
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
^
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
^
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
^
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
^
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
^
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
^
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
^
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
^
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
^
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
^
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
^
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
^
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
^
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
^
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
^
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
^
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
^
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
^
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
^
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:6,
from sketch\Marlin_main.cpp:37:
SdBaseFile.h:38: error: using typedef-name ‘fpos_t’ after ‘struct’
struct fpos_t {
^
In file included from sketch\Marlin.h:10:0,
from sketch\Marlin_main.cpp:30:
c:\program files\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: ‘fpos_t’ has a previous declaration here
extension typedef long long fpos_t;
^
exit status 1
using typedef-name ‘fpos_t’ after ‘struct’
[/code]
Does anybody know how to fix this?
Com port and board are correct. I downloaded the software from arduino.cc.