Crates.io | edc2svd |
lib.rs | edc2svd |
version | 0.5.0 |
source | src |
created_at | 2019-02-27 06:01:42.592727 |
updated_at | 2023-10-02 07:23:40.697033 |
description | Convert register description from the EDC format to the SVD format |
homepage | |
repository | https://github.com/kiffie/edc2svd |
max_upload_size | |
id | 117508 |
size | 20,387 |
Convert an MCU register description from the EDC format to the SVD format
EDC files are used to describe the special function registers of PIC32 microcontrollers. An SVD file generated by this program can be used to generate Peripheral Access Crates to be used in Rust programs.
In addition, the output of this program can be used with Ghidra via the SVD-Loader-Ghidra plugin.
First, an EDC file is converted with this tool to an SVD file. Then svd2rust
can be used to generate the Peripheral Access Crate as follows:
edc2svd PIC32MX170F256B.PIC PIC32MX170F256B.svd
svd2rust --target none -i PIC32MX170F256B.svd
rm -rf src
form -i lib.rs -o src/ && rm lib.rs
cargo fmt
$ cargo install edc2svd