mimxrt685s-pac

Crates.iomimxrt685s-pac
lib.rsmimxrt685s-pac
version0.2.0
sourcesrc
created_at2024-07-08 21:46:11.420941
updated_at2024-11-26 03:25:21.303619
descriptionPeripheral Access Crate for MIMXRT685s devices
homepage
repositoryhttps://github.com/felipebalbi/mimxrt685s-pac
max_upload_size
id1296442
size16,464,437
Felipe Balbi (felipebalbi)

documentation

README

MIMXRT685s Peripheral Access Crate

This crate provides an autogenerated API for access to MIMXRT685s peripherals. The API is generated using svd2rust.

Regenerating the PAC

On a unix-style OS, all you need are these commands:

$ svdtools patch patch/MIMXRT685S_cm33.yaml
$ svd2rust -i svd/MIMXRT685S_cm33.svd.patched --reexport-interrupt --ignore-groups --impl-defmt defmt --impl-debug --impl-debug-feature debug
$ rm -r src/*
$ form -i lib.rs -o src
$ rm lib.rs
$ cargo fmt

On windows you need to replace the / with \ and additionally run dos2unix to convert the line endings, like so:

$ svdtools.exe patch patch/MIMXRT685S_cm33.yaml
$ svd2rust.exe -i svd\MIMXRT685S_cm33.svd.patched --reexport-interrupt --ignore-groups --impl-defmt defmt --impl-debug --impl-debug-feature debug
$ rm -r src\*
$ form -i lib.rs -o src
$ rm lib.rs
$ cargo fmt
$ cd src
$ dos2unix **\*.rs *.rs
Commit count: 35

cargo fmt