Skip to content

Peripheral access crates for the Broadcom microprocessors used in the Raspberry Pi boards

License

Notifications You must be signed in to change notification settings

abt8601/raspi-pacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspi-pacs

crates.io docs.rs

crates.io docs.rs

crates.io docs.rs

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.)

Generating the Crates

Prerequisites

  • Rust toolchain with cargo and rustfmt
  • svd2rust
  • form (≥ 0.11 is required for the generated crates to be compilable on Windows.)

Also, the submodule peripherals must be checked out.

Generating

To generate the PAC for a particular MCU, run:

./gen.sh <mcu_name>

where <mcu_name> is one of bcm2835, bcm2837, or bcm2711.

About

Peripheral access crates for the Broadcom microprocessors used in the Raspberry Pi boards

Topics

Resources

License

Stars

Watchers

Forks

Languages