-
Notifications
You must be signed in to change notification settings - Fork 80
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
[BUG] Can't compile firmware for Creality V4.5.2 #353
Comments
This is a known issue as there were changes in some of the syntax for compilation that prevents the older Marlin code from compiling with the latest platformIO. To fix this, you must do the following: You edit marlin.py in the following folder: buildroot/share/PlatformIO/scripts/marlin.py Go to line 19 for the following: def replace_define(field, value): Edit and replace the second line with the two lines as shown below: def replace_define(field, value): Save that and you can now compile the CF6.1 source. |
I did replace the Marlin.py file with the recommended one. I was able to get it to compile by deleting the .platformio folder in my C drive and reinstalling the extension. Thank you for your help though. |
Another issue has come up When I select reset factory settings, the screen freezes and I have to hard reset the machine, I haven't changed the files beyond replacing the Marlin.py and setting my motherboard in platform io. If I use precompiled firmware, this issue goes away. |
Which screen firmware do you have? You should have the firmware bundled from one of the 6.1 firmwares or the re-factored firmware for it to be compatible. What are you changing in the Configuration.h? |
I'm currently using the refactored screen firmware. I haven't changed anything in configuration.h other than using the 4.5.2 config provided in the source code file. |
The goal for changing it is to inverse the extruder stepper cables for the LMG lite and to stop the heaters from turning off when leveling. |
Did you test the latest
extui
code or prerelease?Yes, and the problem still exists.
Bug Description
Trying to compile firmware, getting error:
Warning!
src_filter
configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_build_flags
configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please usebuild_src_flags
insteadWarning!
src_filter
configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadProcessing STM32F103RET6_creality (platform: ststm32@~12.1; board: genericSTM32F103RE; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------MissingPackageManifestError: Could not find one of 'package.json' manifest files in the package
Bug Timeline
n/a
Expected behavior
Firmware to compile successfully
Actual behavior
Firmware is failing with this error:
Warning!
src_filter
configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_build_flags
configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please usebuild_src_flags
insteadWarning!
src_filter
configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadWarning!
src_filter
configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please usebuild_src_filter
insteadProcessing STM32F103RET6_creality (platform: ststm32@~12.1; board: genericSTM32F103RE; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------MissingPackageManifestError: Could not find one of 'package.json' manifest files in the package
Marlin-2.0.8.1-cr6-community-release-6.1.zip
Steps to Reproduce
Version of CR6Community Firmware
6.1
Printer model
Creality CR-6 SE
Motherboard
Creality v4.5.2
Display
Creality CR-6 stock touch screen
Mods
Microswiss hotend
Add-ons
No response
Bed Leveling
ABL Bilinear mesh
Your Slicer
Prusa Slicer
Host Software
None
The text was updated successfully, but these errors were encountered: