Issues Compiling Firmware [ui.h:1318: error: 'DIOUI_BUTTON_OK_DDR' was not declared in this scope]
Hi There,
I'm currently trying to update my firmware on a 'Tronxy' branded printer.
I've created the configuration using the generator based on a previous config file but I'm getting some errors when I'm trying to compile. I initially thought that it was due to using the newest version of Arduino IDE so I downgraded to 1.0.6.
My config file is in this pastebin link (I didn't want to make this post huge): http://pastebin.com/DWPUceCy
The errors I'm getting are:
In file included from Repetier.h:546,
from ui.cpp:20:
ui.h: In function 'void uiInitKeys()':
ui.h:1318: error: 'DIOUI_BUTTON_OK_DDR' was not declared in this scope
ui.h:1318: error: 'DIOUI_BUTTON_OK_PIN' was not declared in this scope
ui.h:1318: error: 'DIOUI_BUTTON_OK_WPORT' was not declared in this scope
ui.h:1318: error: 'DIOUI_BUTTON_OK_PIN' was not declared in this scope
ui.h:1318: error: 'DIOUI_BUTTON_OK_WPORT' was not declared in this scope
ui.h:1318: error: 'DIOUI_BUTTON_OK_PIN' was not declared in this scope
..etc
I've found that as soon as I put my configuration.h file into the firmware downloaded from Github it fails.
Does anyone have any ideas? I've run out of idea
Comments
In file included from Repetier.h:546, from ui.cpp:20: ui.h: In function 'void uiInitKeys()':
ui.h:1322: error: 'DIO42_DDR' was not declared in this scope
ui.h:1322: error: 'DIO42_PIN' was not declared in this scope
ui.h:1322: error: 'DIO42_WPORT' was not declared in this scope
ui.h:1322: error: 'DIO42_PIN' was not declared in this scope
ui.h:1322: error: 'DIO42_WPORT' was not declared in this scope
ui.h:1322: error: 'DIO42_PIN' was not declared in this scope
ui.h: In function 'void uiCheckKeys(uint16_t&)':
ui.h:1329: error: 'DIO42_RPORT' was not declared in this scope
ui.h:1329: error: 'DIO42_PIN' was not declared in this scope