platformio / platformio/platformio-core

Add Support for GigaDevice GD32F and GD32E chips

Open
#3,927 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

board feature framework
Dominant language
Python
Stars
9.5k
Forks
905
Avg merge
2d 13h
Merged PRs (30d)
2

Description

What kind of issue is this?

  • Feature Request.
    Start by telling us what problem you’re trying to solve. Often a solution
    already exists! Don’t send pull requests to implement new features without first getting our
    support. Sometimes we leave features out on purpose to keep the project small.

See https://www.gigadevice.com/products/microcontrollers/gd32/ and catalog for GD32 ARM-type chips. GD32V (RISC-V based) chips are already supported, but not the GD32F (Cortex-M3 and Cortex-M4) and GD32E (Cortex-M23, Cortex-M33 and entry-level Cortex-M4).

The chip vendor supplies its own STM32-like Simple Peripheral Library (SPL) framework as development tool, see http://www.gd32mcu.com/en/download/7?kw=

I currently support the GD32F130C6 and -C8 versions at https://github.com/maxgerhardt/pio-gd32f130c6 with the vendor's SPL pacakge, as maxgerhardt/framework-spl@2.10301.0 (aka combination of GD32F1x0_Firmware_Library_v3.1.0 and GD32F10x_Firmware_Library_V2.1.2 from vendor), and the GD32F103RC chip (with the same SPL version) under https://github.com/maxgerhardt/pio-gd32f103, but official support would be good.

I don't fully understand the chips but it might be that the GD32F103xx chips are exact clones of the STM32F103x chips, which also means they would implicitly be supported by the Arduino-STM32 core. For other chips like the GD32F130x series, I did not find a correlation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing GD32V support and the linked GD32F130C6, GD32F103, Arduino-STM32, and vendor SPL references. Determine the scope of official support for GD32F and GD32E families, then verify that the supported chips build using the vendor's SPL framework.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino
Domain
build-system, embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.