No description
Find a file
DC_RedStone f187ac13a1
Add support for CH32V203C8 and CH32V203C6 (#23)
* Update package.json

* Fix multiple build warnings and errors

* Fix multiple build warnings and errors

* Add PlatformIO builder script

* Fix build with mac toolchain, wtf?

* Add support for CH32V203C6 and CH32V203C6

* fix some warnings

---------

Co-authored-by: Maximilian Gerhardt <maximilian.gerhardt@rub.de>
2023-10-09 09:54:30 +08:00
cores/arduino Add support for CH32V203C8 and CH32V203C6 (#23) 2023-10-09 09:54:30 +08:00
libraries add V10x and V30x 2023-07-26 17:13:31 +08:00
system add V10x and V30x 2023-07-26 17:13:31 +08:00
tools Add support for CH32V203C8 and CH32V203C6 (#23) 2023-10-09 09:54:30 +08:00
variants Add support for CH32V203C8 and CH32V203C6 (#23) 2023-10-09 09:54:30 +08:00
.gitignore Add support for CH32V203C8 and CH32V203C6 (#23) 2023-10-09 09:54:30 +08:00
boards.txt Add support for CH32V203C8 and CH32V203C6 (#23) 2023-10-09 09:54:30 +08:00
package.json Add support for CH32V203C8 and CH32V203C6 (#23) 2023-10-09 09:54:30 +08:00
platform.txt V1.0.2 2023-07-05 15:47:46 +08:00
programmers.txt first release 2023-05-30 17:55:50 +08:00
README.md add V10x and V30x 2023-07-26 17:13:31 +08:00

Arduino core support for CH32 EVT Boards

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

Status Boards name Peripherals Release Notes
✔️ 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
✔️ 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
✔️ 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
✔️ CH32V103R8T6_BLACK ADC,DAC,USART,GPIO,EXTI,SysTick,SPI,I2C_Master 1.0.3 -

CH32V30x EVT Boards

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

Submit bugs

If you have any questions, you could contact me through the email "yy@wch.cn". Or you could file an issue on GitHub.