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.
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.
It will be a long-term support and maintenance project, unless we encounter force majeure factors.The current version supports the following development boards:
Status | Boards name | Peripherals | Release | Notes |
---|---|---|---|---|
✔️ | CH32V003F4P | ADC,DAC,USART,GPIO,EXTI,SysTick | 1.0.0 | SPI,I2C_Master since 1.0.2 |
Status | Boards name | Peripherals | Release | Notes |
---|---|---|---|---|
✔️ | CH32V203G8U | ADC,DAC,USART,GPIO,EXTI,SysTick | 1.0.0 | SPI,I2C_Master since 1.0.2 |
Status | Boards name | Peripherals | Release | Notes |
---|---|---|---|---|
✔️ | CH32X035G8U | ADC,DAC,USART,GPIO,EXTI,SysTick | 1.0.1 | SPI,I2C_Master since 1.0.2 |
Status | Boards name | Peripherals | Release | Notes |
---|---|---|---|---|
✔️ | CH32V103R8T6_BLACK | ADC,DAC,USART,GPIO,EXTI,SysTick,SPI,I2C_Master | 1.0.3 | - |
Status | Boards name | Peripherals | Release | Notes |
---|---|---|---|---|
✔️ | CH32V307VCT6_BLACK | ADC,DAC,USART,GPIO,EXTI,SysTick,SPI,I2C_Master | 1.0.3 | - |
If you have any questions, you could contact me through the email "yy@wch.cn". Or you could file an issue on GitHub.