Skip to content

playfultechnology/ch32v003

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

ch32v003

Notes and code for CH32V003 RISC-V board from WCH. There is an Arduino boards definition available at https://github.com/openwch/board_manager_files/raw/main/package_ch32v_index.json but I had problems getting it to work, so instead I'm using the lightweight CH32Fun IDE instead.

Hardware

Connect 3.3V, GND, SWDIO to VCC, GND, and P01

Software

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
  • Then run the CH32Fun install script from the /misc subfolder
.\install_xpack_gcc.ps1
  • To test, build any example by changing to the examples directory
make

The makefile will compile the code and should include a step to copy it to the board, but didn't seem to work, so I also installed WCH-LinkUtility from https://www.wch.cn/downloads/WCH-LinkUtility_ZIP.html

Select the .bin file generated in the last step, and upload it to the chip. That's it!

About

Notes and code for CH32V003 RISC-V board from WCH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published