Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xmc-rs/xmc4300
XMC4300 Peripheral interface library generated from an SVD
https://github.com/xmc-rs/xmc4300
arm cortex-m infineon rust-lang svd2rust xmc
Last synced: 15 days ago
JSON representation
XMC4300 Peripheral interface library generated from an SVD
- Host: GitHub
- URL: https://github.com/xmc-rs/xmc4300
- Owner: xmc-rs
- License: mit
- Created: 2017-10-17T02:32:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T05:30:15.000Z (about 1 month ago)
- Last Synced: 2024-11-24T13:36:36.180Z (18 days ago)
- Topics: arm, cortex-m, infineon, rust-lang, svd2rust, xmc
- Language: Rust
- Size: 6.79 MB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- rust-embedded - `xmc4300` - [![crates.io](https://img.shields.io/crates/v/xmc4300.svg)](https://crates.io/crates/xmc4300) (Peripheral Access Crates / XMC)
- awesome-embedded-rust - `xmc4300` - [![crates.io](https://img.shields.io/crates/v/xmc4300.svg)](https://crates.io/crates/xmc4300) (Peripheral Access Crates / XMC)
README
# xmc4300
> THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED
[![crates.io](https://img.shields.io/crates/v/xmc4300.svg)](https://crates.io/crates/xmc4300)
[![rust](https://github.com/xmc-rs/xmc4300/workflows/Rust/badge.svg)](https://github.com/xmc-rs/xmc4300/workflows/Rust/badge.svg)This is a 'peripheral access crate' for interfacing to the XMC4300 series of microcontrollers for embedded support in Rust that is generated using [svd2rust](https://docs.rs/svd2rust) and an SVD file provided by Infineon.
All API's and usage (besides what registers exist) are defined by [svd2rust](https://docs.rs/svd2rust)
## Generate Crate from SVD
```bash
# Necessary 3rd-party tools
cargo install svd2rust
cargo install form
rustup component add rustfmtsvd.sh # Generates code from crate and formats to rustfmt
```The inclusion of EtherCAT has been removed from `src/lib.rs`. This is due to an issue either with the SVD file or the generation of the code using svd2rust. There is no support at this time until a fix can be made. This has not been tested on hardware to ensure that nothing else has been impacted.