Compile problems
Hello I'm new to this game, so any help would be very kind I'm stuck with this problem, every time I try to compile.
Arduino: 1.6.7 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\HAL.h:83:0,
from sketch\Repetier.h:480,
from sketch\Extruder.cpp:22:
sketch\Extruder.cpp: In static member function 'static void Extruder::initExtruder()':
fastio.h:36: error: 'DIOORIG_E3_DIR_PIN_DDR' was not declared in this scope
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch\fastio.h:56:26: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^
sketch\Extruder.cpp:501:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(EXT0_DIR_PIN);
^
In file included from sketch\HAL.h:83:0,
from sketch\Repetier.h:480,
from sketch\Extruder.cpp:22:
fastio.h:36: error: 'DIOORIG_E3_DIR_PIN_PIN' was not declared in this scope
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch\fastio.h:17:30: note: in definition of macro 'MASK'
#define MASK(PIN) (1 << PIN)
^
sketch\fastio.h:56:26: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^
sketch\Extruder.cpp:501:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(EXT0_DIR_PIN);
^
In file included from sketch\HAL.h:83:0,
from sketch\Repetier.h:480,
from sketch\Extruder.cpp:22:
fastio.h:36: error: 'DIOORIG_E3_STEP_PIN_DDR' was not declared in this scope
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch\fastio.h:56:26: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^
sketch\Extruder.cpp:502:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(EXT0_STEP_PIN);
^
In file included from sketch\HAL.h:83:0,
from sketch\Repetier.h:480,
from sketch\Extruder.cpp:22:
fastio.h:36: error: 'DIOORIG_E3_STEP_PIN_PIN' was not declared in this scope
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch\fastio.h:17:30: note: in definition of macro 'MASK'
#define MASK(PIN) (1 << PIN)
^
sketch\fastio.h:56:26: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^
sketch\Extruder.cpp:502:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(EXT0_STEP_PIN);
^
sketch\Extruder.cpp: In static member function 'static void Extruder::step()':
fastio.h:29: error: 'DIOORIG_E3_STEP_PIN_WPORT' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch\Extruder.cpp:836:9: note: in expansion of macro 'WRITE'
WRITE(EXT0_STEP_PIN, START_STEP_WITH_HIGH);
^
fastio.h:29: error: 'DIOORIG_E3_STEP_PIN_PIN' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch\fastio.h:17:30: note: in definition of macro 'MASK'
#define MASK(PIN) (1 << PIN)
^
sketch\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch\Extruder.cpp:836:9: note: in expansion of macro 'WRITE'
WRITE(EXT0_STEP_PIN, START_STEP_WITH_HIGH);
^
fastio.h:29: error: 'DIOORIG_E3_STEP_PIN_WPORT' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch\Extruder.cpp:836:9: note: in expansion of macro 'WRITE'
WRITE(EXT0_STEP_PIN, START_STEP_WITH_HIGH);
^
fastio.h:29: error: 'DIOORIG_E3_STEP_PIN_PIN' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch\fastio.h:17:30: note: in definition of macro 'MASK'
#define MASK(PIN) (1 << PIN)
^
sketch\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch\Extruder.cpp:836:9: note: in expansion of macro 'WRITE'
WRITE(EXT0_STEP_PIN, START_STEP_WITH_HIGH);
^
fastio.h:29: error: 'DIOORIG_E3_STEP_PIN_WPORT' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch\fastio.h:48:25: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch\Extruder.cpp:910:9: note: in expansion of macro 'WRITE'
WRITE(EXT0_STEP_PIN, START_STEP_WITH_HIGH);
^
fastio.h:29: error: 'DIOORIG_E3_STEP_PIN_PIN' was not declared in this scope
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch\fastio.h:17:30: note: in definition of macro 'MASK'
Comments