TheThomasD / TronXY-Gemini-S

Improved firmware for Tronxy Gemini S including BLTouch
GNU General Public License v3.0
0 stars 0 forks source link

cannot compile (SOLVED!) #1

Open kkberg opened 1 year ago

kkberg commented 1 year ago

Hello, today a friend asked me to build your firmware and I'm always running into an error grafik It seems to be caused by a library. Any help would be very good. Thank you

TheThomasD commented 1 year ago

Hi @kkberg,

sorry, I didn't document this yet as I wasn't happy with the current setup. Nevertheless, if you want to go with this repo, just checkout https://github.com/TheThomasD/Arduino_Core_STM32_Tronxy_Gemini_S (default branch) and copy the files into the folder userdir\.platformio\packages\framework-arduinoststm32@99.99.99

BTW, this is basically what I did to fix the issue you had: https://github.com/tronxy3d/Gemini/issues/1

However, I'd suggest that you check out https://github.com/TheThomasD/Marlin/tree/2.1.x-tronxy-gemini-s . This version works with the default framework and uses a rather up-to-date Marlin version. Unfortunately, Tronxy didn't want to share the UI source, so you'll have to use the standard Marlin TFT touch UI. Works great, though. In my setup, I added an BLTouch, but you can just disable that.

kkberg commented 1 year ago

Hi @TheThomasD ,

thank you very much for your quick reply. Is it correct that your board has TMC2208? This board is configured from Tronxy with TMC2209. https://github.com/tronxy3d/Gemini They provided this link after complaining problems with eeprom.

Thank you for your great help

TheThomasD commented 1 year ago

Hi @kkberg,

I asked the Tronxy support about the drivers. They told me, that the Gemini uses TMC2225 drivers. https://github.com/tronxy3d/Gemini/blob/gemini/Marlin/Configuration.h (and also the original Marlin repo) clearly says:

Use TMC2208/TMC2208_STANDALONE for TMC2225 drivers and TMC2209/TMC2209_STANDALONE for TMC2226 drivers.

This is why I used TMC2208. Works for me, but maybe you have a newer version?

Also, I just recognized that https://github.com/tronxy3d/Gemini is updated to Marlin 2.1.x. The version I got some time ago was on Marlin 2.0.9.x, so this is why I changed to the "original" Marlin. As the UI that is included in the Tronxy repo is most likely updated to work with Marlin 2.1.x, you might even be able to get the original Tronxy UI to work. Until something changes in Marlin and you want to update and then you are stuck with a potentially incompatible Tronxy UI again... So: I'll stick to the Marlin UI as it is always updated with the rest of the code ;)

kkberg commented 1 year ago

Hi @TheThomasD , okay, that is good to know and that may cause some trouble with print quality. I will stay with your version, seems to make more sence :) . And one more question. You defined 2 Extruders and Trony only one, can you please explain to me? Thank you very much

TheThomasD commented 1 year ago

@kkberg can you provide more info? How does Tronxy define only one extruder? The important part is most likely in here: https://github.com/tronxy3d/Gemini/blob/gemini/Marlin/Configuration_adv.h

#define DUAL_X_CARRIAGE

This implies two extruders...

kkberg commented 1 year ago

@TheThomasD I know and they don't define extruders. That was my issue to understand. grafik

TheThomasD commented 1 year ago

I'll leave this open so that everyone else who has the same issue will find it more quickly, but thanks for closing it.

kkberg commented 1 year ago

grafik makes sence to let it open. after flashing the LCD stopps when calibrating upper left corner. It directly went into calibration mode.

TheThomasD commented 1 year ago

Maybe remove the plastic? For me, I had to touch all the corners and then it worked OK. This is the calibration procedure for the touch screen.

Make sure that you use a versions with BLTouch disabled if you don't have one. Which version are you using? This one or the other repo?

kkberg commented 1 year ago

used this one https://github.com/TheThomasD/Marlin/tree/2.1.x-tronxy-gemini-s and disabled BLTouch