Hello,
Please, can someone help…?
Last night I downloaded the firmware file (firmware_K8200_marlin1.zip) from a link on the K8200 online manual, http://www.k8200.eu/manual/building.
I followed the instructions explicitely. When I switched the printer off and on again, the controllerboard monitor now continually displays two parallel black coloured bars (the ones that you see when the printer first starts up). I can no longer access any of the menus.
After searching YouTube, I found a clip relating to the issue. The author stated that the zip file would not work and that you should use (firmware_K8200_marlin2.zip).
My problem lies in the fact that I cannot flash the board. When I try to verify the sketch in the Arduino software, I get the following error message.
Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”
In file included from sketch\Marlin.h:23:0,
from sketch\MarlinSerial.cpp:23:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
In file included from sketch\Marlin.h:23:0,
from sketch\ConfigurationStore.cpp:1:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
In file included from sketch\Marlin.h:23:0,
from sketch\thermistortables.h:4,
from sketch\Configuration.h:478,
from C:\Users\tom\OneDrive\Desktop\Backup 21-05-2020\3d Printing\Bob Sims\Download 4_8_2018\Firmware\k8200_marlinv2\Marlin - 2560 - LCD\Marlin\Marlin.ino:33:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
In file included from sketch\Marlin.h:23:0,
from sketch\Marlin_main.cpp:30:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
In file included from sketch\Marlin.h:23:0,
from sketch\Sd2Card.cpp:20:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
In file included from sketch\Marlin.h:23:0,
from sketch\SdBaseFile.cpp:21:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:6,
from sketch\Marlin_main.cpp:37:
SdBaseFile.h:38:8: error: using typedef-name ‘fpos_t’ after ‘struct’
struct fpos_t {
^~~~~~
In file included from sketch\Marlin.h:10:0,
from sketch\Marlin_main.cpp:30:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: ‘fpos_t’ has a previous declaration here
extension typedef long long fpos_t;
^~~~~~
In file included from sketch\SdBaseFile.cpp:24:0:
SdBaseFile.h:38:8: error: using typedef-name ‘fpos_t’ after ‘struct’
struct fpos_t {
^~~~~~
In file included from sketch\Marlin.h:10:0,
from sketch\SdBaseFile.cpp:21:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: ‘fpos_t’ has a previous declaration here
extension typedef long long fpos_t;
^~~~~~
sketch\SdBaseFile.cpp: In member function ‘void SdBaseFile::getpos(fpos_t*)’:
SdBaseFile.cpp:298:8: error: request for member ‘position’ in ‘* pos’, which is of non-class type ‘fpos_t {aka long long int}’
pos->position = curPosition_;
^~~~~~~~
SdBaseFile.cpp:299:8: error: request for member ‘cluster’ in ‘* pos’, which is of non-class type ‘fpos_t {aka long long int}’
pos->cluster = curCluster_;
^~~~~~~
sketch\SdBaseFile.cpp: In member function ‘void SdBaseFile::setpos(fpos_t*)’:
SdBaseFile.cpp:1496:23: error: request for member ‘position’ in ‘* pos’, which is of non-class type ‘fpos_t {aka long long int}’
curPosition_ = pos->position;
^~~~~~~~
SdBaseFile.cpp:1497:22: error: request for member ‘cluster’ in ‘* pos’, which is of non-class type ‘fpos_t {aka long long int}’
curCluster_ = pos->cluster;
^~~~~~~
In file included from sketch\Marlin.h:23:0,
from sketch\SdFatUtil.cpp:20:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
In file included from sketch\Marlin.h:23:0,
from sketch\SdFile.cpp:20:
sketch\pins.h:399:0: warning: “FAN_PIN” redefined
#define FAN_PIN 8
sketch\pins.h:395:0: note: this is the location of the previous definition
#define FAN_PIN 4 // IO pin. Buffer needed
sketch\pins.h:415:0: warning: “HEATER_1_PIN” redefined
#define HEATER_1_PIN 12 //E1
sketch\pins.h:409:0: note: this is the location of the previous definition
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
sketch\pins.h:416:0: warning: “HEATER_2_PIN” redefined
#define HEATER_2_PIN 6 //BED
sketch\pins.h:411:0: note: this is the location of the previous definition
#define HEATER_2_PIN -1
sketch\pins.h:456:0: warning: “BEEPER” redefined
#define BEEPER -1 // Beeper on AUX-4
sketch\pins.h:429:0: note: this is the location of the previous definition
#define BEEPER 33 // Beeper on AUX-4
sketch\pins.h:458:0: warning: “LCD_PINS_RS” redefined
#define LCD_PINS_RS 27
sketch\pins.h:431:0: note: this is the location of the previous definition
#define LCD_PINS_RS 16
sketch\pins.h:459:0: warning: “LCD_PINS_ENABLE” redefined
#define LCD_PINS_ENABLE 29
sketch\pins.h:432:0: note: this is the location of the previous definition
#define LCD_PINS_ENABLE 17
sketch\pins.h:460:0: warning: “LCD_PINS_D4” redefined
#define LCD_PINS_D4 37
sketch\pins.h:433:0: note: this is the location of the previous definition
#define LCD_PINS_D4 23
sketch\pins.h:461:0: warning: “LCD_PINS_D5” redefined
#define LCD_PINS_D5 35
sketch\pins.h:434:0: note: this is the location of the previous definition
#define LCD_PINS_D5 25
sketch\pins.h:462:0: warning: “LCD_PINS_D6” redefined
#define LCD_PINS_D6 33
sketch\pins.h:435:0: note: this is the location of the previous definition
#define LCD_PINS_D6 27
sketch\pins.h:463:0: warning: “LCD_PINS_D7” redefined
#define LCD_PINS_D7 31
sketch\pins.h:436:0: note: this is the location of the previous definition
#define LCD_PINS_D7 29
sketch\pins.h:466:0: warning: “BTN_EN1” redefined
#define BTN_EN1 16
sketch\pins.h:439:0: note: this is the location of the previous definition
#define BTN_EN1 37
sketch\pins.h:467:0: warning: “BTN_EN2” redefined
#define BTN_EN2 17
sketch\pins.h:440:0: note: this is the location of the previous definition
#define BTN_EN2 35
sketch\pins.h:468:0: warning: “BTN_ENC” redefined
#define BTN_ENC 23 //the click
sketch\pins.h:441:0: note: this is the location of the previous definition
#define BTN_ENC 31 //the click
In file included from sketch\SdFile.h:27:0,
from sketch\SdFile.cpp:23:
SdBaseFile.h:38:8: error: using typedef-name ‘fpos_t’ after ‘struct’
struct fpos_t {
^~~~~~
In file included from sketch\Marlin.h:10:0,
from sketch\SdFile.cpp:20:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: ‘fpos_t’ has a previous declaration here
extension typedef long long fpos_t;
^~~~~~
exit status 1
using typedef-name ‘fpos_t’ after ‘struct’
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.