I'm trying to upload repetier firmware to an Atmega 2560 with a Ramps 1.4 shield, but I keep getting error messages. I used Repetier's configuration tool, V100 and the development configurator, but each and every time I get an error message. Just when I fixed one there's another one. I am using Arduino 1.8.5.
I have attached the firmware as well, If there's someone willing to check if there's something wrong with the sketch or something else.
It would be more useful to post the text of the error messages. I doubt if anyone is going to explore the Repetier source code for you.
Are you using the version of the Arduino IDE that Repetier was written for? Unfortunately the Arduino folks are not good on backwards compatibility. You can have several versions of the IDE on the same PC.
It compiled under Arduino 1.8.2 with only a few warnings:
In file included from sketch/Repetier.h:597:0,
from /Users/john/Documents/Arduino/Repetier-Firmware-master/src/ArduinoAVR/Repetier/Repetier.ino:184:
sketch/HAL.h:80:0: warning: "SERIAL_RX_BUFFER_SIZE" redefined
#define SERIAL_RX_BUFFER_SIZE 128
^
In file included from /Users/john/Library/Arduino15/packages/arduino/hardware/avr/1.6.20/cores/arduino/Arduino.h:232:0,
from sketch/Repetier.ino.cpp:1:
/Users/john/Library/Arduino15/packages/arduino/hardware/avr/1.6.20/cores/arduino/HardwareSerial.h:53:0: note: this is the location of the previous definition
#define SERIAL_RX_BUFFER_SIZE 64
^
/Users/john/Library/Arduino15/packages/arduino/hardware/avr/1.6.20/cores/arduino/HardwareSerial.h:147:25: warning: type of 'Serial1' does not match original declaration
extern HardwareSerial Serial1;
^
/Users/john/Library/Arduino15/packages/arduino/hardware/avr/1.6.20/cores/arduino/HardwareSerial1.cpp:61:16: note: previously declared here
HardwareSerial Serial1(&UBRR1H, &UBRR1L, &UCSR1A, &UCSR1B, &UCSR1C, &UDR1);
^
/Users/john/Library/Arduino15/packages/arduino/hardware/avr/1.6.20/cores/arduino/HardwareSerial.h:143:25: warning: type of 'Serial' does not match original declaration
extern HardwareSerial Serial;
^
/Users/john/Library/Arduino15/packages/arduino/hardware/avr/1.6.20/cores/arduino/HardwareSerial.h:143:25: warning: type of 'Serial' does not match original declaration
/Users/john/Library/Arduino15/packages/arduino/hardware/avr/1.6.20/cores/arduino/HardwareSerial0.cpp:70:18: note: previously declared here
HardwareSerial Serial(&UBRR0H, &UBRR0L, &UCSR0A, &UCSR0B, &UCSR0C, &UDR0);
^
Sketch uses 92552 bytes (36%) of program storage space. Maximum is 253952 bytes.
Global variables use 3438 bytes (41%) of dynamic memory, leaving 4754 bytes for local variables. Maximum is 8192 bytes.
Build it first without changing the configuration. Then compile each time you make a configuration change and you should be able to determine which change causes the compile errors.