-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
[BUG] GD32 MFL cannot build with BINARY_FILE_TRANSFER #27798
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
Comments
I have it building with UBL without issues. |
How about some error messages, something to go on? Provided configs after disabling BINARY_FILE_TRANSFER builds fine. no errors, so not related to UBL |
GD32 support is very new... and is being updated alot. You have to build with very latest Marlin bugfix 2.1.x code. (or servo support will not build) And the very latest arduino mfl code Ie delete .platformio/packages/framework-arduino-mfl to force platformio to grab the latest one or the board wont boot. And the very latest U8glib-HAL library |
Issue with BINARY_FILE_TRANSFER is Marlin/src/feature/binary_stream.h uses variables While mfl has https://github.com/bmourit/ArduinoCore-MFL/blob/main/cores/arduino/CoreHandler.h#L10-L12
So the compiler tries to use the macros and the code becomes a quick fix, Search and replace in Marlin on those 3 defines and adding a BS_ prefix (for binary stream) and it also builds. |
This is a log when compiling with modified Configuration.h , Configuration_adv.h Environment Status Duration GD32F303RE_creality_mfl FAILED 00:00:21.577 |
@Lazar0v you didn't read a word of my replies did you. Please scroll up and read my replies. To recap: You need to wait for #27799 to be merged. |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Marlin GD32 MFL doesn't compile with my configuration files.
Bug Timeline
No response
Expected behavior
Successful build
Actual behavior
Errors with build in various files.
Steps to Reproduce
No response
Version of Marlin Firmware
bugfix-2.1.x
Printer model
Ender-3
Electronics
GD32
LCD/Controller
Stock
Other add-ons
No response
Bed Leveling
UBL Bilinear mesh
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
CrealityV422MFL-PRO.zip
The text was updated successfully, but these errors were encountered: