Reply To: Marlin/RAMPS patch to use extruder drivers as additionnal X+Y drivers

New Home Forum Software Development Marlin/RAMPS patch to use extruder drivers as additionnal X+Y drivers Reply To: Marlin/RAMPS patch to use extruder drivers as additionnal X+Y drivers

#7553

justindp
Participant

Tried modifying the firmware with your edits and it will not compile now. Not sure how to apply the .patch and google is getting me nowhere. Ideas on what I may be doing wrong?

getting Arduino: 1.6.7 (Windows 7), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

sketch\Marlin_main.cpp: In function ‘void process_commands()’:

fastio.h:45: error: ‘DIOX2_ENABLE_PIN_RPORT’ was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

fastio.h:34: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:34: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:117:61: note: in expansion of macro ‘WRITE’

#define enable_x() { WRITE(X_ENABLE_PIN, X_ENABLE_ON); WRITE(X2_ENABLE_PIN, X_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1939:9: note: in expansion of macro ‘enable_x’

enable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:45: error: ‘DIOY2_ENABLE_PIN_RPORT’ was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

fastio.h:34: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:34: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:130:61: note: in expansion of macro ‘WRITE’

#define enable_y() { WRITE(Y_ENABLE_PIN, Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, Y_ENABLE_ON); }

^

sketch\Marlin_main.cpp:1940:9: note: in expansion of macro ‘enable_y’

enable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:45: error: ‘DIOX2_ENABLE_PIN_RPORT’ was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

fastio.h:34: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:34: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2697:30: note: in expansion of macro ‘disable_x’

if(code_seen(‘X’)) disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:45: error: ‘DIOY2_ENABLE_PIN_RPORT’ was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

fastio.h:34: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:34: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:2698:30: note: in expansion of macro ‘disable_y’

if(code_seen(‘Y’)) disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

sketch\Marlin_main.cpp: In function ‘void manage_inactivity(bool)’:

fastio.h:45: error: ‘DIOX2_ENABLE_PIN_RPORT’ was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:34: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:34: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4359:9: note: in expansion of macro ‘disable_x’

disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:45: error: ‘DIOY2_ENABLE_PIN_RPORT’ was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:34: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:34: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4360:9: note: in expansion of macro ‘disable_y’

disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

sketch\Marlin_main.cpp: In function ‘void kill()’:

fastio.h:45: error: ‘DIOX2_ENABLE_PIN_RPORT’ was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:34: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:34: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

fastio.h:30: error: ‘DIOX2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:118:61: note: in expansion of macro ‘WRITE’

#define disable_x() { WRITE(X_ENABLE_PIN,!X_ENABLE_ON); WRITE(X2_ENABLE_PIN, !X_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4464:3: note: in expansion of macro ‘disable_x’

disable_x();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:45: error: ‘DIOY2_ENABLE_PIN_RPORT’ was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:34: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:34: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

In file included from sketch\Marlin.h:21:0,

from sketch\Marlin_main.cpp:30:

fastio.h:39: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\

^

sketch\fastio.h:17:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:80: note: in expansion of macro ‘_WRITE_C’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_WPORT’ was not declared in this scope

#define _WRITE_NC(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:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

fastio.h:30: error: ‘DIOY2_ENABLE_PIN_PIN’ was not declared in this scope

#define _WRITE_NC(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:26: note: in definition of macro ‘MASK’

#define MASK(PIN) (1 << PIN)

^

sketch\fastio.h:45:105: note: in expansion of macro ‘_WRITE_NC’

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

^

sketch\fastio.h:68:23: note: in expansion of macro ‘_WRITE’

#define WRITE(IO, v) _WRITE(IO, v)

^

sketch\Marlin.h:131:61: note: in expansion of macro ‘WRITE’

#define disable_y() { WRITE(Y_ENABLE_PIN,!Y_ENABLE_ON); WRITE(Y2_ENABLE_PIN, !Y_ENABLE_ON); axis_known_position[Y_AXIS] = false; }

^

sketch\Marlin_main.cpp:4465:3: note: in expansion of macro ‘disable_y’

disable_y();

^

exit status 1
‘DIOX2_ENABLE_PIN_RPORT’ was not declared in this scope

This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.