Crates.io | mimxrt685s-pac |
lib.rs | mimxrt685s-pac |
version | 0.1.5 |
source | src |
created_at | 2024-07-08 21:46:11.420941 |
updated_at | 2024-10-02 15:33:03.712573 |
description | Peripheral Access Crate for MIMXRT685s devices |
homepage | |
repository | https://github.com/felipebalbi/mimxrt685s-pac |
max_upload_size | |
id | 1296442 |
size | 16,544,327 |
This crate provides an autogenerated API for access to MIMXRT685s peripherals. The API is generated using svd2rust.
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