6 releases
0.1.5 | Oct 2, 2024 |
---|---|
0.1.4 | Jul 31, 2024 |
#238 in Embedded development
1,392 downloads per month
17MB
474K
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.exe -i svd/MIMXRT685S_cm33.svd --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
On windows you need to replace the /
with \
and additionally run
dos2unix
to convert the line endings, like so:
$ svd2rust.exe -i svd\MIMXRT685S_cm33.svd --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