# GigaDevice GD32V

Configuration

  platform = `gd32v`

The GigaDevice GD32V device is a 32-bit general-purpose microcontroller based on the RISC-V core with an impressive balance of processing power, reduced power consumption and peripheral set.

For more detailed information please visit vendor site.

Contents

- Examples

- Debugging

- Stable and upstream versions

- Packages

- Frameworks

- Boards

## Examples

Examples are listed from GigaDevice GD32V development platform repository:

- eval-blink

- arduino-blink

- longan-nano-blink

## Debugging

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

- Tools & Debug Probes

  - External Debug Tools

### Tools & Debug Probes

Supported debugging tools are listed in “Debug” column. For more detailed information, please scroll table by horizontal. You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions.

#### External Debug Tools

Boards listed below are compatible with PIO Unified Debugger but DEPEND ON external debug probe. They ARE NOT READY for debugging. Please click on board name for the further details.

Name | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | ---
GD32VF103V-EVAL | GD32VF103VBT6 | 108MHz | 128KB | 32KB
Sipeed Longan Nano | GD32VF103CBT6 | 108MHz | 128KB | 32KB
Sipeed Longan Nano Lite | GD32VF103C8T6 | 108MHz | 64KB | 20KB
Wio Lite RISC-V | GD32VF103CBT6 | 108MHz | 128KB | 32KB

## Stable and upstream versions

You can switch between stable releases of GigaDevice GD32V development platform and the latest upstream version using platform option in “platformio.ini” (Project Configuration File) as described below.

### Stable

    ; Latest stable version
    [env:latest_stable]
    platform = gd32v
    board = ...

    ; Custom stable version
    [env:custom_stable]
    platform = gd32v@x.y.z
    board = ...

### Upstream

    [env:upstream_develop]
    platform = https://github.com/sipeed/platform-gd32v.git
    board = ...

## Packages

Name | Description
--- | ---
framework-arduino-gd32v | Arduino Wiring-based Framework (GigaDevice GD32V Core)
framework-gd32vf103-sdk | GigaDevice GD32V SDK
tool-gd32vflash | GD32V FLASH TOOLS
tool-openocd-gd32v | OpenOCD for RISC-V GigaDevice GD32V
toolchain-gd32v | GCC for GigaDevice GD32V

Warning

Linux Users:

> - Install “udev” rules 99-platformio-udev.rules

> - Raspberry Pi users, please read this article Enable serial port on Raspberry Pi.

Windows Users:

> Please check that you have a correctly installed USB driver from board manufacturer

## Frameworks

Name | Description
--- | ---
Arduino | Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.
GigaDevice GD32V SDK | GigaDevice GD32VF103 Firmware Library (SDK)

## Boards

Note

- You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer

- For more detailed `board` information please scroll the tables below by horizontally.

### SeeedStudio

Name | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | ---
Wio Lite RISC-V | External | GD32VF103CBT6 | 108MHz | 128KB | 32KB

### Sipeed

Name | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | ---
GD32VF103V-EVAL | External | GD32VF103VBT6 | 108MHz | 128KB | 32KB
Sipeed Longan Nano | External | GD32VF103CBT6 | 108MHz | 128KB | 32KB
Sipeed Longan Nano Lite | External | GD32VF103C8T6 | 108MHz | 64KB | 20KB