#api-access

no-std mimxrt685s-pac

Peripheral Access Crate for MIMXRT685s devices

7 releases

new 0.1.6 Nov 24, 2024
0.1.5 Oct 2, 2024
0.1.4 Jul 31, 2024

#170 in Embedded development

Download history 215/week @ 2024-08-04 130/week @ 2024-08-11 30/week @ 2024-08-18 119/week @ 2024-08-25 167/week @ 2024-09-01 221/week @ 2024-09-08 168/week @ 2024-09-15 140/week @ 2024-09-22 368/week @ 2024-09-29 234/week @ 2024-10-06 401/week @ 2024-10-13 733/week @ 2024-10-20 864/week @ 2024-10-27 2751/week @ 2024-11-03 2593/week @ 2024-11-10 1410/week @ 2024-11-17

7,620 downloads per month

MIT license

16MB
467K 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