#peripheral #access #target

betrusted-pac

Peripheral Access Crate for Betrusted

1 unstable release

Uses old Rust 2015

0.0.1 Jan 15, 2020

#164 in #peripheral

Apache-2.0

460KB
12K SLoC

  1. Build the svd file: python .\betrusted-soc.py -D --lx-ignore-deps
  2. svd2rust --target riscv -i ../../build/software/soc.svd
  3. Expand the resulting lib.rs into component files: rm -rf src; form -i lib.rs -o src/; rm lib.rs
  4. (optional) reformat the files: cargo fmt

You are now ready to use the crate.

Dependencies

~2.5MB
~53K SLoC