Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
/ jh71xx-pac Public archive

Peripheral access crate for JH71xx-based devices

License

Notifications You must be signed in to change notification settings

rmsyn/jh71xx-pac

Repository files navigation

crates.io crates.io Build Status

JH71xx Peripheral Access Crate

NOTE Development has moved to Codeberg: https://codeberg.org/weathered-steel/jh71xx-pac

Low-level access crates for JH71xx-based SoCs. Currently, only the JH7110 SoC is supported.

The JH7100 SoC is discontinued, and the next SoC in the JH-series will be the JH8110.

WARNING This crate is in the very earliest stages of development. SVD files used to generate the Rust code are partially hand-crafted from referencing the JH7110 Technical Reference Manual, preliminary release V2. Any mistakes are my own, and reviews/contributions are welcome.

Generating Rust Code from SVD

Code generation uses a modified fork of the cmsis-svd-generator tool from SiFive, with patches to generate StarFive peripherals.

Until changes are upstreamed, a development revision can be cloned from rmsyn/cmsis-svd-generator#dev. The tool requires pydevicetree to be installed in your python environment.

Requirements:

  • cargo-fmt
  • pydevicetree
  • svd2rust

To regenerate/update the Rust code:

./scripts/regen.sh

About

Peripheral access crate for JH71xx-based devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages