#pac #mpfs #polarfire #no-alloc

no-std mpfs-pac

Peripheral Access Crate for PolarFire SoC

2 releases

0.1.1 Dec 8, 2024
0.1.0 Dec 8, 2024

#423 in Hardware support

Download history 70/week @ 2024-12-02 255/week @ 2024-12-09

325 downloads per month
Used in mpfs-hal

MIT license

2.5MB
47K SLoC

C 45K SLoC // 0.2% comments GNU Style Assembly 864 SLoC // 0.3% comments Python 445 SLoC // 0.3% comments Rust 197 SLoC // 0.4% comments Shell 4 SLoC // 0.3% comments

MPFS PAC

This is a Peripheral Access Crate (PAC) for the Microchip PolarFire SoC. It is build on the Mirochip-provided platform and bindgen.

Currently only the BeagleV-Fire board is supported, but adding new boards is a matter of adding the board-specific files to the mpfs-platform/boards directory and enabling it through a feature flag in build.rs.

TODO

There's lots of functionality in platform that isn't yet exposed, either because they are static functions, or defines that aren't recognized by bindgen.

The docs for this crate are a broken, presumably due to some bindgen issue.

Dependencies

~0.5–3.5MB
~66K SLoC