3 unstable releases
new 0.2.1 | Feb 3, 2025 |
---|---|
0.2.0 | Feb 3, 2025 |
0.1.0 | Jan 31, 2025 |
#757 in Embedded development
387 downloads per month
17MB
473K
SLoC
MIMXRT633S Peripheral Access Crate
This crate provides an autogenerated API for access to NXP MIMXRT633s peripherals. The API is generated using svd2rust.
Regenerating the PAC
On a unix-style OS, all you need are these commands:
$ svdtools patch patch/MIMXRT633S.yaml
$ svd2rust -i svd/MIMXRT633S.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/MIMXRT633S.yaml
$ svd2rust.exe -i svd\MIMXRT633S.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