| Crates.io | lpc176x5x-pac |
| lib.rs | lpc176x5x-pac |
| version | 0.1.1 |
| created_at | 2026-01-20 21:58:50.385033+00 |
| updated_at | 2026-01-20 22:20:04.691471+00 |
| description | A Peripheral Access Crate for the NXP LPC176x5x series microcontrollers. |
| homepage | |
| repository | https://github.com/MarshTheBacca/lpc176x5x-pac |
| max_upload_size | |
| id | 2057659 |
| size | 3,880,541 |
Peripheral Access Crate for LPC176x5x MCUs.
This codebase was produced by patching the LPC176x5x_v0.2.svd file (source) and using svd2rust.
The python script modifies hundreds of enums with the same name, ENUM. Unfortunately, this was not possible with svdtools, and an issue has been opened.
The patch.yaml provides a few fixes for duplicate enum variants and other miscellaneous fixes.
uv run patch.py
svdtools patch patch.yaml
svd2rust --edition 2024 -i LPC176x5x_v0.2-python.svd.patched
form -i lib.rs -o src
rm lib.rs
cargo fmt