Firmware update
Hi, i'm trying to update my firmware on my Zonestar Prusa i3 running off a Melzi 2.0 board.
I used the Repetier 0.91 configuration tool (recommended for the firmware i was trying to install).
I got the following errors:
Arduino: 1.6.5 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Using library SPI in folder: C:\Program Files\Arduino\hardware\arduino\avr\libraries\SPI
C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega -IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp -o C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp.o
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:117:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Configuration.h:47:0: warning: "FAN_BOARD_PIN" redefined [enabled by default]
#define FAN_BOARD_PIN ORIG_FAN2_PIN
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Configuration.h:42:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:117,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\pins.h:2196:0: note: this is the location of the previous definition
#define FAN_BOARD_PIN -1
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:271:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\ui.h:846:0: warning: "BEEPER_SHORT_SEQUENCE" redefined [enabled by default]
#define BEEPER_SHORT_SEQUENCE 6,2 // Needs longer beep sequence
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:117:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Configuration.h:333:0: note: this is the location of the previous definition
#define BEEPER_SHORT_SEQUENCE 2,2
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:271:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\ui.h:847:0: warning: "BEEPER_LONG_SEQUENCE" redefined [enabled by default]
#define BEEPER_LONG_SEQUENCE 24,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:117:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Configuration.h:334:0: note: this is the location of the previous definition
#define BEEPER_LONG_SEQUENCE 8,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:264:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\HAL.h:190:18: error: conflicting return type specified for 'virtual void RFHardwareSerial::write(uint8_t)'
virtual void write(uint8_t);
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\HAL.h:68:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:264,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Print.h:48:20: error: overriding 'virtual size_t Print::write(uint8_t)'
virtual size_t write(uint8_t) = 0;
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:386:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\motion.h:433:17: warning: unused parameter 'v' [-Wunused-parameter]
inline void updateAdvanceSteps(speed_t v,uint8_t max_loops,bool accelerate)
^
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\motion.h:433:17: warning: unused parameter 'max_loops' [-Wunused-parameter]
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\motion.h:433:17: warning: unused parameter 'accelerate' [-Wunused-parameter]
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:147:6: warning: unused parameter 'showRaw' [-Wunused-parameter]
void Commands::printTemperatures(bool showRaw)
^
Error compiling.
Using library SPI in folder: C:\Program Files\Arduino\hardware\arduino\avr\libraries\SPI
C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega -IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp -o C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp.o
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:117:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Configuration.h:47:0: warning: "FAN_BOARD_PIN" redefined [enabled by default]
#define FAN_BOARD_PIN ORIG_FAN2_PIN
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Configuration.h:42:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:117,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\pins.h:2196:0: note: this is the location of the previous definition
#define FAN_BOARD_PIN -1
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:271:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\ui.h:846:0: warning: "BEEPER_SHORT_SEQUENCE" redefined [enabled by default]
#define BEEPER_SHORT_SEQUENCE 6,2 // Needs longer beep sequence
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:117:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Configuration.h:333:0: note: this is the location of the previous definition
#define BEEPER_SHORT_SEQUENCE 2,2
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:271:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\ui.h:847:0: warning: "BEEPER_LONG_SEQUENCE" redefined [enabled by default]
#define BEEPER_LONG_SEQUENCE 24,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:117:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Configuration.h:334:0: note: this is the location of the previous definition
#define BEEPER_LONG_SEQUENCE 8,8
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:264:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\HAL.h:190:18: error: conflicting return type specified for 'virtual void RFHardwareSerial::write(uint8_t)'
virtual void write(uint8_t);
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\HAL.h:68:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:264,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Print.h:48:20: error: overriding 'virtual size_t Print::write(uint8_t)'
virtual size_t write(uint8_t) = 0;
^
In file included from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Repetier.h:386:0,
from C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:22:
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\motion.h:433:17: warning: unused parameter 'v' [-Wunused-parameter]
inline void updateAdvanceSteps(speed_t v,uint8_t max_loops,bool accelerate)
^
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\motion.h:433:17: warning: unused parameter 'max_loops' [-Wunused-parameter]
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\motion.h:433:17: warning: unused parameter 'accelerate' [-Wunused-parameter]
C:\Users\asus\AppData\Local\Temp\build109188153440769214.tmp\Commands.cpp:147:6: warning: unused parameter 'showRaw' [-Wunused-parameter]
void Commands::printTemperatures(bool showRaw)
^
Error compiling.
Any help would be greatly appreciated!
Comments