-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not compile (anymore?) #54
Comments
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. |
still waiting... |
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): |
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
<#54 (comment)>,
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:
|
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
The text was updated successfully, but these errors were encountered: