Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xmc-rs/xmc4200
Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust
https://github.com/xmc-rs/xmc4200
cortex-m infineon rust-lang svd2rust xmc
Last synced: 9 days ago
JSON representation
Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust
- Host: GitHub
- URL: https://github.com/xmc-rs/xmc4200
- Owner: xmc-rs
- License: mit
- Created: 2017-10-02T03:32:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T16:16:52.000Z (12 days ago)
- Last Synced: 2024-10-23T22:24:23.736Z (12 days ago)
- Topics: cortex-m, infineon, rust-lang, svd2rust, xmc
- Language: Rust
- Size: 6.69 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- rust-embedded - `xmc4200` - [![crates.io](https://img.shields.io/crates/v/xmc4200.svg)](https://crates.io/crates/xmc4200) (Peripheral Access Crates / XMC)
- awesome-embedded-rust - `xmc4200` - [![crates.io](https://img.shields.io/crates/v/xmc4200.svg)](https://crates.io/crates/xmc4200) (Peripheral Access Crates / XMC)
README
# xmc4200
> THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED
[![crates.io](https://img.shields.io/crates/v/xmc4200.svg)](https://crates.io/crates/xmc4200)
[![rust](https://github.com/xmc-rs/xmc4200/workflows/Rust/badge.svg)](https://github.com/xmc-rs/xmc4200/workflows/Rust/badge.svg)This is a 'peripheral access crate' for interfacing to the XMC4200 series of microcontrollers for embedded support in Rust that is generated using [svd2rust](https://docs.rs/svd2rust) and an SVD file provided by Infineon.
The features of `rt` and `critical-section` have been enabled by default.
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
```