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.
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.
- cargo-fmt
- pydevicetree
- svd2rust
To regenerate/update the Rust code:
./scripts/regen.sh