Skip to content
forked from ch32-rs/ch32-rs

Embedded Rust device crates for WCH's RISC-V and Cortex-M microcontrollers

Notifications You must be signed in to change notification settings

Slappy2022/ch32-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ch32-rs - WCH's CH32 Peripheral Access Crates

crates.io crates.io crates.io crates.io crates.io crates.io crates.io

Embedded Rust device crates for WCH's RISC-V and Cortex-M microcontrollers.

Roadmap

Development

# Do not use rust version of svdtools
pip install svdtools

# install xmlint

cargo install svd2rust

./scripts/generate.sh && ./scripts/update.sh

MCU list

NOTE: Will never support 8-bit MCUs.

Subdivision

  • D6: Low-and-medium-density general
  • D8: High-density general
  • D8C: Connectivity or interconnectivity
  • D8W: Wireless

RISC-V

Nick name: "赤菟"(Chitu). IP Core brand: 青稞(Qingke).

  • CH32V103x Qingke-V3A RV32IMAC
  • CH32V203x Qingke-V4B Hardware Interrupt stack
  • CH32V208x Qingke-V4C Hardware division, memory protect
  • CH32V303x/305x/307x Qingke-V4F Hardware floating point
  • CH56x: RISC-V3A
  • CH571, CH573: RISC-V3A BLE
  • CH58x: RISC-V3A BLE
CH32V20x_D6: CH32V203F6, CH32V203G6, CH32V203K6, CH32V203K8, CH32V203C6 and CH32V203C8. CH32V20x_D8: CH32V203RB.
CH32V20x_D8W: CH32V208GB, CH32V208CB, CH32V208RB and CH32V208WB.
CH32V30x_D8: CH32V303CB, CH32V303RB, CH32V303RC and CH32V303VC.
CH32V30x_D8C: CH32V305FB, CH32V305RB, CH32V307RC, CH32V307WC and CH32V307VC.

Cortex-M

CH32F20x_D6: CH32F203K8, CH32F203C6 and CH32F203C8.
CH32F20x_D8: CH32F203CB, CH32F203RC and CH32F203VC.
CH32F20x_D8C: CH32F205RB and CH32F207VC.
CH32F20x_D8W: CH32F208RB and CH32F208WB.

Toolchain

Ref

About

Embedded Rust device crates for WCH's RISC-V and Cortex-M microcontrollers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.6%
  • Shell 33.8%
  • Dockerfile 3.6%