I have a melzi board 1284p 8Mhz, blink test work OK.
Trying to compile the Marlin I get:
Marlin:256: error: conflicting declaration of 'void enquecommand(const char*)' with 'C' linkage
void enquecommand(const char *cmd)
^
In file included from /home//CPP/Printer_3D/reprappro/Marlin/Marlin/Marlin.ino:38:0:
sketch/Marlin.h:184:6: note: previous declaration with 'C++' linkage
void enquecommand(const char *cmd); //put an ascii command at the end of the current buffer.
^
Marlin:414: error: conflicting declaration of 'void get_command()' with 'C' linkage
void get_command()
^
In file included from /home//CPP/Printer_3D/reprappro/Marlin/Marlin/Marlin.ino:38:0:
sketch/Marlin.h:117:6: note: previous declaration with 'C++' linkage
void get_command();
^
Marlin:590: error: conflicting declaration of C function 'bool code_seen(char)'
bool code_seen(char code)
^
/home//CPP/Printer_3D/reprappro/Marlin/Marlin/Marlin.ino:585:6: note: previous declaration 'bool code_seen(char*)'
bool code_seen(char code_string[]) //Return True if the string was found
^
Marlin:682: error: conflicting declaration of 'void process_commands()' with 'C' linkage
void process_commands()
^
In file included from /home//CPP/Printer_3D/reprappro/Marlin/Marlin/Marlin.ino:38:0:
sketch/Marlin.h:118:6: note: previous declaration with 'C++' linkage
void process_commands();
^
Marlin:1543: error: conflicting declaration of 'void FlushSerialRequestResend()' with 'C' linkage
void FlushSerialRequestResend()
^
In file included from /home//CPP/Printer_3D/reprappro/Marlin/Marlin/Marlin.ino:38:0:
sketch/Marlin.h:174:6: note: previous declaration with 'C++' linkage
void FlushSerialRequestResend();
So far this is my config
// Uncomment ONE of the next three lines - the one for your RepRap machine
//#define REPRAPPRO_HUXLEY
#define REPRAPPRO_MENDEL //Legacy Mendel
//#define REPRAPPRO_MENDEL2 // Mono Mendel
// Uncomment ONE of the next two lines - the one for your master controller electronics
#define REPRAPPRO_MELZI // MELZI mco-mco
//#define REPRAPPRO_SANGUINOLOLU
// Uncomment ONE of the next two lines - the one for the series resistors on your controller
//#define SERIAL_R 4700
#define SERIAL_R 10000 // MELZI mco-mco
I have a melzi board 1284p 8Mhz, blink test work OK. Trying to compile the Marlin I get:
So far this is my config