GD32: Update MFL Platform and Arduino Core - #27830
Merged
thinkyhead merged 8 commits intoMay 5, 2025
Merged
Conversation
…troduces C++23 best practices for coding style that required similar changes in this HAL. It also intoduced a Pin-Port compile time map for very fast I/O (~52 bytes). Other optimizations were made to reduced code size so that this map is essentially free. We now make use of it in the Marlin HAL. Other changes include a GPIO speed compensation bug fix, updating MFL function use to not use deprecated functions, etc.
bmourit
force-pushed
the
bf2_gd32_platform_update
branch
from
May 3, 2025 23:53
980376e to
8304944
Compare
thinkyhead
reviewed
May 4, 2025
EvilGremlin
pushed a commit
to EvilGremlin/Marlin
that referenced
this pull request
May 15, 2025
rommo911
pushed a commit
to rommo911/Marlin-e3v2
that referenced
this pull request
Sep 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The latest Arduino core introduces C++23 best practices for coding style that required similar changes in this HAL. It also introduced a Pin-Port compile time map for very fast I/O (~52 bytes). Other optimizations were made to reduced code size so that this map is essentially free. We now make use of it in the Marlin HAL. Other changes include a GPIO speed compensation bug fix, updating MFL function use to not use deprecated functions, board name change from 422->V4 for reuse with other boards in the V4.x.x series, etc.
Requirements
GD32 MFL Board
Benefits
Improved I/O speed, code safety, and bug fixes.
Configurations
N/A
Related Issues
N/A