Skip to content

GD32: Update MFL Platform and Arduino Core - #27830

Merged
thinkyhead merged 8 commits into
MarlinFirmware:bugfix-2.1.xfrom
bmourit:bf2_gd32_platform_update
May 5, 2025
Merged

GD32: Update MFL Platform and Arduino Core#27830
thinkyhead merged 8 commits into
MarlinFirmware:bugfix-2.1.xfrom
bmourit:bf2_gd32_platform_update

Conversation

@bmourit

@bmourit bmourit commented May 1, 2025

Copy link
Copy Markdown
Contributor

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

bnmguy added 2 commits May 3, 2025 16:53
…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
bmourit force-pushed the bf2_gd32_platform_update branch from 980376e to 8304944 Compare May 3, 2025 23:53
@thinkyhead thinkyhead added the T: HAL & APIs Topic related to the HAL and internal APIs. label May 4, 2025
Comment thread Marlin/src/HAL/GD32_MFL/sd/SDCard.cpp Outdated
@thinkyhead
thinkyhead merged commit c9e7d6f into MarlinFirmware:bugfix-2.1.x May 5, 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T: HAL & APIs Topic related to the HAL and internal APIs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants