Help to upgrade Repetier firmware for Tronxy X3 with new table dimensions (320x320mm)

Hi, I´m Igor, and i'm using an Raspberry Pi 4 with octoprint on Raspbian. I dont know what im doing here with all the configuration. Im very lost about it. I change my table dimensions and i have an TRONXY X3 very modified in it structure. I´ve put on this one table with 320x320 mm, but while i do not change the right values in a new firmware to my TRONXY, i can't achieve that dimensions (i think). I need support to upgrade my firmware with repetier in a TRONXY X3 printer. So, i download the X3_8_Repetier_V1.0_Tronxy firmware from internet and change the values from configuration.h:

define AUXILIARY_LEVELING true

define AUX_LEVEL_GOTOP1_SCRIPT "G1 Z3 F600\nG1 X10 Y10 F6000\nG1 Z0.2 F600\n"

define AUX_LEVEL_GOTOP2_SCRIPT "G1 Z3 F600\nG1 X310 Y10 F6000\nG1 Z0.2 F600\n"

define AUX_LEVEL_GOTOP3_SCRIPT "G1 Z3 F600\nG1 X310 Y310 F6000\nG1 Z0.2 F600\n"

define AUX_LEVEL_GOTOP4_SCRIPT "G1 Z3 F600\nG1 X10 Y310 F6000\nG1 Z0.2 F600\n"

---> change the original 190 to 310, i made this thinking in dimensions table, but i dont know if it was right?

---> i change too this values:

define X_MAX_LENGTH 320

define Y_MAX_LENGTH 320

define Z_MAX_LENGTH 300

thinking in the dimensions of the table

So. I tried to compile and receive this error:

Arduino: 1.9.0-beta (Linux), Placa:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch/HAL.h:77:0,
from sketch/Repetier.h:281,
from /home/pi/Downloads/tronxy-x3-repetier-firmware-master/X3_8_Repetier_V1.0_Tronxy/Repetier/Repetier.ino:127:
pins.h:901:33: error: pasting "/ 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!/" and "_DDR" does not give a valid preprocessing token

define SDSS 31 // 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!

                             ^

sketch/fastio.h:36:39: note: in definition of macro '_SET_OUTPUT'

define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

                                   ^~

sketch/HAL.h:559:9: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(SDSS);
^~~~~~
sketch/HAL.h:559:20: note: in expansion of macro 'SDSS'
SET_OUTPUT(SDSS);
^~~~
pins.h:901:33: error: pasting "/ 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!/" and "_PIN" does not give a valid preprocessing token

define SDSS 31 // 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!

                             ^

sketch/fastio.h:36:66: note: in definition of macro '_SET_OUTPUT'

define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

                                                              ^~

sketch/HAL.h:559:9: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(SDSS);
^~~~~~
sketch/HAL.h:559:20: note: in expansion of macro 'SDSS'
SET_OUTPUT(SDSS);
^~~~
signal: abortedarduino-preprocessor: clang/include/clang/Basic/SourceLocation.h:376: const char* clang::PresumedLoc::getFilename() const: Assertion `isValid()' failed.

pasting "/ 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!/" and "_DDR" does not give a valid preprocessing token

and now, iḿ very confused about the rest of process.

Can someone help me please? 

Igor

Sign In or Register to comment.