3 unstable releases
0.2.0 | Dec 20, 2023 |
---|---|
0.1.1 | Oct 2, 2023 |
0.1.0 | Sep 29, 2023 |
#1805 in Embedded development
52 downloads per month
8.5MB
144K
SLoC
JH71xx Peripheral Access Crate
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