Downloads and manages GD32 development packages, currently the build toolchains (Arm GNU Toolchain, CMake, Ninja, GDLink GDB Server, RISC-V GCC, Nuclei RISC-V GCC). Installed automatically with GD32 DevSuite.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Downloads and manages GD32 development packages for GD32 DevSuite. It currently provides the build toolchains: Arm GNU Toolchain (arm-none-eabi-gcc), CMake, Ninja, GDLink GDB Server, xPack GNU RISC-V Embedded GCC (riscv-none-elf-gcc) and Nuclei RISC-V GCC (riscv-nuclei-elf-gcc).
This extension is installed automatically as part of the GD32 DevSuite extension pack.
Features
Automatic install: on first start, missing tools are downloaded in the background from the GD32 toolchain server, verified with sha256 and installed into %LOCALAPPDATA%\gd32\toolchains\<tool>\<version>\. %LOCALAPPDATA% is never part of a roaming profile.
Path check: if the install directory contains non-ASCII characters or spaces (which break GCC/CMake/Ninja), you are asked to choose another directory first.
Resumable downloads: interrupted downloads resume where they stopped.
Shared by all windows: several VS Code windows share one install and only one window downloads at a time; cancelling in one window stops the others too.
Update prompts: update sites are checked periodically; when a new recommended version is published you are offered to update, and old versions are removed afterwards.
Outside the extension folder: updating either extension never re-downloads the toolchains.
Commands
Command
Description
GD32: Install/Update Toolchain
Install every tool at its recommended version (already installed ones are skipped)
GD32: Open Toolchain Directory
Open the install directory in the file explorer
GD32: Select Toolchain Install Directory...
Pick the install directory in a folder dialog (also available as the Browse... link under the setting)
Notes
This extension can be disabled or uninstalled on its own. GD32 DevSuite keeps working, but toolchains are no longer downloaded or updated automatically; maintain the tool paths in GD32 DevSuite's tool path configuration yourself.
Uninstalling this extension does not delete installed toolchains.