Hallo!
Ich habe einen 3D-Drucker mit 2 Extrudern und dem Megatronics v3.0 Board geschenkt bekommen.
Seit ein paar Tagen versuche ich Marlin 1.1.9 auf dem Board zu installieren, leider komme ich nicht weit, da die Arduino IDE die Firmware prüft und für fehlerhaft befindet.
Ich bi kein Experte was arduino angeht, eher ein Anfänger der zumindest weißt was die Sketches sind und wie das Ganze mehr oder weniger funktioniert.
Die Codes überfordern mich völlog.
Ich habe also
die Marlin v1.1.9 Firmware runtergeladen und in der IDE geöffnet.
Unter dem Eintrag "Configuration.h" habe ich wie notwendig den Eintrag geändert:
// The following define selects which electronics board you have.
// Please choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
#define MOTHERBOARD
BOARD_MEGATRONICS_3 (Das grün Markierte ist mein Board)
Mein Mainboard ist definitiv kompatibel, zumidest steht es so im Eintrag "boards.h" der Marlin Firmware.
Der Fehler kommt nicht wenn ich die Firmware unverändert lasse für meinen Anycubic i3 Mega und dort läuft die Firmware tadellos.
Wenn ich nun den Sketch überprüfen lasse kommen folgenden Fehler auf:
Arduino: 1.8.12 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\MarlinConfig.h:42:0,
from sketch\AnycubicSerial.cpp:34:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\SdBaseFile.cpp:30:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\Sd2Card.cpp:29:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\Marlin.h:35,
from sketch\Marlin_main.cpp:259:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\MarlinSerial.cpp:36:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\M100_Free_Mem_Chk.cpp:49:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\HAL.h:33:0,
from sketch\MarlinConfig.h:39,
from sketch\Marlin.h:35,
from sketch\Marlin_main.cpp:259:
fastio.h:82:41: error: pasting "DIO" and "-" does not give a valid preprocessing token
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
fastio.h:72:14: error: pasting "DIO" and "-" does not give a valid preprocessing token
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
fastio.h:72:35: error: pasting "DIO" and "-" does not give a valid preprocessing token
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
fastio.h:73:14: error: pasting "DIO" and "-" does not give a valid preprocessing token
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
fastio.h:73:35: error: pasting "DIO" and "-" does not give a valid preprocessing token
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
fastio.h:77:23: error: pasting "DIO" and "-" does not give a valid preprocessing token
uint8_t port_bits = DIO ## IO ## _WPORT; /* Get a mask from the current port bits */ \
^
sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
fastio.h:79:3: error: pasting "DIO" and "-" does not give a valid preprocessing token
DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \
^
sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
fastio.h:79:41: error: pasting "DIO" and "-" does not give a valid preprocessing token
DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \
^
sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
In file included from sketch\HAL.h:33:0,
from sketch\MarlinConfig.h:39,
from sketch\Marlin.h:35,
from sketch\Marlin_main.cpp:259:
fastio.h:87:35: error: pasting "DIO" and "-" does not give a valid preprocessing token
#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)
^
sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^~~~~~~~~~~
sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan
^~~~~~~~~~
fastio.h:87:54: error: pasting "DIO" and "-" does not give a valid preprocessing token
#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)
^
sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^~~~~~~~~~~
sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan
^~~~~~~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\SdFatUtil.cpp:29:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\AnycubicTFT.cpp:27:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\HAL.h:33:0,
from sketch\MarlinConfig.h:39,
from sketch\Marlin.h:35,
from sketch\Marlin_main.cpp:259:
sketch\Marlin_main.cpp: In function 'void controllerFan()':
fastio.h:82:41: error: 'DIO' was not declared in this scope
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
pins.h:413:32: error: unable to find numeric literal operator 'operator""_RPORT'
#define CONTROLLER_FAN_PIN -1
^
sketch\fastio.h:82:48: note: in definition of macro '_WRITE'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~~~~~~~~~~~~~~
In file included from sketch\MarlinConfig.h:27:0,
from sketch\Marlin.h:35,
from sketch\Marlin_main.cpp:259:
pins.h:413:32: error: unable to find numeric literal operator 'operator""_WPORT'
#define CONTROLLER_FAN_PIN -1
^
sketch\macros.h:76:19: note: in definition of macro 'SBI'
#define SBI(n,b) (n |= _BV(b))
^
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~~~~~~~~~~~~~~
pins.h:413:32: error: unable to find numeric literal operator 'operator""_PIN'
#define CONTROLLER_FAN_PIN -1
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:72:10: note: in expansion of macro 'SBI'
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^~~
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~~~~~~~~~~~~~~
pins.h:413:32: error: unable to find numeric literal operator 'operator""_WPORT'
#define CONTROLLER_FAN_PIN -1
^
sketch\macros.h:77:19: note: in definition of macro 'CBI'
#define CBI(n,b) (n &= ~_BV(b))
^
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~~~~~~~~~~~~~~
pins.h:413:32: error: unable to find numeric literal operator 'operator""_PIN'
#define CONTROLLER_FAN_PIN -1
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:73:10: note: in expansion of macro 'CBI'
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^~~
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~~~~~~~~~~~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\I2CPositionEncoder.cpp:31:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\HAL.h:33:0,
from sketch\MarlinConfig.h:39,
from sketch\Marlin.h:35,
from sketch\Marlin_main.cpp:259:
pins.h:413:32: error: unable to find numeric literal operator 'operator""_WPORT'
#define CONTROLLER_FAN_PIN -1
^
sketch\fastio.h:77:30: note: in definition of macro '_WRITE_C'
uint8_t port_bits = DIO ## IO ## _WPORT; /* Get a mask from the current port bits */ \
^~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~~~~~~~~~~~~~~
pins.h:413:32: error: unable to find numeric literal operator 'operator""_RPORT'
#define CONTROLLER_FAN_PIN -1
^
sketch\fastio.h:79:10: note: in definition of macro '_WRITE_C'
DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \
^~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~~~~~~~~~~~~~~
In file included from sketch\MarlinConfig.h:27:0,
from sketch\Marlin.h:35,
from sketch\Marlin_main.cpp:259:
pins.h:413:32: error: unable to find numeric literal operator 'operator""_PIN'
#define CONTROLLER_FAN_PIN -1
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~
sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'
WRITE(CONTROLLER_FAN_PIN, speed);
^~~~~~~~~~~~~~~~~~
sketch\AnycubicTFT.cpp: In member function 'void AnycubicTFTClass::Setup()':
AnycubicTFT.cpp:104:13: error: 'FIL_RUNOUT_PIN' was not declared in this scope
pinMode(FIL_RUNOUT_PIN,INPUT);
^~~~~~~~~~~~~~
sketch\Marlin_main.cpp: In function 'void setup()':
fastio.h:87:35: error: 'DIO' was not declared in this scope
#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)
^
sketch\macros.h:76:19: note: in definition of macro 'SBI'
#define SBI(n,b) (n |= _BV(b))
^
sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^~~~~~~~~~~
sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan
^~~~~~~~~~
pins.h:413:32: error: unable to find numeric literal operator 'operator""_DDR'
#define CONTROLLER_FAN_PIN -1
^
sketch\macros.h:76:19: note: in definition of macro 'SBI'
#define SBI(n,b) (n |= _BV(b))
^
sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^~~~~~~~~~~
sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan
^~~~~~~~~~
sketch\Marlin_main.cpp:15335:16: note: in expansion of macro 'CONTROLLER_FAN_PIN'
SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan
^~~~~~~~~~~~~~~~~~
pins.h:413:32: error: unable to find numeric literal operator 'operator""_PIN'
#define CONTROLLER_FAN_PIN -1
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:87:31: note: in expansion of macro 'SBI'
#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)
^~~
sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)
^~~~~~~~~~~
sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan
^~~~~~~~~~
sketch\Marlin_main.cpp:15335:16: note: in expansion of macro 'CONTROLLER_FAN_PIN'
SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan
^~~~~~~~~~~~~~~~~~
In file included from sketch\HAL.h:33:0,
from sketch\MarlinConfig.h:39,
from sketch\AnycubicTFT.cpp:27:
fastio.h:82:41: error: 'DIOFIL_RUNOUT_PIN_RPORT' was not declared in this scope
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'
WRITE(FIL_RUNOUT_PIN,HIGH);
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\Max7219_Debug_LEDs.cpp:38:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\MarlinConfig.h:27:0,
from sketch\AnycubicTFT.cpp:27:
fastio.h:72:14: error: 'DIOFIL_RUNOUT_PIN_WPORT' was not declared in this scope
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
sketch\macros.h:76:19: note: in definition of macro 'SBI'
#define SBI(n,b) (n |= _BV(b))
^
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'
WRITE(FIL_RUNOUT_PIN,HIGH);
^~~~~
fastio.h:72:35: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:72:10: note: in expansion of macro 'SBI'
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^~~
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'
WRITE(FIL_RUNOUT_PIN,HIGH);
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\G26_Mesh_Validation_Tool.cpp:27:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
fastio.h:73:14: error: 'DIOFIL_RUNOUT_PIN_WPORT' was not declared in this scope
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
sketch\macros.h:77:19: note: in definition of macro 'CBI'
#define CBI(n,b) (n &= ~_BV(b))
^
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'
WRITE(FIL_RUNOUT_PIN,HIGH);
^~~~~
fastio.h:73:35: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:73:10: note: in expansion of macro 'CBI'
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^~~
sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'
WRITE(FIL_RUNOUT_PIN,HIGH);
^~~~~
In file included from sketch\HAL.h:33:0,
from sketch\MarlinConfig.h:39,
from sketch\AnycubicTFT.cpp:27:
fastio.h:77:23: error: 'DIOFIL_RUNOUT_PIN_WPORT' was not declared in this scope
uint8_t port_bits = DIO ## IO ## _WPORT; /* Get a mask from the current port bits */ \
^
sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'
WRITE(FIL_RUNOUT_PIN,HIGH);
^~~~~
In file included from sketch\MarlinConfig.h:42:0,
from sketch\SdFile.cpp:29:
SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
^~~~~
In file included from sketch\MarlinConfig.h:27:0,
from sketch\AnycubicTFT.cpp:27:
fastio.h:79:41: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope
DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'
#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)
^~~~~~~~
sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^~~~~~
sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'
WRITE(FIL_RUNOUT_PIN,HIGH);
^~~~~
fastio.h:69:36: error: 'DIOFIL_RUNOUT_PIN_RPORT' was not declared in this scope
#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)
^
sketch\macros.h:75:23: note: in definition of macro 'TEST'
#define TEST(n,b) !!((n)&_BV(b))
^
sketch\fastio.h:93:31: note: in expansion of macro '_READ'
#define READ(IO) _READ(IO)
^~~~~
sketch\AnycubicTFT.cpp:106:8: note: in expansion of macro 'READ'
if(READ(FIL_RUNOUT_PIN)==true)
^~~~
fastio.h:69:57: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope
#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:69:31: note: in expansion of macro 'TEST'
#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)
^~~~
sketch\fastio.h:93:31: note: in expansion of macro '_READ'
#define READ(IO) _READ(IO)
^~~~~
sketch\AnycubicTFT.cpp:106:8: note: in expansion of macro 'READ'
if(READ(FIL_RUNOUT_PIN)==true)
^~~~
sketch\AnycubicTFT.cpp: In member function 'void AnycubicTFTClass::FilamentRunout()':
fastio.h:69:36: error: 'DIOFIL_RUNOUT_PIN_RPORT' was not declared in this scope
#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)
^
sketch\macros.h:75:23: note: in definition of macro 'TEST'
#define TEST(n,b) !!((n)&_BV(b))
^
sketch\fastio.h:93:31: note: in expansion of macro '_READ'
#define READ(IO) _READ(IO)
^~~~~
sketch\AnycubicTFT.cpp:731:24: note: in expansion of macro 'READ'
FilamentTestStatus=READ(FIL_RUNOUT_PIN)&0xff;
^~~~
fastio.h:69:57: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope
#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)
^
sketch\macros.h:74:23: note: in definition of macro '_BV'
#define _BV(b) (1 << (b))
^
sketch\fastio.h:69:31: note: in expansion of macro 'TEST'
#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)
^~~~
sketch\fastio.h:93:31: note: in expansion of macro '_READ'
#define READ(IO) _READ(IO)
^~~~~
sketch\AnycubicTFT.cpp:731:24: note: in expansion of macro 'READ'
FilamentTestStatus=READ(FIL_RUNOUT_PIN)&0xff;
^~~~
exit status 1
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
Kann mir einer von euch helfen?
Hat jemand von euch vielleicht eine funktionierende Firmware für dieses Board?