Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gregdavill/CH32V003-makefile-example

CH32V003 is an ultra-cheap RISC-V MCU with 2KB SRAM, 16KB flash, and up to 18 GPIOs
https://github.com/gregdavill/CH32V003-makefile-example

Last synced: 3 months ago
JSON representation

CH32V003 is an ultra-cheap RISC-V MCU with 2KB SRAM, 16KB flash, and up to 18 GPIOs

Awesome Lists containing this project

README

        

# Basic CH32V003 RISCV Makefile project

Requirements:
- xpack riscv toolchain
Download from releases here, and add to your path.
(https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/latest)

Set up udev rules for WCH link
```
sudo cp ./50-wch.rules /etc/udev/rules.d
sudo udevadm control --reload-rules
```

Make project
```
make
```

# Licence

Unless otherwise stated files are licensed as Apache-2.0

Files under `vendor/` are from openwch (https://github.com/openwch/ch32v003) Licensed under Apache-2.0
Makefile is based on an example here: https://github.com/gregdavill/CH32V307-makefile-example