Open Diiescher opened 1 year ago
I have the same problem trying to compile a build for my V8 board (Should be the same as a V5 board) I have tried to compile other options as well, but all fail.
Did you find a solution or are you still waiting?
By deleting the file chitu_crypt.py i folder Marlin-tronxy-full-mks-tft\buildroot\share\PlatformIO\scripts I can get a successfull build, but of cause the script is not run and the file update.cbd is not generated.
Did you find a solution or are you still waiting?
still waiting... It looks like this project has been abandoned and unfortunately I am not skilled enough to fix it.
I have the same problem. I am not skilled enough to fix this. I have a X5SA and I can make a build with the example configs but it does not compile correctly. It still does give me an update. cbd file and works but seems sketchy.
What needs to be done to fix this?
here too , any solution ?
Solution is , edit marlin.py and change lines to:
def replace_define(field, value): envdefs = env['CPPDEFINES'].copy() for define in envdefs: if define[0] == field: env['CPPDEFINES'].remove(define) env['CPPDEFINES'].append((field, value))
Great, thanks.
Otherwise, I had success with a non-latest official version of marlin also, with Marlin-2.0.9.7.zip https://codeload.github.com/MarlinFirmware/Marlin/zip/refs/tags/2.0.9.7 , after some "winmerge" of config files. I had to wire UART pins to avoid random motor stops and needed a new compile for changes. Motors are stable since this mod, but linear advance enable is not tested yet, it was my instan-failure flag with my v6 mainboard.
Márcio Carlos @.***> ezt írta (időpont: 2023. dec. 27., Sze, 4:10):
Solution is , edit marlin.py and change lines to:
def replace_define(field, value): envdefs = env['CPPDEFINES'].copy() for define in envdefs: if define[0] == field: env['CPPDEFINES'].remove(define) env['CPPDEFINES'].append((field, value))
— Reply to this email directly, view it on GitHub https://github.com/rhapsodyv/Marlin/issues/54#issuecomment-1869906785, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQU44XYCGYN24VDQOEECHBLYLOGS7AVCNFSM6AAAAAA2IAB3YSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZHEYDMNZYGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
The real reason is that in Marlin/buildroot/share/PlatformIO/scripts/marlin.py the iterated environment is getting modified during the iteration in the replace_define() function, update it as follows and the error will be gone:
def replace_define(field, value):
found_define = None
for define in env['CPPDEFINES']:
if define[0] == field:
found_define = define
break
if found_define:
env['CPPDEFINES'].remove(found_define)
env['CPPDEFINES'].append((field, value))
hi, I hope this is still with maintenance :)
I got my hands on a rather old Tronxy XY2 Pro with a V5 Mainboard and would like to try out Marlin on this thing.
Following this guide (https://github.com/EddyBeaupre/Tronxy-XY2-Pro#restore-stock-tronxy-firmware-and-settings) to the point I only get this result when building
branch: tronxy-full-mks-tft Platform IO: Core 6.1.9·Home 3.4.4 VS Code: Version: 1.80.0 (user setup) OS: Windows_NT x64 10.0.19045