How to install the firmware for GT2560

vertexus
Posts: 1
Joined: Sun Dec 16, 2018 1:43 am

Re: How to install the firmware for GT2560

Post by vertexus » Sun Dec 16, 2018 1:48 am

Hallo
Hier finde ich alle Firmware aber nicht die von meinem Prusa i3 pro w, Welche kann ich den dafür nutzen? =(

Hello
Here I find all the firmware but not the one of my Prusa i3 pro w, which can I use it for? = (

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: How to install the firmware for GT2560

Post by William » Mon Dec 17, 2018 10:13 am

vertexus wrote:
Sun Dec 16, 2018 1:48 am
Hallo
Hier finde ich alle Firmware aber nicht die von meinem Prusa i3 pro w, Welche kann ich den dafür nutzen? =(

Hello
Here I find all the firmware but not the one of my Prusa i3 pro w, which can I use it for? = (
Refer:
viewtopic.php?f=20&t=17046
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

landini
Posts: 1
Joined: Tue Nov 20, 2018 3:46 am

Re: How to install the firmware for GT2560

Post by landini » Thu Dec 27, 2018 11:50 pm

Buon giorno, sono nuovo del forum. Anche io ho una prusa i3 pro alluminio con controllo nella scatola esterna che ha GT2560 ho provato installare firmware come avete detto voi nel link. Purtroppo non funziona neanche come si vede nella foto errore :( aiutatemi non funziona nulla si sente solo fischiare tanto. Grazie
Attachments
prusa error.png
prusa error.png (187.1 KiB) Viewed 63180 times

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: How to install the firmware for GT2560

Post by William » Fri Dec 28, 2018 10:37 am

landini wrote:
Thu Dec 27, 2018 11:50 pm
Buon giorno, sono nuovo del forum. Anche io ho una prusa i3 pro alluminio con controllo nella scatola esterna che ha GT2560 ho provato installare firmware come avete detto voi nel link. Purtroppo non funziona neanche come si vede nella foto errore :( aiutatemi non funziona nulla si sente solo fischiare tanto. Grazie
You need to add the U8glib.zip to arduino ide
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

gboldiii
Posts: 7
Joined: Sat Dec 29, 2018 1:49 am

Re: How to install the firmware for GT2560

Post by gboldiii » Tue Jan 15, 2019 12:00 pm

I have an A10M that seems to have lost its FW as I only have two lines of dashes on my printer screen. I have followed the instructions using Arduino 1.8.5 and the A10M's 1.1.8 FW with the COM drivers loaded and I seem to connect with COM 3 but get time out errors, any thoughts on what I am doing wrong?
Screenshot (4).png
Screenshot (4).png (364.78 KiB) Viewed 62909 times

gboldiii
Posts: 7
Joined: Sat Dec 29, 2018 1:49 am

Re: How to install the firmware for GT2560

Post by gboldiii » Wed Jan 16, 2019 12:03 pm

Before I get the timeout errors I get this error before it tries to upload:

Code: Select all

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,

                 from sketch\MarlinConfig.h:38,

                 from sketch\configuration_store.h:26,

                 from sketch\configuration_store.cpp:190:

sketch\configuration_store.cpp: In static member function 'static bool MarlinSettings::Fixed_parameter_load()':

sketch\configuration_store.cpp:857:19: warning: unknown escape sequence: '\F'

   SERIAL_ECHOPAIR(" \r\Fixed parameter nbytes; crc error ", (uint32_t)stored_crc);

                   ^

sketch\serial.h:60:40: note: in expansion of macro 'SERIAL_PROTOCOLPAIR'

 #define SERIAL_ECHOPAIR(pre,value)     SERIAL_PROTOCOLPAIR(pre, value)

                                        ^

sketch\configuration_store.cpp:857:3: note: in expansion of macro 'SERIAL_ECHOPAIR'

   SERIAL_ECHOPAIR(" \r\Fixed parameter nbytes; crc error ", (uint32_t)stored_crc);

   ^

Sketch uses 133742 bytes (52%) of program storage space. Maximum is 253952 bytes.
Global variables use 5313 bytes (64%) of dynamic memory, leaving 2879 bytes for local variables. Maximum is 8192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: How to install the firmware for GT2560

Post by William » Wed Jan 16, 2019 11:26 pm

gboldiii wrote:
Wed Jan 16, 2019 12:03 pm
Before I get the timeout errors I get this error before it tries to upload:

Code: Select all

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,

                 from sketch\MarlinConfig.h:38,

                 from sketch\configuration_store.h:26,

                 from sketch\configuration_store.cpp:190:

sketch\configuration_store.cpp: In static member function 'static bool MarlinSettings::Fixed_parameter_load()':

sketch\configuration_store.cpp:857:19: warning: unknown escape sequence: '\F'

   SERIAL_ECHOPAIR(" \r\Fixed parameter nbytes; crc error ", (uint32_t)stored_crc);

                   ^

sketch\serial.h:60:40: note: in expansion of macro 'SERIAL_PROTOCOLPAIR'

 #define SERIAL_ECHOPAIR(pre,value)     SERIAL_PROTOCOLPAIR(pre, value)

                                        ^

sketch\configuration_store.cpp:857:3: note: in expansion of macro 'SERIAL_ECHOPAIR'

   SERIAL_ECHOPAIR(" \r\Fixed parameter nbytes; crc error ", (uint32_t)stored_crc);

   ^

Sketch uses 133742 bytes (52%) of program storage space. Maximum is 253952 bytes.
Global variables use 5313 bytes (64%) of dynamic memory, leaving 2879 bytes for local variables. Maximum is 8192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Could you find the COM PORT on device manager?
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

gboldiii
Posts: 7
Joined: Sat Dec 29, 2018 1:49 am

Re: How to install the firmware for GT2560

Post by gboldiii » Thu Jan 17, 2019 7:30 am

Yes, Using Com 4
Screenshot (3).png
Screenshot (3).png (138.09 KiB) Viewed 62826 times

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: How to install the firmware for GT2560

Post by William » Thu Jan 17, 2019 9:44 am

From you pic.You have open the Easyprint +arduino.
Could you check the com port used on Easyprint or arduino?
Or you can try to click"reset"on the motherboard when you try to upload.
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

Anonymous1234567890
Posts: 1
Joined: Tue Feb 05, 2019 9:38 am

Re: How to install the firmware for GT2560

Post by Anonymous1234567890 » Tue Feb 05, 2019 9:42 am

I tried uploading to my i3 Pro X but I get this error:

Code: Select all


Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

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

                 from sketch\planner.cpp:54:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

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

                 from sketch\SdBaseFile.cpp:21:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\stepper.cpp:24:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\Sd2Card.cpp:20:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\temperature.h:24,

                 from sketch\ultralcd.cpp:1:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\BlinkM.cpp:5:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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.19.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_;

        ^

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

                 from sketch\motion_control.cpp:22:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\SdFile.cpp:20:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\stepper.cpp:30:

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\stepper.cpp:24:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.19.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\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\ultralcd.cpp:6:

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\temperature.h:24,

                 from sketch\ultralcd.cpp:1:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.19.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\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.19.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\Marlin.h:23:0,

                 from sketch\SdFatUtil.cpp:20:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

exit status 1
sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\cardreader.cpp:1:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\MarlinSerial.cpp:23:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

In file included from sketch\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\cardreader.cpp:2:

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\cardreader.cpp:1:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.19.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\Marlin.h:23:0,

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:792,

                 from C:\Users\Owner\Desktop\I3_pro_X\Marlin\Marlin.ino:33:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\Marlin_main.cpp:30:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\vector_3.cpp:20:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\temperature.cpp:32:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:792,

                 from sketch\digipot_mcp4451.cpp:1:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

         LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                    ^

sketch\temperature.cpp:565:50: warning: extra tokens at end of #ifdef directive

     #ifdef THERMAL_RUNAWAY_PROTECTION_BED_PERIOD && THERMAL_RUNAWAY_PROTECTION_BED_PERIOD > 0

                                                  ^

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

                 from sketch\ConfigurationStore.cpp:1:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

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

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:792,

                 from sketch\Servo.cpp:44:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined

 #define X_MAX_PIN          -1

 ^

sketch\pins.h:1363:0: note: this is the location of the previous definition

 #define X_MAX_PIN 24

 ^

sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined

 #define Y_MAX_PIN          -1

 ^

sketch\pins.h:1369:0: note: this is the location of the previous definition

 #define Y_MAX_PIN 28

 ^

sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined

 #define Z_MAX_PIN          -1

 ^

sketch\pins.h:1375:0: note: this is the location of the previous definition

 #define Z_MAX_PIN 32

 ^

In file included from sketch\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\Marlin_main.cpp:44:

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.19.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;

                                 ^

using typedef-name 'fpos_t' after 'struct'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I know, it's a long error but I need to know how to fix it. :geek: :geek: :?

Locked