12 unstable releases (3 breaking)

0.4.0 Mar 14, 2025
0.3.0 Feb 14, 2025
0.2.2 Feb 3, 2025
0.2.1 Jan 27, 2025
0.1.4 Jul 31, 2024

#522 in Embedded development

Download history 249/week @ 2024-12-22 201/week @ 2024-12-29 230/week @ 2025-01-05 315/week @ 2025-01-12 271/week @ 2025-01-19 820/week @ 2025-01-26 691/week @ 2025-02-02 5434/week @ 2025-02-09 1100/week @ 2025-02-16 4056/week @ 2025-02-23 3199/week @ 2025-03-02 2348/week @ 2025-03-09 1555/week @ 2025-03-16 3970/week @ 2025-03-23 9736/week @ 2025-03-30 7258/week @ 2025-04-06

22,577 downloads per month

MIT license

16MB
468K SLoC

MIMXRT685s Peripheral Access Crate

no-std check LICENSE

This crate provides an autogenerated API for access to NXP 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