Skip to content

update uart pins for GD32 MFL version of Creality V422 and V427 - #28011

Merged
thinkyhead merged 1 commit into
MarlinFirmware:bugfix-2.1.xfrom
ellensp:update-GD32-MFL-UART's
Sep 6, 2025
Merged

update uart pins for GD32 MFL version of Creality V422 and V427#28011
thinkyhead merged 1 commit into
MarlinFirmware:bugfix-2.1.xfrom
ellensp:update-GD32-MFL-UART's

Conversation

@ellensp

@ellensp ellensp commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

Description

In Build env that use GD32 MFL the UARTs are numbered from 0, while the STM32 they are numbered from 1

On boards like the Creality V422 and V427 which can come with stm32 or gd32 chips this causes the incorrect LCD_SERIAL port to bet set and the UART checks to be off by one when a gd32 is used

Updated the auto setting of LCD_SERIAL to 2 for motherboards CREALITY_V422_GD32_MFL and CREALITY_V427_GD32_MFL

Updated the uart pins in pins_CREALITY_V4.h to change for the GD32 MFL version.

Requirements

CREALITY_V422_GD32_MFL or CREALITY_V427_GD32_MFL
using LCD_SERIAL_PORT

Benefits

Correct LCD_SERIAL_PORT is selected, correct uart tests are performed.

Related Issues

  • [BUG] Ender 3 V2 GD32F303RET6 No Display #28010
  • @ellensp ellensp added this to the Version 2.1.3 milestone Aug 14, 2025
    @thisiskeithb thisiskeithb linked an issue Aug 21, 2025 that may be closed by this pull request
    1 task
    @thinkyhead
    thinkyhead merged commit e80d8e9 into MarlinFirmware:bugfix-2.1.x Sep 6, 2025
    67 checks passed
    @ellensp
    ellensp deleted the update-GD32-MFL-UART's branch September 7, 2025 02:54
    bsdnomad pushed a commit to bsdnomad/Marlin that referenced this pull request Sep 25, 2025
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    [BUG] Ender 3 V2 GD32F303RET6 No Display

    2 participants