百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

arduino_core_ch32

> 编程语言
开源

CH32duino 核心库

394 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

CH32duino 核心库

Arduino core support for CH32 EVT Boards

  • Introduction

  • How to use

  • Supported boards

  • OS support

  • Submit bugs

Introduction

This repo adds the support of CH32 MCU in Arduino IDE.

The file includes:

  • Arduino_Core_CH32:Public library files.
  • openocd:can directly use WCH-LINKE to download and debug wch chips.
  • riscv-none-embed-gcc:A toolchain that supports WCH custom half word and byte compression instruction extensions and hardware stack push/pop functions.

How to use

You can add this software package directly on the IDE through the Arduino Boards Manager.

Add the following link in the "Additional Boards Managers URLs" field:

https://github.com/openwch/board_manager_files/raw/main/package_ch32v_index.json

Then you can search for "wch" through the "board manager", find the installation package, and install it.

Supported boards

It will be a long-term support and maintenance project, unless we encounter force majeure factors.The current version supports the following development boards:

  • CH32V00x EVT Boards
  • CH32V10x EVT Boards
  • CH32V20x EVT Boards
  • CH32V30x EVT Boards
  • CH32X035 EVT Boards

CH32V00x EVT Boards

Status Boards name Peripherals Release Notes
:heavy_check_mark: CH32V003F4P ADC,DAC,USART,GPIO,EXTI,SysTick 1.0.0 SPI,I2C_Master since 1.0.2

CH32V20x EVT Boards

Status Boards name Peripherals Release Notes
:heavy_check_mark: CH32V203G8U ADC,DAC,USART,GPIO,EXTI,SysTick 1.0.0 SPI,I2C_Master since 1.0.2

CH32X035 EVT Boards

Status Boards name Peripherals Release Notes
:heavy_check_mark: CH32X035G8U ADC,DAC,USART,GPIO,EXTI,SysTick 1.0.1 SPI,I2C_Master since 1.0.2

CH32V10x EVT Boards

Status Boards name Peripherals Release Notes
:heavy_check_mark: CH32V103R8T6_BLACK ADC,DAC,USART,GPIO,EXTI,SysTick,SPI,I2C_Master 1.0.3 -

CH32V30x EVT Boards

Status Boards name Peripherals Release Notes
:heavy_check_mark: CH32V307VCT6_BLACK ADC,DAC,USART,GPIO,EXTI,SysTick,SPI,I2C_Master 1.0.3 -

OS support

Adopting toolchain and openocd under MRS, supporting HPE, custom byte and half-word compression extensions,"upload" via WCH_LINKE.

Most importantly, the version of Arduino IDE is 2.0+.

Win

If you encounter an error during upload, please confirm that the version of your WCH-LINKE is consistent with the latest version under MRS. WCH-LINKE related information can refer to this link.

Linux

For Linux, after installing the support package for the first time, to ensure the normal upload function, please open the packages installation path of the Arduino IDE, run the script, and automatically configure the environment.

Usually, it can be operated as follows:

bash
cd ~/.arduino15/packages/WCH/tools/beforeinstall/1.0.0
./start.sh

After authorization, it will copy or generate some necessary libraries and rules:

Copy Libs
[sudo] password for temperslee: 
Register new Libs
copy rules
Reload rules
DONE

MAC

For MAC, please install the "libusb" library before starting to use it.

bash
brew install libusb

If "libusb" related errors still occur when "uploading" firmware after installing the libusb library, please contact the MRS team for assistance through "[email protected]".

Submit bugs

If you have any questions, you could contact me through the email "[email protected]". Or you could file an issue on GitHub.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言