适用于 CH32V003 RISC-V 微控制器的 Arduino 核心
This is a new Arduino Core for the CH32V003 series of microcontrollers.
It is based on the work from CNLohr/ch32v003fun.
CH32V003 series is based on QingKe RISC-V2A core design of industrial-grade general-purpose microcontroller, support 48MHz system main frequency, with wide voltage, 1-wire serial debug interface, low-power consumption, ultra-small package, etc. CH32V003 series built-in a group of DMA controller, a group of 10-bit ADC, a group of op-amp comparators, multiple timers and standard communication interfaces USART, I2C, SPI, etc.
Use the following board manager URL under Preferences → Additional Board Manager URLs to install the core:
https://alexandermandera.github.io/arduino-wch32v003/package_ch32v003_index.json
Install the "WCH Boards" platform inside the Board Manager.
For Windows users that use the WCH-LinkE programmers, follow the additional steps in the Wiki.
This core is currently in development and is not prepared to handle
every aspect that Arduino Core provides. Several peripheral implementations
are work-in-progress but examples from ch32v003fun can always be used inside the Arduino IDE.
All major operating systems (Windows, Linux, macOS) for most CPU architectures (amd64, arm64, armhf) should be supported.
The version of the Arduino Board Manager package will be updated after major additions or changes
to the Core which will correspond to the master branch.
Pre-release or untested changes are made inside the develop branch.
What does work:
delay/delayMicrosecondsmillis() / micros() (untested)pinMode/digitalWrite/digitalReadWork in Progress:
Wire.h implementationTo be Done:
Thanks to the following projects that make this project possible:
ArduinoCore-API by the Arduino Team is licensed under the LGPL-2.1 LicenseCH32V003 SDK by OpenWCH is used as a reference (and for information inside this README).ch32v003fun by CNLohr is used for the basic toolchain, bootstrap code and flashing utility.ArduinoCore-ch58x by Electronic Cats as a reference on how to create an Arduino Core for WCH platform.暂无开放 Issues,或尚未同步最近议题。