Peripheral access crates for the Broadcom microprocessors used in the Raspberry Pi boards.
This repository contains the PACs for the following MCUs:
These crates are generated by svd2rust
from the
SVD files
in
abt8601/broadcom-peripherals
,
which are based on those in
adafruit/broadcom-peripherals
.
(The SVD files in these two repositories are identical,
save that those in the former has the missing tags required by svd2rust
.)
- Rust toolchain with
cargo
andrustfmt
svd2rust
form
(≥ 0.11 is required for the generated crates to be compilable on Windows.)
Also, the submodule peripherals
must be checked out.
To generate the PAC for a particular MCU, run:
./gen.sh <mcu_name>
where <mcu_name>
is one of bcm2835
, bcm2837
, or bcm2711
.