#api-access

no-std mimxrt685s-pac

Peripheral Access Crate for MIMXRT685s devices

5 releases

0.1.4 Jul 31, 2024
0.1.3 Jul 24, 2024
0.1.2 Jul 11, 2024
0.1.1 Jul 8, 2024
0.1.0 Jul 8, 2024

#360 in Embedded development

Download history 159/week @ 2024-07-03 340/week @ 2024-07-10 14/week @ 2024-07-17 346/week @ 2024-07-24 304/week @ 2024-07-31 244/week @ 2024-08-07 33/week @ 2024-08-14 71/week @ 2024-08-21 76/week @ 2024-08-28

460 downloads per month

MIT license

16MB
454K SLoC

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:

$ svd2rust -i svd/MIMXRT685S_cm33.svd --reexport-interrupt --ignore-groups
$ rm -r src/*
$ form -i lib.rs -o src
$ rm lib.rs
$ cargo fmt
$ cd src

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

$ svd2rust -i svd\MIMXRT685S_cm33.svd --reexport-interrupt --ignore-groups
$ rm -r src\*
$ form -i lib.rs -o src
$ rm lib.rs
$ cargo fmt
$ cd src
$ dos2unix **\*.rs *.rs

Dependencies