Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

BOARD_RAMPS_13_EFB und Z_PROBE_PIN

geschrieben von hörschy 
BOARD_RAMPS_13_EFB und Z_PROBE_PIN
01. May 2016 04:40
Hallo zusammen,
ich bin noch blutiger Anfänger und habe vor kurzen einen Reprap Prusa i3 geerbt, vermute jedenfalls das es einer sein müsste.

Drucker im Detail:
marlin 1.0.2, arduiono Mega 2560 auf Com 4, das full graphic smart controller mit u8glib_arduino_v1.14.zip und das Ramps 1.4a, Thermistoren sind 104F-3950 und Stepper sind Wantai Mini Stepper Step Ange 1,8° 360°/1,8° = 200 Steps per Round, Steigung in z Achse M5 Gewinde

Problem:
Ich habe nach dieser Anleitung Marlin angepasst -> [www.my-home-fab.de]

Sobald ich in der Firmware von BOARD_RAMBO auf mein BOARD_RAMPS_13_EFB umstelle und kompiliere kommt der Fehler unten.

Ich such jetzt schon ein paar Tage online und hab das ein oder andere gefunden, aber ich verstehe trotzdem das Problem nicht. Wenn ich in die Pins.h schaue ist sie mit #define Z_PROBE_PIN 22 auch definiert, also warum soll die Konstante nicht deklariert sein?

// The following define selects which electronics board you have.
// Please choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
// vorher #define MOTHERBOARD BOARD_RAMBO
  #define MOTHERBOARD BOARD_RAMPS_13_EFB
#endif

Arduino: 1.6.8 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch\Marlin_main.cpp:3296:36: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

         LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                    ^

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

                 from sketch\Marlin_main.cpp:31:

pins.h:2968: error: 'Z_PROBE_PIN' was not declared in this scope

 #define SENSITIVE_PINS {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_PROBE_PIN, Z_MAX_PIN, PS_ON_PIN, \

                                                                                                                                                                                                     ^

sketch\Marlin_main.cpp:406:30: note: in expansion of macro 'SENSITIVE_PINS'

 const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42

                              ^

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

                 from sketch\Marlin_main.cpp:31:

sketch\Marlin_main.cpp: In function 'void setup()':

fastio.h:53: error: 'DIOZ_PROBE_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:76:25: note: in expansion of macro '_SET_OUTPUT'

 #define SET_OUTPUT(IO)  _SET_OUTPUT(IO)

                         ^

sketch\Marlin_main.cpp:653:3: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(Z_PROBE_PIN);

   ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:53: error: 'DIOZ_PROBE_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:26: note: in definition of macro 'MASK'

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

                          ^

sketch\fastio.h:76:25: note: in expansion of macro '_SET_OUTPUT'

 #define SET_OUTPUT(IO)  _SET_OUTPUT(IO)

                         ^

sketch\Marlin_main.cpp:653:3: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(Z_PROBE_PIN);

   ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:45: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:654:3: note: in expansion of macro 'WRITE'

   WRITE(Z_PROBE_PIN, LOW);

   ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:53: error: 'DIOFAN2_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:76:25: note: in expansion of macro '_SET_OUTPUT'

 #define SET_OUTPUT(IO)  _SET_OUTPUT(IO)

                         ^

sketch\Marlin_main.cpp:658:5: note: in expansion of macro 'SET_OUTPUT'

     SET_OUTPUT(CONTROLLERFAN_PIN); //Set pin used for driver cooling fan

     ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:53: error: 'DIOFAN2_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:26: note: in definition of macro 'MASK'

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

                          ^

sketch\fastio.h:76:25: note: in expansion of macro '_SET_OUTPUT'

 #define SET_OUTPUT(IO)  _SET_OUTPUT(IO)

                         ^

sketch\Marlin_main.cpp:658:5: note: in expansion of macro 'SET_OUTPUT'

     SET_OUTPUT(CONTROLLERFAN_PIN); //Set pin used for driver cooling fan

     ^

In file included from sketch\Configuration.h:841:0,

                 from sketch\Marlin.h:22,

                 from sketch\Marlin_main.cpp:31:

Configuration_adv.h:64: error: 'FAN2_PIN' was not declared in this scope

 #define CONTROLLERFAN_PIN FAN2_PIN //Pin used for the fan to cool controller (-1 to disable)

                           ^

sketch\Marlin_main.cpp:659:18: note: in expansion of macro 'CONTROLLERFAN_PIN'

     digitalWrite(CONTROLLERFAN_PIN, CONTROLLERFAN_SPEED_START); // kickstart for controller fan

                  ^

sketch\Marlin_main.cpp: In function 'void clear_buffer()':

sketch\Marlin_main.cpp:803:23: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]

       cmdbuffer[j] = NULL;

                       ^

sketch\Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*, bool)':

sketch\Marlin_main.cpp:1184:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     planeNormal.debug("planeNormal");

                                    ^

sketch\Marlin_main.cpp: In function 'void run_z_probe()':

Marlin_main.cpp:1278: error: 'Z_PROBE_PIN' was not declared in this scope

     if(zPosition == 0 && !digitalRead(Z_PROBE_PIN)^Z_PROBE_ENDSTOP_INVERTING)

                                       ^

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

                 from sketch\Marlin_main.cpp:31:

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

fastio.h:51: error: 'DIOZ_PROBE_PIN_DDR' was not declared in this scope

 #define _SET_INPUT(IO) do {DIO ##  IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0)

                            ^

sketch\fastio.h:74:24: note: in expansion of macro '_SET_INPUT'

 #define SET_INPUT(IO)  _SET_INPUT(IO)

                        ^

sketch\Marlin_main.cpp:2070:13: note: in expansion of macro 'SET_INPUT'

             SET_INPUT(Z_PROBE_PIN);

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:51: error: 'DIOZ_PROBE_PIN_PIN' was not declared in this scope

 #define _SET_INPUT(IO) do {DIO ##  IO ## _DDR &= ~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:74:24: note: in expansion of macro '_SET_INPUT'

 #define SET_INPUT(IO)  _SET_INPUT(IO)

                        ^

sketch\Marlin_main.cpp:2070:13: note: in expansion of macro 'SET_INPUT'

             SET_INPUT(Z_PROBE_PIN);

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:45: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2071:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, HIGH);

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:53: error: 'DIOZ_PROBE_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:76:25: note: in expansion of macro '_SET_OUTPUT'

 #define SET_OUTPUT(IO)  _SET_OUTPUT(IO)

                         ^

sketch\Marlin_main.cpp:2283:13: note: in expansion of macro 'SET_OUTPUT'

             SET_OUTPUT(Z_PROBE_PIN);

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:53: error: 'DIOZ_PROBE_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:26: note: in definition of macro 'MASK'

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

                          ^

sketch\fastio.h:76:25: note: in expansion of macro '_SET_OUTPUT'

 #define SET_OUTPUT(IO)  _SET_OUTPUT(IO)

                         ^

sketch\Marlin_main.cpp:2283:13: note: in expansion of macro 'SET_OUTPUT'

             SET_OUTPUT(Z_PROBE_PIN);

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:45: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2284:13: note: in expansion of macro 'WRITE'

             WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

             ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:51: error: 'DIOZ_PROBE_PIN_DDR' was not declared in this scope

 #define _SET_INPUT(IO) do {DIO ##  IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0)

                            ^

sketch\fastio.h:74:24: note: in expansion of macro '_SET_INPUT'

 #define SET_INPUT(IO)  _SET_INPUT(IO)

                        ^

sketch\Marlin_main.cpp:2666:9: note: in expansion of macro 'SET_INPUT'

         SET_INPUT(Z_PROBE_PIN);

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:51: error: 'DIOZ_PROBE_PIN_PIN' was not declared in this scope

 #define _SET_INPUT(IO) do {DIO ##  IO ## _DDR &= ~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:74:24: note: in expansion of macro '_SET_INPUT'

 #define SET_INPUT(IO)  _SET_INPUT(IO)

                        ^

sketch\Marlin_main.cpp:2666:9: note: in expansion of macro 'SET_INPUT'

         SET_INPUT(Z_PROBE_PIN);

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:45: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2667:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, HIGH);

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:53: error: 'DIOZ_PROBE_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:76:25: note: in expansion of macro '_SET_OUTPUT'

 #define SET_OUTPUT(IO)  _SET_OUTPUT(IO)

                         ^

sketch\Marlin_main.cpp:2905:9: note: in expansion of macro 'SET_OUTPUT'

         SET_OUTPUT(Z_PROBE_PIN);

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:53: error: 'DIOZ_PROBE_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:26: note: in definition of macro 'MASK'

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

                          ^

sketch\fastio.h:76:25: note: in expansion of macro '_SET_OUTPUT'

 #define SET_OUTPUT(IO)  _SET_OUTPUT(IO)

                         ^

sketch\Marlin_main.cpp:2905:9: note: in expansion of macro 'SET_OUTPUT'

         SET_OUTPUT(Z_PROBE_PIN);

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:45: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:34: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

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

                 from sketch\Marlin_main.cpp:31:

fastio.h:39: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

fastio.h:30: error: 'DIOZ_PROBE_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_main.cpp:2906:9: note: in expansion of macro 'WRITE'

         WRITE(Z_PROBE_PIN, LOW); //Disable Z_PROBE when not in use

         ^

In file included from sketch\Configuration.h:841:0,

                 from sketch\Marlin.h:22,

                 from sketch\Marlin_main.cpp:31:

sketch\Marlin_main.cpp: In function 'void controllerFan()':

Configuration_adv.h:64: error: 'FAN2_PIN' was not declared in this scope

 #define CONTROLLERFAN_PIN FAN2_PIN //Pin used for the fan to cool controller (-1 to disable)

                           ^

sketch\Marlin_main.cpp:4876:16: note: in expansion of macro 'CONTROLLERFAN_PIN'

   digitalWrite(CONTROLLERFAN_PIN, CONTROLLERFAN_SPEED_IDLE);

                ^

Configuration_adv.h:64: error: 'FAN2_PIN' was not declared in this scope

 #define CONTROLLERFAN_PIN FAN2_PIN //Pin used for the fan to cool controller (-1 to disable)

                           ^

sketch\Marlin_main.cpp:4881:22: note: in expansion of macro 'CONTROLLERFAN_PIN'

         digitalWrite(CONTROLLERFAN_PIN, CONTROLLERFAN_SPEED_MIN);

                      ^

Configuration_adv.h:64: error: 'FAN2_PIN' was not declared in this scope

 #define CONTROLLERFAN_PIN FAN2_PIN //Pin used for the fan to cool controller (-1 to disable)

                           ^

sketch\Marlin_main.cpp:4890:22: note: in expansion of macro 'CONTROLLERFAN_PIN'

         digitalWrite(CONTROLLERFAN_PIN, CONTROLLERFAN_SPEED_FULL);

                      ^

Configuration_adv.h:64: error: 'FAN2_PIN' was not declared in this scope

 #define CONTROLLERFAN_PIN FAN2_PIN //Pin used for the fan to cool controller (-1 to disable)

                           ^

sketch\Marlin_main.cpp:4895:16: note: in expansion of macro 'CONTROLLERFAN_PIN'

   digitalWrite(CONTROLLERFAN_PIN, CONTROLLERFAN_SPEED_MAX);

                ^

exit status 1
'Z_PROBE_PIN' was not declared in this scope

Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.



Auszug aller Codezeilen die ich gegenüber der Standardeinstellungen geändert habe.
// This determines the communication speed of the printer
#define BAUDRATE 115200
...
#ifndef MOTHERBOARD
  #define MOTHERBOARD BOARD_RAMPS_13_EFB
#endif

...
#define TEMP_SENSOR_BED 11
....
//#define DEFAULT_AXIS_STEPS_PER_UNIT   {100.5,100.5,1600,830}  // default steps per unit for LulzBot TAZ
#define DEFAULT_AXIS_STEPS_PER_UNIT  {76,7590, 76,7590, 4000, 109,52}  // für meinen Drucker
// {76,7590, 76,7590, 4000, 109,52}
//#define DEFAULT_MAX_FEEDRATE          {800, 800, 3, 40}    // (mm/sec)
#define DEFAULT_MAX_FEEDRATE          {300, 300, 5, 100}    // (mm/sec).

zuletzt Fehlt noch Solid State Relais für Heizbed und Autobet leveling mittels Servo dann hab ich die Anpassungen die ich benötige

1-mal bearbeitet. Zuletzt am 01.05.16 08:31.
Re: BOARD_RAMPS_13_EFB und Z_PROBE_PIN
03. May 2016 01:26
Hallo und willkommen im Forum,

versuche es mal mit

#define MOTHERBOARD 33

Grüße
Martin

EDIT:
Denk daran, dass du als Dezimaltrennzeichen ein "." und kein "," nimmst
Also nicht: #define DEFAULT_AXIS_STEPS_PER_UNIT {76,7590, 76,7590, 4000, 109,52} // für meinen Drucker
Sondern: #define DEFAULT_AXIS_STEPS_PER_UNIT {76.7590, 76.7590, 4000, 109.52} // für meinen Drucker

1-mal bearbeitet. Zuletzt am 03.05.16 01:29.


Grüße
Martin
Re: BOARD_RAMPS_13_EFB und Z_PROBE_PIN
11. May 2016 14:36
Hi ich hab deine Antwort schon früher gelesen. Vielen dank für die "," das wäre mir sicher noch dumm gekommen.

Das Problem mit der Z-Probe wurde im aktuellsten ## Release Candidate -- Marlin 1.1.0-RC6 - 24 April 2016 behoben.

RC6 - 23 Apr 2016

Completed support for CoreXY / CoreXZ in planner
Changes to positioning behavior
Various issues fixed. More details pending.
Quelle

Daher hat sich das Problem für mich erledigt.

Danke und Gruß
hörschy

1-mal bearbeitet. Zuletzt am 11.05.16 14:37.
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen