switefaster / ch32-rs

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ch32-rs - WCH's CH32 Peripheral Access Crates

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

  • Support CH32V3x/CH32V2x family
  • Support CH32V103x family
  • Toolchains
    • wchisp for Linux/macOS/Windows
  • HAL crate for CH32V3x/CH32V2x family
  • HAL crate for CH32V103x family
  • CHxxx interface or BLE MCUs.
  • Cortex-M MCUs.

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


Languages

Language:Python 69.9%Language:Shell 30.1%