Cannot compile Repetier with full graphics support

HI all

When compiling Repetier (latest version) in Arudino IDE 1.0.6.I am compliting for a Melzi 2.0 board. 

I get the following error:

SET_INPUT(SDCARDDETECT);

Printer.cpp: In static member function 'static void Printer::setup()':
Printer.cpp:832: error: 'DIO49_DDR' was not declared in this scope
Printer.cpp:832: error: 'DIO49_PIN' was not declared in this scope
Printer.cpp:833: error: 'DIO49_WPORT' was not declared in this scope
Printer.cpp:833: error: 'DIO49_PIN' was not declared in this scope
Printer.cpp:833: error: 'DIO49_WPORT' was not declared in this scope
Printer.cpp:833: error: 'DIO49_PIN' was not declared in this scope

I am a bit stuck as to where to go from here.

If I set #define FEATURE_CONTROLLER 0 from 11 it compiles and works fine (with no LCD/controller support) 

Any help would be much appreciated. 

Thanks

Comments

  • There are around 874 possible combinations between display and boards. As a result not all combinations are directly supported, only the most frequently used combinations like RADDS board + RADDS display. In your case I think the combination is not supported currently and the pins selected therefore do not exist on a melzi board.

    You need to go to ui.h and find the controller 11 and add a section for your melzi board and set the pins you used to connect the display, then it will compile and work.
Sign In or Register to comment.