#api-access

no-std mimxrt685s-pac

Peripheral Access Crate for MIMXRT685s devices

8 releases

0.2.0 Nov 26, 2024
0.1.6 Nov 24, 2024
0.1.5 Oct 2, 2024
0.1.4 Jul 31, 2024

#158 in Embedded development

Download history 23/week @ 2024-08-17 120/week @ 2024-08-24 171/week @ 2024-08-31 222/week @ 2024-09-07 169/week @ 2024-09-14 120/week @ 2024-09-21 360/week @ 2024-09-28 258/week @ 2024-10-05 376/week @ 2024-10-12 760/week @ 2024-10-19 842/week @ 2024-10-26 2762/week @ 2024-11-02 2599/week @ 2024-11-09 1416/week @ 2024-11-16 2154/week @ 2024-11-23 1213/week @ 2024-11-30

8,232 downloads per month

MIT license

16MB
468K 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:

$ 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

Dependencies