MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.24k stars 19.22k forks source link

[FR] Tronxy X5SA TFT Support on STMF446ZET6 Board #26162

Closed Pelu88 closed 4 months ago

Pelu88 commented 1 year ago

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

I configured all the Configuration.h, Configuration_adv.h and platformio.ini for a Tronxy's board with STM32F446ZET chip. I selected the TFT_TRONXY_X5SA LCD as my screen. When I compile I get this error:

Tool Manager: framework-arduinoststm32@4.10900.200819 has been installed! Verbose mode can be enabled via -v, --verbose option In file included from c:\users\manonif\documents\marlin-bugfix-2.1.x-pelu\marlin\src\pins\pins.h:800, from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:36, from buildroot/share/PlatformIO/scripts/common-dependencies.h:29: c:\users\manonif\documents\marlin-bugfix-2.1.x-pelu\marlin\src\pins\stm32f4/pins_TRONXY_V10.h:190:4: error: #error "TFT_TRONXY_X5SA is not yet supported." 190 | #error "TFT_TRONXY_X5SA is not yet supported." | ^~~~~ Error: Failed to parse Marlin features. See previous error messages.

I'd like to know which TFT I have to define.

Bug Timeline

No response

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

No response

Version of Marlin Firmware

Marlin-bugfix-2.1.x

Printer model

Tronxy XY3 Pro-V2

Electronics

Stock electronics (STM32F446ZET6)

Add-ons

No response

Bed Leveling

ABL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

Pronterface

Don't forget to include

Additional information & file uploads

Configuration files.zip

EvilGremlin commented 1 year ago

It's not a bug, it's feature request. Somweone with skills and hardware have to do this.

Pelu88 commented 1 year ago

It's not a bug, it's feature request. Somweone with skills and hardware have to do this.

Sorry I didn't know where to post this, I'm new in this

jmz52 commented 1 year ago

@Pelu88, I can work on this, but I have no F446 board to test my code beyond mere compilation. Will you be able to test it on your printer?

Pelu88 commented 1 year ago

@Pelu88, I can work on this, but I have no F446 board to test my code beyond mere compilation. Will you be able to test it on your printer?

Thank you a lot for your time @jmz52 . Yes I can test it for you, I have backup of my current firmware so I would like to test if you find any solution. Thanks a lot again for contribute

jmz52 commented 1 year ago

@Pelu88, F446 code available at https://github.com/jmz52/Marlin/tree/stm32f4-tft-spi-fix Please note that I had to disable CONTROLLER_FAN_MIN_SOC_TEMP and LIN_ADVANCE features in your configuration files to avoid compilation errors.

Pelu88 commented 1 year ago

@Pelu88, F446 code available at https://github.com/jmz52/Marlin/tree/stm32f4-tft-spi-fix Please note that I had to disable CONTROLLER_FAN_MIN_SOC_TEMP and LIN_ADVANCE features in your configuration files to avoid compilation errors.

@jmz52 Alex, I've just downloaded it. I'm seeing it and I have a few questions. Do I have to set the env in platformio don't I? and also I have to configure all the configuration.h and configuration_adv.h? As soon as I can compile and test it I would make you know if it's ok. Thanks a lot for your time

jmz52 commented 1 year ago

Yes, the board-specific changes to platformio.ini and configuration files are not included. I was using [env:STM32F446_tronxy] build environment and configuration files you've provided.

Pelu88 commented 1 year ago

@jmz52 Alex, I've setted up the configuration.h and configuration_adv.h disabling the CONTROLLER_FAN_MIN_SOC_TEMP and LIN_ADVANCE features as you recommended, but I still having compilation errors. Here it is the terminal debug:

 *  Ejecutando tarea: C:\Users\franc\.platformio\penv\Scripts\platformio.exe run 

Processing STM32F446_tronxy (board: marlin_STM32F446ZET_tronxy; platform: ststm32@~12.1; framework: arduino)
-----------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
In file included from d:\compis marlin\marlin-2.1.2.1-gavrilenko\marlin\src\pins\pins.h:800,
                 from d:\compis marlin\marlin-2.1.2.1-gavrilenko\marlin\src\inc\marlinconfig.h:36,
                 from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
d:\compis marlin\marlin-2.1.2.1-gavrilenko\marlin\src\pins\stm32f4/pins_TRONXY_V10.h:190:4: error: #error "TFT_TRONXY_X5SA is not yet supported."
  190 |   #error "TFT_TRONXY_X5SA is not yet supported."
      |    ^~~~~
Error: Failed to parse Marlin features. See previous error messages.

Then I've tried defining with generic TFT and I get this errors:

In file included from Marlin\src\HAL\STM32\tft\xpt2046.cpp:31:
Marlin\src\HAL\STM32\tft\xpt2046.h:39:4: error: #error "TOUCH_MISO_PIN is not defined."
39 | #error "TOUCH_MISO_PIN is not defined."
| ^~~~~
In file included from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNames.h:4,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/pinmap.h:22,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PeripheralPins.h:34,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/analog.h:44,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/board.h:8,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/wiring.h:41,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:36,
from d:\compis marlin\marlin-2.1.2.1-gavrilenko\marlin\src\hal\shared\marduino.h:36,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/HAL.h:28,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\tft../../../inc/MarlinConfig.h:33,
from Marlin\src\HAL\STM32\tft\xpt2046.cpp:27:
Marlin\src\HAL\STM32\tft\xpt2046.h: In static member function 'static void XPT2046::dataTransferBegin()':
Marlin\src\HAL\STM32\tft\xpt2046.h:76:87: error: 'TOUCH_CS_PIN' was not declared in this scope; did you mean 'TOUCH_INT_PIN'?
76 | static void dataTransferBegin() { if (SPIx.Instance) { HAL_SPI_Init(&SPIx); } WRITE(TOUCH_CS_PIN, LOW); };
| ^~~~~~~~~~~~
C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNamesTypes.h:129:34: note: in definition of macro 'STM_PORT'
129 | #define STM_PORT(X) (((uint32_t)(X) >> 4) & 0xF)
| ^
Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/fastio.h:59:49: note: in expansion of macro 'digitalPinToPinName'
59 | #define _WRITE(IO, V) (FastIOPortMap[STM_PORT(digitalPinToPinName(IO))]->BSRR = _BV32(STM_PIN(digitalPinToPinName(IO)) + ((V) ? 0 : 16)))
| ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/fastio.h:70:33: note: in expansion of macro '_WRITE'
70 | #define WRITE(IO,V) _WRITE(IO,V)
| ^~~~~~
Marlin\src\HAL\STM32\tft\xpt2046.h:76:81: note: in expansion of macro 'WRITE'
76 | static void dataTransferBegin() { if (SPIx.Instance) { HAL_SPI_Init(&SPIx); } WRITE(TOUCH_CS_PIN, LOW); };
| ^~~~~
Marlin\src\HAL\STM32\tft\xpt2046.h: In static member function 'static void XPT2046::dataTransferEnd()':
Marlin\src\HAL\STM32\tft\xpt2046.h:77:41: error: 'TOUCH_CS_PIN' was not declared in this scope; did you mean 'TOUCH_INT_PIN'?
77 | static void dataTransferEnd() { WRITE(TOUCH_CS_PIN, HIGH); };
| ^~~~~~~~~~~~
C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNamesTypes.h:129:34: note: in definition of macro 'STM_PORT'
129 | #define STM_PORT(X) (((uint32_t)(X) >> 4) & 0xF)
| ^
Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/fastio.h:59:49: note: in expansion of macro 'digitalPinToPinName'
59 | #define _WRITE(IO, V) (FastIOPortMap[STM_PORT(digitalPinToPinName(IO))]->BSRR = _BV32(STM_PIN(digitalPinToPinName(IO)) + ((V) ? 0 : 16)))
| ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/fastio.h:70:33: note: in expansion of macro '_WRITE'
70 | #define WRITE(IO,V) _WRITE(IO,V)
| ^~~~~~
Marlin\src\HAL\STM32\tft\xpt2046.h:77:35: note: in expansion of macro 'WRITE'
77 | static void dataTransferEnd() { WRITE(TOUCH_CS_PIN, HIGH); };
| ^~~~~
In file included from Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/HAL.h:32,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\tft../../../inc/MarlinConfig.h:33,
from Marlin\src\HAL\STM32\tft\xpt2046.cpp:27:
Marlin\src\HAL\STM32\tft\xpt2046.cpp: In static member function 'static void XPT2046::init()':
Marlin\src\HAL\STM32\tft\xpt2046.cpp:41:13: error: 'TOUCH_CS_PIN' was not declared in this scope; did you mean 'TOUCH_INT_PIN'?
41 | OUT_WRITE(TOUCH_CS_PIN, HIGH);
| ^~~~~~~~~~~~
Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/fastio.h:67:41: note: in definition of macro '_SET_OUTPUT'
67 | #define _SET_OUTPUT(IO) pinMode(IO, OUTPUT) //!< Output Push Pull Mode & GPIO_NOPULL
| ^~
Marlin\src\HAL\STM32\tft\xpt2046.cpp:41:3: note: in expansion of macro 'OUT_WRITE'
41 | OUT_WRITE(TOUCH_CS_PIN, HIGH);
| ^~~~~~~~~
In file included from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:31:
Marlin\src\HAL\STM32\tft\tft_fsmc.h:107:12: error: 'FSMC_NORSRAM_DEVICE' was not declared in this scope; did you mean 'FMC_NORSRAM_DEVICE'?
107 | {PD_14, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D00
| ^~~~~~~~~~~~~~~~~~~
| FMC_NORSRAM_DEVICE
In file included from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNames.h:4,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/pinmap.h:22,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PeripheralPins.h:34,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/analog.h:44,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/board.h:8,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/wiring.h:41,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:36,
from d:\compis marlin\marlin-2.1.2.1-gavrilenko\marlin\src\hal\shared\marduino.h:36,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/HAL.h:28,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\tft../../../inc/MarlinConfig.h:33,
from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:27:
Marlin\src\HAL\STM32\tft\tft_fsmc.h:97:69: error: 'GPIO_AF12_FSMC' was not declared in this scope; did you mean 'GPIO_AF12_FMC'?
97 | #define FSMC_PIN_DATA STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_FSMC)
| ^~~~~~~~~~~~~~
C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNamesTypes.h:93:29: note: in definition of macro 'STM_PIN_DEFINE'
93 | ((AFNUM & STM_PIN_AFNUM_MASK) << STM_PIN_AFNUM_SHIFT))
| ^~~~~
Marlin\src\HAL\STM32\tft\tft_fsmc.h:97:27: note: in expansion of macro 'STM_PIN_DATA'
97 | #define FSMC_PIN_DATA STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_FSMC)
| ^~~~~~~~~~~~
Marlin\src\HAL\STM32\tft\tft_fsmc.h:107:33: note: in expansion of macro 'FSMC_PIN_DATA'
107 | {PD_14, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D00
| ^~~~~~~~~~~~~
In file included from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:56,
from d:\compis marlin\marlin-2.1.2.1-gavrilenko\marlin\src\hal\shared\marduino.h:36,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/HAL.h:28,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\tft../../../inc/MarlinConfig.h:33,
from Marlin\src\HAL\STM32\tft\xpt2046.cpp:27:
Marlin\src\HAL\STM32\tft\xpt2046.cpp:48:75: error: 'TOUCH_SCK_PIN' was not declared in this scope; did you mean 'TOUCH_INT_PIN'?
48 | spiInstance = (SPI_TypeDef *)pinmap_peripheral(digitalPinToPinName(TOUCH_SCK_PIN), PinMap_SPI_SCLK);
| ^~~~~~~~~~~~~
C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/pins_arduino.h:249:49: note: in definition of macro 'digitalPinToPinName'
249 | #define digitalPinToPinName(p) (((uint32_t)p < NUM_DIGITAL_PINS) ? digitalPin[p] : NC)
| ^
In file included from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:31:
Marlin\src\HAL\STM32\tft\tft_fsmc.h:108:12: error: 'FSMC_NORSRAM_DEVICE' was not declared in this scope; did you mean 'FMC_NORSRAM_DEVICE'?
108 | {PD_15, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D01
| ^~~~~~~~~~~~~~~~~~~
| FMC_NORSRAM_DEVICE
compilation terminated due to -fmax-errors=5.
In file included from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNames.h:4,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/pinmap.h:22,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PeripheralPins.h:34,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/analog.h:44,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/board.h:8,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/wiring.h:41,
from C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:36,
from d:\compis marlin\marlin-2.1.2.1-gavrilenko\marlin\src\hal\shared\marduino.h:36,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/../HAL/STM32/HAL.h:28,
from Marlin\src\HAL\STM32\tft../../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\tft../../../inc/MarlinConfig.h:33,
from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:27:
Marlin\src\HAL\STM32\tft\tft_fsmc.h:97:69: error: 'GPIO_AF12_FSMC' was not declared in this scope; did you mean 'GPIO_AF12_FMC'?
97 | #define FSMC_PIN_DATA STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_FSMC)
| ^~~~~~~~~~~~~~
C:\Users\franc.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNamesTypes.h:93:29: note: in definition of macro 'STM_PIN_DEFINE'
93 | ((AFNUM & STM_PIN_AFNUM_MASK) << STM_PIN_AFNUM_SHIFT))
| ^~~~~
Marlin\src\HAL\STM32\tft\tft_fsmc.h:97:27: note: in expansion of macro 'STM_PIN_DATA'
97 | #define FSMC_PIN_DATA STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_FSMC)
| ^~~~~~~~~~~~
Marlin\src\HAL\STM32\tft\tft_fsmc.h:108:33: note: in expansion of macro 'FSMC_PIN_DATA'
108 | {PD_15, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D01
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:31:
Marlin\src\HAL\STM32\tft\tft_fsmc.h:109:12: error: 'FSMC_NORSRAM_DEVICE' was not declared in this scope; did you mean 'FMC_NORSRAM_DEVICE'?
109 | {PD_0, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D02
| ^~~~~~~~~~~~~~~~~~~
| FMC_NORSRAM_DEVICE
compilation terminated due to -fmax-errors=5.
*** [.pio\build\STM32F446_tronxy\src\src\HAL\STM32\tft\xpt2046.cpp.o] Error 1
*** [.pio\build\STM32F446_tronxy\src\src\HAL\STM32\tft\tft_fsmc.cpp.o] Error 1

I don't really know what's happening since I don't know about programming. I'm only trying to set up a Firmware for my machine as the official from Tronxy has an issue with the filament change or ADVANCED_PAUSE_FEATURE which causes the printer to not do the routine as it should. I re-attached the files that threw these build errors. Configuration files.zip

thisiskeithb commented 1 year ago

@jmz52: Did you mean to link to https://github.com/jmz52/Marlin/tree/tft-fmc-stm32f446 instead?

jmz52 commented 1 year ago

Indeed. @Pelu88, link I've provided was for another issue. Please use branch https://github.com/jmz52/Marlin/tree/tft-fmc-stm32f446

Pelu88 commented 1 year ago

Indeed. @Pelu88, link I've provided was for another issue. Please use branch https://github.com/jmz52/Marlin/tree/tft-fmc-stm32f446

@jmz52 Downloaded this branch and I could compile it. I flashed and it worked. But, there are some problems with the screen. IMG_20230819_181921517_MP As you can see, the middle of the screen is smudged. Not in all menus, but it's random that it appears. If I compile de "Marlin" version provided by Tronxy, I don't have this issue. I don't know if anyone can compare the files, maybe that way can find out where's the problem

TheThomasD commented 10 months ago

Just an idea: Tronxy offers a (hopefully) compilable branch of Marlin here: https://github.com/tronxy3d/F4xx-SIM480x320

There is a lot of stuff in there, including pin mappings and variant configurations for the chipset. Shouldn't it "just" be an application of the things they did in their repo to the standard Marlin version?

I own a Tronxy XY-2 Pro 2E with the new v10 board - that's why I'm interested as well...

TheThomasD commented 10 months ago

Oh, now I remember :-D I think I did a similar thing back then for my Tronxy Gemini S. I guess it has the same display and a similar board and the config I created below works for the Gemini. Most likely I just have to apply the changes that I did there as well...

https://github.com/TheThomasD/Marlin/compare/2.1.x...TheThomasD:Marlin:2.1.x-tronxy-gemini-s

TheThomasD commented 10 months ago

This works for my Tronxy v10 board including the TFT. My board doesn't even have the STM32 chip but the GD32 clone, but the config still seems to work. I basically applied the changes I did back then to the Gemini S and imported the pin config from the tronxy3d-repo mentioned above. That did the trick...

https://github.com/TheThomasD/Marlin/tree/2.1.x-tronxy-xy-2-pro-2e

I guess what is missing: the changes should somehow be integrated into standard Marlin.

To install the software from my branch:

These are the changes compared to the main branch: image

SyncroSeb commented 9 months ago

@TheThomasD Grüß dich, danke für die Mühe! I used your fork to compile for my X5SA Pro with a 446 V6 Board successfully, but the firmware freezes every 30-60 seconds and restart, until after the 3rd or 4th time it stalls with a grey screen, so the screen works fine, the rest not so good. The screen calibration error i avoid by using a pointy tool like a fine allen wrench, then it works just fine.

The question now is, have you ever had it running? My Board uses a STMF446 CPU not an GP32, I ried to change it like it was done by tronxy in the platformio.ini ("DMCU_TYPE=0", change it to "DMCU_TYPE=4") but I cant find this option...

Any Idea what to try next? Maybe I should try your branch unmodified first, even its a different printer, it should at least show if its stable on th board or not...

I´m sorry, but I don´t know anything about coding, teched myself a bit in modifying firmwares, and thats it. Tell me when I get annoying.

SyncroSeb commented 9 months ago

Ok tried it with the unmodified version, its unstable as well. Every second command it reinitialises. Maybe I have to find out what needs to be changed to fit to the STM32F446 CPU not the GD32.

My fork https://github.com/SyncroSeb/Marlin-for-Tronxy-X5SA-Pro/tree/2.1.x-tronxy-gemini-s

TheThomasD commented 9 months ago

Hi @SyncroSeb,

as for the firmware, it works flawlessly on my Tronxy XY-2 PRO 2E and I was able to print multi-color things without an issue (even longer ones).

I also own an X5SA-400, but for that I use a different branch: https://github.com/TheThomasD/Marlin/tree/2.1.x-tronxy-x5sa-400 I fear that my X5SA is running another chip (BOARD_CHITU3D_V6 // Chitu3D TronXY X5SA V6 Board (STM32F103ZE)), so this might not work for you.

My Tronxy Gemini S, however, should have a similar chip (see repo https://github.com/TheThomasD/Marlin/tree/2.1.x-tronxy-gemini-s). Maybe you (or someone else) can try starting the journey from there?!

Unfortunately, I don't have an X5SA with another chip, so I cannot provide a solution here. If you don't have any experience in programming (and potentially in electronics), it might be hard for you to solve this on your own.

SyncroSeb commented 9 months ago

@TheThomasD looks a lot like I´m stuck here with my limited knowledge. I´m pretty much limited to comparing the configration.h and configration_adv.h of the different versions (Yours, Tronxys, Main branch etc) and trying to reverse engeneer the changes you made for the use with dual extruders, Tronxy made to make our lives hard etc. I also tried to mod the actual 2.1.x branch to use with the 446 motherboard without touchscreen, but there are so many f*cked up dependencies I cant even manage to do this, each time i try to compile theres another error asking for files and lines releated to the TFT. I just cannot find where to disable the screen completely. I have a thinclient ready to use with repetierserver and a 10" Tablet as Touchscreen. But without a modern firmware there no use.

Its not only about me, I´d really like to find a solution to this challenge, because I know there are a lot of poeple who do not want or cant change to klipper, change the whole board etc. I´m installing the old firmware (Marlin 2.0, no Input shaping etc) again and wait some months for someone who´s a bit better in coding than a Schornsteinfeger ;-)

Thanx for your support and please excuse and ignore my lamenting, I´m just a bit frustrated

SyncroSeb commented 9 months ago

@jmz52 @thisiskeithb @EvilGremlin

Thanx to and with a lot of TheThomasD I was able to configure a repo based on his gemini S firmware for my X5SA Pro 446 V6.

Use to your liking. Its roughly configured like the original Marlin example config for the X5SA F103.

https://github.com/SyncroSeb/Marlin-for-Tronxy-X5SA-Pro-446/tree/bugfix-2.1.x-tronxy-X5SAPro-446

thisiskeithb commented 4 months ago

Added in https://github.com/MarlinFirmware/Marlin/pull/26747

github-actions[bot] commented 2 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.